11. If the padCharacter is omitted from the syntax of the padLeft or PadRight, the default is . . . . . . . .
12. Hungarian notations name are entered using . . . . . . . .
13. The . . . . . . . . in a two-dimensional array specifies the elements row and column position.
14. How many times will the MessageBox.Show method in the following code be processed?
intCount =0
Do While intCount > 3
MessageBox.Show("Hello")
intCount = intCount + 1
Loop
intCount =0
Do While intCount > 3
MessageBox.Show("Hello")
intCount = intCount + 1
Loop
15. What will be the output of the following Visual Basic expression?
-Financial.Pmt (0.06/12, 5*12, 12000)
-Financial.Pmt (0.06/12, 5*12, 12000)
16. A suggestion for fixing the error appears in the . . . . . . . .
17. Two procedures can have procedure-level variable whose names are same.
18. To include an image on the form we use which toolbox?
19. An . . . . . . . . function will display a message box where the user can enter a value.
20. What will be in text, if Intid contains 2?
Select Case Intid
Case 1
Text="Jannet"
Case 2 to 4
Text="Mark"
Case 5, 7
Text="Jerry"
Case Else
Text="Sue"
End Select
Select Case Intid
Case 1
Text="Jannet"
Case 2 to 4
Text="Mark"
Case 5, 7
Text="Jerry"
Case Else
Text="Sue"
End Select
Read More Section(Visual Basic)
Each Section contains maximum 100 MCQs question on Visual Basic. To get more questions visit other sections.