MCQ: Visual Basic Variables, Constants & Calculations

This post consists of all the VB questions related to Variables, Constants and Calculations.

Page 1 of 2

1. When you declare a variable or a named constant, Visual Basic reserves an area of memory and assigns it a name called a(n) _______.

A.
B.
C.
D.

2. Declaration statements _______.

A.
B.
C.
D.

3. Which of the following is NOT a valid Visual Basic data type?

A.
B.
C.
D.

4. The data type that is used for decimal fractions is _______.

A.
B.
C.
D.

5. Which of the following is NOT a valid rule for naming identifiers?

A.
B.
C.
D.

6. Which of the following is NOT a rule for naming identifiers?

A.
B.
C.
D.

7. The length of identifiers is limited to _______.

A.
B.
C.
D.

8. Which of the following does not follow the conventions for naming identifiers?

A.
B.
C.
D.

9. Intrinsic constants are _______.

A.
B.
C.
D.

10. Which of the following is NOT a rule for naming identifiers for constants?

A.
B.
C.
D.


 

Leave a Reply

avatar
  Subscribe  
Notify of