81. What will be the output of the following Visual Basic code?
Dim intScores As Integer = {78, 83, 75, 90}
Array.Reverse(intScores)
Dim intScores As Integer = {78, 83, 75, 90}
Array.Reverse(intScores)
82. The main Property of radio button box is . . . . . . . .
83. Text that cannot be changed by the user is termed as . . . . . . . . text.
84. The main property of . . . . . . . ., is LoadPicture and resize the picture .
85. While entering a numeric literal constant you need not enter a . . . . . . . .
86. The convention is to use . . . . . . . . case for classname.
87. What will the following code display in the lblSum control?
Dim intSum As Integer
Dim intY As Integer
Do While intY < 3
For intX As Integer = 1 To 4
intSum = intSum + intX
Next intX
intY = intY + 1
Loop
lblSum.Text = Convert.ToString(intSum)
Dim intSum As Integer
Dim intY As Integer
Do While intY < 3
For intX As Integer = 1 To 4
intSum = intSum + intX
Next intX
intY = intY + 1
Loop
lblSum.Text = Convert.ToString(intSum)
88. Radio buttons are used to . . . . . . . .
89. What output will be returned if the following Visual Basic code is executed?
strCityState = "Nashville, TN"
intCharIndex = strCityState.IndexOf("TN")
strCityState = "Nashville, TN"
intCharIndex = strCityState.IndexOf("TN")
90. How many times will the MessageBox.Show method in the following code be processed?
intCount =0;
Do
MessageBox.Show("Hello")
intCount += 1
Loop While intCount > 3
intCount =0;
Do
MessageBox.Show("Hello")
intCount += 1
Loop While intCount > 3
Read More Section(Visual Basic)
Each Section contains maximum 100 MCQs question on Visual Basic. To get more questions visit other sections.