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

26/35

Page

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

A . . . . . . . . is an item of data whose values do not change while the application is running.

Select an option to see the answer and solution.

Which of the following statements prevents a form from being closed?

Select an option to see the answer and solution.

A . . . . . . . . is an example that accepts user input and is determined by a label control.

Select an option to see the answer and solution.

A variable's . . . . . . . . indicates how long the variable stays in the computer's internal memory.

Select an option to see the answer and solution.

When you declare a variable in the form's declaration section, it is called as . . . . . . . .

Select an option to see the answer and solution.

. . . . . . . . method is used for accessing any number of characters in a String.

Select an option to see the answer and solution.

How many default buttons can a form have?

Select an option to see the answer and solution.

. . . . . . . . is a variable that remains in memory, and retains its value even after the procedure declaring it ends.

Select an option to see the answer and solution.

To determine whether a variable is being passed to a procedure by value or by reference, you will need to examine . . . . . . . .

Select an option to see the answer and solution.

The items in a list box are sorted based on the . . . . . . . . characters in each item.

Select an option to see the answer and solution.

When a selection structure's true part or false part contains another selection structure, the inner selection structured is referred to as . . . . . . . .

Select an option to see the answer and solution.

Pressing the enter key when the button is on focus produces . . . . . . . .

Select an option to see the answer and solution.

A . . . . . . . . is a predefined procedure that performs a specific task.

Select an option to see the answer and solution.

. . . . . . . . menu is open by right button of the mouse .

Select an option to see the answer and solution.

Stretch property is used set. . . . . . . .of images .

Select an option to see the answer and solution.

The function of . . . . . . . . is to give a pop-up message to the user.

Select an option to see the answer and solution.

A function's header includes the . . . . . . . . data type.

Select an option to see the answer and solution.

The strStates and strCapitals arrays are parallel arrays. If Illinois is stored in the second element in the strStates array, where is its capital (Springfield) stored?

Select an option to see the answer and solution.

Following are not the arithmetic operator .

Select an option to see the answer and solution.

Set the identifying labels tab index property that is . . . . . . . . than text box's tab index property.

Select an option to see the answer and solution.