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

32/35

Page

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

Form is called as the . . . . . . . .

Select an option to see the answer and solution.

in . . . . . . . . , first we check the condition , if the condition is true then it execute the true statement .

Select an option to see the answer and solution.

After defining a class you can instantiate one or more . . . . . . . .

Select an option to see the answer and solution.

What is used to add a Label control to a form?

Select an option to see the answer and solution.

Which button is used to display the names in the property list by category?

Select an option to see the answer and solution.

The name of the button control is changed using . . . . . . . .

Select an option to see the answer and solution.

A . . . . . . . . occurs when you break the rules of the language.

Select an option to see the answer and solution.

. . . . . . . . is insert from component , it is used to load ADO control.

Select an option to see the answer and solution.

The strItems array is declared as follows: Dim strItems(20) As String. The intSub variable keeps track of the array subscripts and is initialized to 0. Which of the following Do clauses will process the loop instructions for each element in the array?

Options are not available for this question.

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.

To declare a class-level named constant you declare it as . . . . . . . .

Select an option to see the answer and solution.

What is the purpose of the label control?

Select an option to see the answer and solution.

single dimensional array requires one indexes to identify a particular element.

Select an option to see the answer and solution.

Each menu element is considered as . . . . . . . .

Select an option to see the answer and solution.

Which of the following section is used to make text appear around the image?

Select an option to see the answer and solution.

. . . . . . . . operator returns true, if any of the sub-condition is true.

Select an option to see the answer and solution.

To see the underlined hidden access key, you can do so, by pressing the . . . . . . . . key.

Select an option to see the answer and solution.

You use . . . . . . . . to include one or more menus on a Windows form.

Select an option to see the answer and solution.

A form's . . . . . . . . event is triggered when the computer processes the Me.Close() statement.

Select an option to see the answer and solution.

The main property of Picture Box, is LoadPicture and . . . . . . . . the picture .

Select an option to see the answer and solution.