Visual Basic - Study Mode
[#306] Object Browser are open from the . . . . . . . . or pressing the key F2. The left column of the Object Browser lists the objects and classes that are available in the projects
Correct Answer
(A) view menu
[#307] How many times will the MessageBox.Show method in the following code be processed? For intNum As Integer = 5 To 1 Step -1
MessageBox.Show("Hi")
Next intNum
Correct Answer
(B) 5
[#308] To delay program execution, you can use the . . . . . . . .
Correct Answer
(B) Sleep method
[#309] The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. Which of the following loops will correctly add 100 to each array element? The intSub variable contains the number 0 before the loops are processed.
Correct Answer
(C) Do While intSub < 5
intSales(intSub) =intSales(intSub) + 100
Loop
[#310] . . . . . . . . is an activity that occurs during program execution such as mouse click or keystroke.
Correct Answer
(A) event