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

18/35

Page

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

The . . . . . . . . box is the standard control for accepting input from the user as well as to display the output.......

Select an option to see the answer and solution.

The . . . . . . . . ensures that the computer processes any previous lines of code that affect the interface's appearance.

Select an option to see the answer and solution.

What is the use of OLE

Select an option to see the answer and solution.

Errors are called as . . . . . . . . in a program.

Select an option to see the answer and solution.

What are listed in a Properties Window?

Select an option to see the answer and solution.

. . . . . . . . must be the last clause in the Select Case statement.

Select an option to see the answer and solution.

Which of the following forces a literal constant to assume a data type other than the one its form indicates?

Select an option to see the answer and solution.

Lifetime of a class-level variable is till . . . . . . . .

Select an option to see the answer and solution.

Which of the following is commonly used to perform an immediate action when clicked in Visual Studio?

Select an option to see the answer and solution.

. . . . . . . . method is used to remove specified number of characters located anywhere in the String.

Select an option to see the answer and solution.

You can set the control's tab index property using . . . . . . . .

Select an option to see the answer and solution.

A class . . . . . . . . all the behavior and attributes of an object.

Select an option to see the answer and solution.

When referring to the method's return value in code, one should use the . . . . . . . . value rather than the integer.

Select an option to see the answer and solution.

The background color of a Web page is determined by the . . . . . . . . property.

Select an option to see the answer and solution.

You use the . . . . . . . . constant to include the Exclamation icon in a message box.

Select an option to see the answer and solution.

What is wrong with the expression "static dblPi AsDouble"?

Select an option to see the answer and solution.

What will be in Msg after the following code is evaluated?

If 5*3>3^2 AndAlso True OrElse False Then
Msg="Hi"
Else
Msg="Bye"
Endif

Select an option to see the answer and solution.

The . . . . . . . . operator allows you to use pattern matching characters to determine whether one String is equal to another String.

Select an option to see the answer and solution.

When you start an application, the computer sends the focus to the control whose TabIndex is . . . . . . . .

Select an option to see the answer and solution.

What is the result of the expression 10-2+20 ><2*25-2?

Select an option to see the answer and solution.