Vidyalelo
Computer Science · all questions

Visual Basic MCQs: Test Your Proficiency in Visual Basic Programming
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

689

Questions

13/35

Page

Pick an option on a question to see the right answer and solution.

. . . . . . . . method is used to sort an array in visual basic.

Select an option to see the answer and solution.

In VB, array is divided into 3 types, the second type is . . . . . . . .

Select an option to see the answer and solution.

Which of the following is used to convert a number from one data type to another in visual studio?

Select an option to see the answer and solution.

. . . . . . . . is used to open the sequential file access for append.

Select an option to see the answer and solution.

You specify each item to display in a list box using the Items collection's. . . . . . . .

Select an option to see the answer and solution.

The actions such as click, double-click, scrolling etc are . . . . . . . .

Select an option to see the answer and solution.

What value is stored in the intCount variable when the loop ends?

For intCount As Integer = 4 To 11 Step 2
MessageBox.Show("Hello")
Next intCount

Select an option to see the answer and solution.

A variable can store . . . . . . . . value at a time.

Select an option to see the answer and solution.

The long form of MDI is. . . . . . . ..

Select an option to see the answer and solution.

The requirement for repeating the instructions is referred to as the . . . . . . . .

Select an option to see the answer and solution.

Which of the following statements assigns (to the intElements variable) the number of elements contained in the intNums array?

Select an option to see the answer and solution.

. . . . . . . . and . . . . . . . . methods are used to align characters in a String.

Select an option to see the answer and solution.

What will be contained in Msg if grade entered by user is 'd'?
grade=grade.Text.ToUpper
If grade=="A"
  Msg ="Excellent"
ElseIf grade=="B"
  Msg="Very Good"
ElseIf  grade=="C"
  Msg="Good"
ElseIf grade=="D"
  Msg="Fair"
Else
  Msg="Fail"
EndIf

Select an option to see the answer and solution.

The . . . . . . . . is used to concat to Strings.

Select an option to see the answer and solution.

Press . . . . . . . . to move the focus to the text box's access key named textBlue.

Select an option to see the answer and solution.

. . . . . . . . Use to store alphanumeric values. A variable length string can store approximately 4 billion characters

Select an option to see the answer and solution.

To include the image file in the project itself, the Project Resource file radio button must be selected from which dialog box?

Select an option to see the answer and solution.

. . . . . . . . is the process of putting two string together.

Select an option to see the answer and solution.

Programmers use . . . . . . . . known as loops.

Select an option to see the answer and solution.

A timer control is instantiated using . . . . . . . .

Select an option to see the answer and solution.