Detailed SolutionWhat is the correct syntax to designate a default button?
Visual basic
Form.default=button1
Form.defaultButton=button1
Form.AcceptButton=button1
Form.focused=button1
Answer is Right!
Answer is Wrong!
22. An . . . . . . . . function will display a message box where the user can enter a value.
msgbox()
inputbox()
print
nested
Answer is Right!
Answer is Wrong!
23. . . . . . . . . is used to differentiate the one redio button group to another radio button group.
bottom
top
dim
frame
Answer is Right!
Answer is Wrong!
24. Margin lines are . . . . . . . . in colour.
Blue
Red
Green
Black
Answer is Right!
Answer is Wrong!
Detailed SolutionMargin lines are . . . . . . . . in colour.
25. In a . . . . . . . . loop the condition is evaluated before the instructions within the loop are processed.
Posttest
Pretest
Conditional loop
Unconditional loop
Answer is Right!
Answer is Wrong!
26. How many times will the MessageBox.Show method in the following code be processed? For count As Integer = 5 to 9 Step 5 MessageBox.Show(“Hi”) Next count
0
1
2
4
Answer is Right!
Answer is Wrong!
27. Using array in a program is efficient because . . . . . . . .
It shortens the program.
The program compiles faster
Number of variables are reduced.
Data is accessed faster
Answer is Right!
Answer is Wrong!
Detailed SolutionUsing array in a program is efficient because . . . . . . . .
28. A button’s caption is entered using . . . . . . . .
sentence capitalization
book title capitalization
character capitalization
word capitalization
Answer is Right!
Answer is Wrong!
Detailed SolutionA button’s caption is entered using . . . . . . . .
29. If you keep a variable undeclared, it is automatically taken as to which of the following data type in Visual Basic?
Char
Int
Object
String
Answer is Right!
Answer is Wrong!
30. Designers generally avoid using . . . . . . . . and . . . . . . . . in an interface.
Italics and underline
Underline and bold
Bold and italics
Regular and bold
Answer is Right!
Answer is Wrong!