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

19/35

Page

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

The text contained in the identifying label is entered using . . . . . . . .

Select an option to see the answer and solution.

The . . . . . . . . selection structure allows the programmer to specify that a different action is to be performed when the condition is True than when the condition is False.

Select an option to see the answer and solution.

The . . . . . . . . means the Directory List Box.

Select an option to see the answer and solution.

Class is defined using . . . . . . . .

Select an option to see the answer and solution.

What will be the output of the following Visual Basic code?

Dim intScores As Integer = {78, 83, 75, 90}
Array.Sort(intScores)

Select an option to see the answer and solution.

text box can handle string (text) and numeric data but not images or pictures

Select an option to see the answer and solution.

. . . . . . . . Executes the timer events at specified intervals of time

Select an option to see the answer and solution.

Who displays the list of projects contained in current solution?

Select an option to see the answer and solution.

. . . . . . . . is used to store temporary data by programmers.

Select an option to see the answer and solution.

Which of the following assigns the string "Rover" to the fifth element in a one-dimensional array named strPetNames?

Select an option to see the answer and solution.

. . . . . . . . operator returns true, if all the sub-conditions are true.

Select an option to see the answer and solution.

What happens when a control is deleted from a form?

Select an option to see the answer and solution.

Between the function's . . . . . . . . and . . . . . . . . you enter the instructions to process when the function is invoked.

Select an option to see the answer and solution.

In the following code, the body of If will execute if strFirst contains?

If strFirst.ToUpper Like "T[OI]M" Then

Select an option to see the answer and solution.

You use the . . . . . . . . tool to add a radio button to a form.

Select an option to see the answer and solution.

In VB, . . . . . . . . is used to enter the more then one value in a single variable having same data types.

Select an option to see the answer and solution.

The instruction in the loop body is referred to as . . . . . . . .

Select an option to see the answer and solution.

The computer creates the object when it processes the statement containing . . . . . . . . keyword.

Select an option to see the answer and solution.

The instruction above the loop is known as the . . . . . . . .

Select an option to see the answer and solution.

To menu editor is available in . . . . . . . . button of the mouse

Select an option to see the answer and solution.