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

4/35

Page

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

You refer to the structure variable by its . . . . . . . .

Select an option to see the answer and solution.

. . . . . . . . is used to separate related controls from other controls in the form.

Select an option to see the answer and solution.

In the following code, the while loop will execute if strId would have been . . . . . . . .

Do While strId Like "###*"

Select an option to see the answer and solution.

VB is the example of. . . . . . . .software .

Select an option to see the answer and solution.

The . . . . . . . . allows us to browse through the various properties, events and methods that are made available to us

Select an option to see the answer and solution.

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

If 3>6 AndAlso 7>4 then
   Msg="Hi"
Else
   Msg="Bye"
EndIf

Select an option to see the answer and solution.

The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000, 900, 500, 20000}. The statement intSales(3) = intSales(3) + 10 will .

Select an option to see the answer and solution.

The . . . . . . . . indicates the purpose of the menu element.

Select an option to see the answer and solution.

. . . . . . . . structure can handle conditions with multiple outcomes in an easier manner

Select an option to see the answer and solution.

The . . . . . . . . is used to show quick reference to the various elements of a project namely form, classes and modules

Select an option to see the answer and solution.

The . . . . . . . . keyword indicates that an application can set the property's value, but it cannot retrieve the value.

Select an option to see the answer and solution.

What does namespace contain?

Select an option to see the answer and solution.

if condition is end by . . . . . . . .

Select an option to see the answer and solution.

The number that appears after the period in the . . . . . . . . value indicates the order in which the controls were added to the groupbox.

Select an option to see the answer and solution.

. . . . . . . . is used to add a GroupBox to the interface.

Select an option to see the answer and solution.

The . . . . . . . . validator is used to verify that control contains data verify that an entry passes the specified validation logic.

Select an option to see the answer and solution.

The instructions in a . . . . . . . . loop are always processed at least once, whereas the instructions in a . . . . . . . . loop might not be processed at all.

Select an option to see the answer and solution.

The . . . . . . . . instruction tells the computer to close the current form.

Select an option to see the answer and solution.

. . . . . . . . the documentation refers to putting the documentation in a safe place.

Select an option to see the answer and solution.

Ms Access is used to . . . . . . . .

Select an option to see the answer and solution.