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

6/35

Page

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

A . . . . . . . . occurs while forgetting to enter an instruction, or entering the instruction in wrong order.

Select an option to see the answer and solution.

The appropriate . . . . . . . . setting on a label depends on label's purpose.

Select an option to see the answer and solution.

in . . . . . . . . we can edit in run time

Select an option to see the answer and solution.

Which is used to check one among both the conditions in a given if statement?

Select an option to see the answer and solution.

ADO stands for . . . . . . . .

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.Reverse(intScores)

Select an option to see the answer and solution.

. . . . . . . . Displays a list of items from which a user can select one.

Select an option to see the answer and solution.

The . . . . . . . . setting removes the form border.

Select an option to see the answer and solution.

Who displays the item contained in each project?

Select an option to see the answer and solution.

The . . . . . . . . is show under or below the Project Explorer window

Select an option to see the answer and solution.

If the padCharacter is omitted from the syntax of the padLeft or PadRight, the default is . . . . . . . .

Select an option to see the answer and solution.

Hungarian notations name are entered using . . . . . . . .

Select an option to see the answer and solution.

The . . . . . . . . in a two-dimensional array specifies the elements row and column position.

Select an option to see the answer and solution.

How many times will the MessageBox.Show method in the following code be processed?

intCount =0
Do While intCount > 3
MessageBox.Show("Hello")
intCount = intCount + 1
Loop

Select an option to see the answer and solution.

What will be the output of the following Visual Basic expression?

-Financial.Pmt (0.06/12, 5*12, 12000)

Select an option to see the answer and solution.

A suggestion for fixing the error appears in the . . . . . . . .

Select an option to see the answer and solution.

Two procedures can have procedure-level variable whose names are same.

Select an option to see the answer and solution.

To include an image on the form we use which toolbox?

Select an option to see the answer and solution.

An . . . . . . . . function will display a message box where the user can enter a value.

Select an option to see the answer and solution.

What will be in text, if Intid contains 2?

Select Case Intid
Case 1
  Text="Jannet"
Case 2 to 4
  Text="Mark"
Case 5, 7
  Text="Jerry"
Case Else
  Text="Sue"
End Select

Select an option to see the answer and solution.