Explore topic-wise MCQs in Visual Basic.

This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Visual Basic knowledge and support exam preparation. Choose a topic below to get started.

1.

You specify each item to display in a list box using the Items collection s______________

A. Add method
B. Subtract method
C. Divide method
D. Multiply method
Answer» B. Subtract method
2.

The items in a list box belong to a collection called the ______________

A. Collection
B. Items Collection
C. Items Add
D. Add
Answer» C. Items Add
3.

The number of choices the user can select is controlled by the list box s ________________

A. SelectionModeProperty
B. Select Property
C. Check Property
D. IsSelect Property
Answer» B. Select Property
4.

A _______________displays a list of choices.

A. List box
B. Display box
C. Choice box
D. Check box
Answer» B. Display box
5.

Which of the following statements pauses program execution for 1 second?

A. System.Threading.Thread.Pause(1000)
B. System.Threading.Thread.Pause(1)
C. System.Threading.Thread.Sleep(1000)
D. System.Threading.Thread.Sleep(100)
Answer» D. System.Threading.Thread.Sleep(100)
6.

A millisecond is ____________ of a second.

A. 1/1000
B. 1/100
C. 1/10
D. 1/10000
Answer» B. 1/100
7.

To delay program execution, you can use the _____________________

A. Refresh Method
B. Sleep method
C. Count method
D. Accumulator method
Answer» C. Count method
8.

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

A. Refresh Method
B. Sleep method
C. Count method
D. Accumulator method
Answer» B. Sleep method