Visual Basic - Study Mode
[#61] The . . . . . . . . is for displaying a list of drives available in your computer
Correct Answer
(A) drive list box
[#62] What will the following code display in the lblAsterisks control? For intX As Integer = 1 To 2
For intY As Integer = 1 To 3
lblAsterisks.Text = lblAsterisks.Text & "*"
Next intY
lblAsterisks.Text = lblAsterisks.Text &
ControlChars.NewLine
Next intX
Correct Answer
(A) *** ***
[#63] What will be contained in Msg if grade entered by user is 'd'? If grade=="A"
Msg ="Excellent"
ElseIf grade=="B"
Msg="Very Good"
ElseIf grade=="C"
Msg="Good"
ElseIf grade=="D"
Msg="Fair"
Else
Msg="Fail"
EndIf
Correct Answer
(B) Fail
[#64] . . . . . . . . is an underscore that is immediately preceded by a space and is located at the end of the physical line of code.
Correct Answer
(C) Line continuation character
[#65] The size property contains two numbers separated by comma, and a space. These numbers are . . . . . . . .
Correct Answer
(A) width in pixel, height in pixel