MCQOPTIONS
Saved Bookmarks
This section includes 4 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. |
When you declare a variable in the form’s declaration section, it is called as ______________ |
| A. | Class-level variable |
| B. | Object variable |
| C. | Procedure-level variable |
| D. | Auto variable |
| Answer» B. Object variable | |
| 2. |
Variables declared in a form’s declaration section have _____________ scope. |
| A. | Class |
| B. | Procedure |
| C. | Block |
| D. | Object |
| Answer» B. Procedure | |
| 3. |
A variable’s _______________ indicates how long the variable stays in the computer’s internal memory. |
| A. | Scope |
| B. | Lifetime |
| C. | Place |
| D. | Position |
| Answer» C. Place | |
| 4. |
A variable’s ____________ indicates where the variable can be used in an application code. |
| A. | Scope |
| B. | Lifetime |
| C. | Place |
| D. | Position |
| Answer» B. Lifetime | |