Visual Basic - Study Mode
[#101] What will be assigned to the dblAvg variable after the code has been executed? Do While intSub < 4
intTotal = intTotal + intNums(intSub)
intSub = intSub + 1
Loop
dblAvg = intTotal / intSub Dim intNums() As Integer = {10, 5, 7, 2}. The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.
Correct Answer
(C) 6
[#102] . . . . . . . . determines the type of data stored in a variable.
Correct Answer
(D) Data Type
[#103] If the elements in two arrays are related by their subscripts, the arrays are called as . . . . . . . . arrays.
Correct Answer
(D) parallel
[#104] Which of the following property is used to specify a combo box's style in Visual Basic?
Correct Answer
(C) DropDownStyle
[#105] . . . . . . . . can be used instead of a Structure statement.
Correct Answer
(A) Class