Explore topic-wise MCQs in Visual Basic.

This section includes 9 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.

The items listed in the Call statement are referred to as ____________________

A. Arguments
B. Parameters
C. Passers
D. Callers
Answer» B. Parameters
2.

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
3.

The items in a list box are sorted based on the ___________ characters in each item.

A. Leftmost
B. Rightmost
C. Previous
D. Next
Answer» B. Rightmost
4.

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
5.

The ___________statement does not indicate whether a variable is passed by value or by reference.

A. Call
B. Parameter
C. Function
D. Declaration
Answer» B. Parameter
6.

To pass a variable by value, you include the keyword ________________ before the name of its corresponding parameter.

A. ByVal
B. Val
C. PassVal
D. Pass
Answer» B. Val
7.

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
8.

Passing a copy of the variable is referred to as _____________________

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

Every variable has both a value and _____________

A. Unique address
B. Value
C. Name
D. Relative address
Answer» B. Value