Visual Basic - Study Mode

[#161] What output will be returned if the following Visual Basic code is executed? strVisualBasic = "Sanfoundry, VB.Net"
intCharIndex = strVisualBasic.IndexOf("VB")
Correct Answer

(B) 12

[#162] Files that are read by computer are called as . . . . . . . .
Correct Answer

(A) Input file

[#163] Using a named constant is advantageous because to change a value in future, change . . . . . . . .
Correct Answer

(A) The value in the Const statement

[#164] A . . . . . . . . displays a list of choices.
Correct Answer

(A) List box

[#165] The text box's . . . . . . . . event procedure prevents user from entering a specified character.
Correct Answer

(A) KeyPress