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

12/35

Page

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

If the txtPrice control contains the value 75, what value will the variable=Decimal.TryParse (txtPrice.Text,decPrice) method return?

Select an option to see the answer and solution.

When a checkbox's . . . . . . . . property is set to true, it can both accept and display multiple lines of text.

Select an option to see the answer and solution.

. . . . . . . . uses short phrases to describe the steps the procedure must take.

Select an option to see the answer and solution.

the main property of check box is . . . . . . . ..

Select an option to see the answer and solution.

. . . . . . . . statement is the last statement in the function.

Select an option to see the answer and solution.

When an expression contains more than one operator with same priority, then they are evaluated according their . . . . . . . .

Select an option to see the answer and solution.

What happens when a procedure containing the following statements ends?

Dim decSales As Decimal=12.2
Static decTotal As Decimal=13.5

Select an option to see the answer and solution.

The condition must be a . . . . . . . . expression.

Select an option to see the answer and solution.

It is inappropriate to assign access keys to . . . . . . . .

Select an option to see the answer and solution.

The name of the class file ends with . . . . . . . .

Select an option to see the answer and solution.

Which logical operator does not allow us to combine two or more conditions?

Select an option to see the answer and solution.

The . . . . . . . . allows you to abbreviate an assignment statement.

Select an option to see the answer and solution.

Designers generally use . . . . . . . . colour for the background, and . . . . . . . . for the text.

Select an option to see the answer and solution.

The timer state is determined by . . . . . . . .

Select an option to see the answer and solution.

The . . . . . . . . validator is used to verify that a control contains data.

Select an option to see the answer and solution.

ADO is ActiveX-based, it can not work in different platforms and different programming languages.

Select an option to see the answer and solution.

. . . . . . . . is used to take decision .

Select an option to see the answer and solution.

The . . . . . . . . operator is used to divide two integers.

Select an option to see the answer and solution.

Margin lines are . . . . . . . . in colour.

Select an option to see the answer and solution.

Text box's ReadOnly Property is set to . . . . . . . . by default.

Select an option to see the answer and solution.