Objects are represented by . . . . . . . . variables and . . . . . . . . properties.
A. Private, Public
B. Public, Private
C. Protected, Public
D. Protected, Private
Select an option to see the answer and solution.
What is wrong with the following if-else structure?
If intQuantity > 5 Then
dblDiscountRate = .1
Else
dblDiscountRate = .05
End If
A. No error
B. Conditions not in brackets
C. No ; after statements
D. 'Then' should have been 'then'
Select an option to see the answer and solution.
The variable can be a declared by . . . . . . . .statement .
A. dim
B. var
C. $
D. none of these.
Select an option to see the answer and solution.
Which of the following declares a two-dimensional array that has three rows and four columns?
A. Dim decNums(2, 3) As Decimal
B. Dim decNums(3, 4) As Decimal
C. Dim decNums(3, 2) As Decimal
D. Dim decNums(4, 3) As Decimal
Select an option to see the answer and solution.
To create menu on MDI form, we have to select . . . . . . . .
A. view code
B. menu editor
C. images
D. lock control
Select an option to see the answer and solution.
The purpose of . . . . . . . . is to process code at one or more regular intervals.
A. Timer control
B. Process control
C. Code editor
D. Interval control
Select an option to see the answer and solution.
And operator checks both the sub-conditions whereas OrElse operator does . . . . . . . .
A. Short-circuit evaluation
B. Short-hand evaluation
C. Short evaluation
D. Circuit evaluation
Select an option to see the answer and solution.
What will be the content of Text after the code is executed with id=4?
If id==1 Then
Text="Janet";
Elseif id==2 OrElse id==3 Then
Text="Mark"
ElseIF id==4 Then
Text="Jerry"
Else
Text="Sue ";
EndIf
A. Janet
B. Mark
C. Jerry
D. Sue
Select an option to see the answer and solution.
The . . . . . . . . argument contains the message to display inside the dialog box.
A. defaultResponse
B. prompt
C. title
D. message
Select an option to see the answer and solution.
The Project Explorer is used to show quick reference to the various elements of a project namely form, classes and modules
Select an option to see the answer and solution.
frame is used to differentiate the one radio button group to another radio button group.
Select an option to see the answer and solution.
What will be the content of num, after code execution; if before code execution num has value 1000?
If num<=100
num=num*2;
ElseIf num>500
Num=num*3;
Endif
Select an option to see the answer and solution.
An array is declared using the statement Dim inventory(4) As Product. Which of the following statements assigns the number 100 to the intQuantity member variable contained in the last array element?
A. inventory.intQuantity(4) = 100
B. inventory(4).Product.intQuantity = 100
C. inventory(3).intQuantity = 100
D. inventory(4).intQuantity=100
Select an option to see the answer and solution.
Each menu title should have an unique . . . . . . . .
A. Access key
B. Property
C. Caption
D. Lists
Select an option to see the answer and solution.
In VB, . . . . . . . . is used to enter the more then one value in a single variable having different data types.
A. dim
B. structure
C. array
D. variable
Select an option to see the answer and solution.
A . . . . . . . . forces a literal constant to assume a data type other than the one its form indicates.
A. Literal type constant
B. Literal type variable
C. Any literal
D. Keyword
Select an option to see the answer and solution.
. . . . . . . . is used to work as parents, its main property is mdi child , all the forms are open within MDI
A. multiple document interface
B. single document interface
C. single data interface
D. system document interface
Select an option to see the answer and solution.
ASP is a . . . . . . . . language that tells the client's browser how to render the page on the computer screen.
A. Markup
B. Programming
C. Structured Query
D. Data storage
Select an option to see the answer and solution.
. . . . . . . . refers to the process of checking your algorithm while seated at your desk.
A. Disk-checking
B. Desk-checking
C. Drive-checking
D. Paper-checking
Select an option to see the answer and solution.
ADO is ActiveX-based, it can work in different platforms and different programming languages.
Select an option to see the answer and solution.