Visual Basic - Study Mode
[#446] Which is used to restore a property's value?
Correct Answer
(B) Reset button
[#447] Writing data to a file is referred to as . . . . . . . .
Correct Answer
(B) Writing a file
[#448] The intNums array is declared as follows: Dim intNums() As Integer = {10, 5, 7, 2}. Which of the following blocks of code correctly calculates the average value stored in the array? The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.
Correct Answer
(B) Do While intSub < 4
intTotal = intTotal + intNums(intSub)
intSub = intSub + 1
Loop
dblAvg = intTotal / intSub
[#449] You can use . . . . . . . . to override the order of precedence.
Correct Answer
(B) Parenthesis
[#450] The . . . . . . . . symbol is used to take a decision in the flowchart.
Correct Answer
(D) Diamond