Explore topic-wise MCQs in Visual Basic Questions and Answers.

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

1.

The ___________ keyword tells the computer to pass the variable’s address rather than its contents.

A. ByRef
B. ByVal
C. ByAdd
D. ByPoint
Answer» B. ByVal
2.

The position of an item in a list box depends on the value stored in the list box’s ____________________

A. Ascending property
B. Descending Property
C. Sorted property
D. Unsorted property
Answer» D. Unsorted property
3.

Passing a variable’s address is referred to as _____________________

A. Pass by value
B. Pass by address
C. Pass by reference
D. Pass by pointer
Answer» D. Pass by pointer