91. Variables are used to temporarily store data during execution of application.
92. What will be assigned to the dblAvg variable after the code has been executed?
Do While intSub < 4
intNums(intSub) = intTotal + intTotal
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.
Do While intSub < 4
intNums(intSub) = intTotal + intTotal
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.93. What will be the content of Text after the code is executed with id=8?
If id==1 Then
Text="Janet";
Elseif id==2 OrElse id==3 Then
Text="Mark"
ElseIF id==4 Then
Text="Jerry"
Else
Text="Sue ";
EndIf
If id==1 Then
Text="Janet";
Elseif id==2 OrElse id==3 Then
Text="Mark"
ElseIF id==4 Then
Text="Jerry"
Else
Text="Sue ";
EndIf
94. A simple variable, also called as a . . . . . . . . variable, is one that is unrelated to any other variable in memory.
95. MDI is used to work as . . . . . . . . , its main property is mdi child , all the forms are open within MDI
96. . . . . . . . . is used to visually group together related items on a menu or submenu.
97. Which property in the property list is used to change the text, style or size of the control's text?
98. What is the array of these statements?
Dim intScores As Integer = {78, 83, 75, 90}
Array.sort (intScores)
Dim intScores As Integer = {78, 83, 75, 90}
Array.sort (intScores)
99. A button's caption is entered using . . . . . . . .
100. A . . . . . . . . Web page contains controls with which the user can interact.
Read More Section(Visual Basic)
Each Section contains maximum 100 MCQs question on Visual Basic. To get more questions visit other sections.