21. 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 − 1)
Dim intNums() As Integer = {10, 5, 7, 2}. The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.
Do While intSub < 4
intTotal = intTotal + intNums(intSub)
intSub = intSub + 1
Loop
dblAvg = intTotal / (intSub − 1)
Dim intNums() As Integer = {10, 5, 7, 2}. The intTotal, intSub, and dblAvg variables contain the number 0 before the loops are processed.22. e' parameter's . . . . . . . . property is used to determine the pressed key.
23. status bar is display at the . . . . . . . . of the mdi forms.
24. The rules of a programming language are called its . . . . . . . .
25. You use the . . . . . . . . tool to add a checkbox to a form.
26. One of its most important properties of text box is . . . . . . . .
27. Toolbar is display at the . . . . . . . . of the mdi form.
28. Text box is aligned using . . . . . . . .
29. Option Strict On disallows conversion of String data type to . . . . . . . . implicitly.
30. the . . . . . . . .control is placed in the form together with six OptionButtons. To determine the shape of the shape control.
Read More Section(Visual Basic)
Each Section contains maximum 100 MCQs question on Visual Basic. To get more questions visit other sections.