Explore topic-wise MCQs in Visual Basic.

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

Which is used to restore a property s value?

A. Restore button
B. Reset button
C. Default button
D. Back button
Answer» C. Default button
2.

The size property contains two numbers separated by comma, and a space. These numbers are __________

A. width in pixel, height in pixel
B. height in pixel, width in pixel
C. height in cm, width in cm
D. width in cm, height in cm
Answer» B. height in pixel, width in pixel
3.

The size property contains the size of __________

A. form
B. text on the form
C. size of any object such as textbox, button, etc on the form
D. size of the screen
Answer» B. text on the form
4.

What does the Start Position Property determine?

A. initial position on the screen
B. starting position on the screen
C. top left corner of the screen
D. middle of the screen
Answer» B. starting position on the screen
5.

Where does the form s Text Property appear?

A. Title bar
B. In Text box in the form
C. Caption bar
D. Text bar
Answer» B. In Text box in the form
6.

Hungarian notations name are entered using __________

A. camel case
B. upper case
C. lower case
D. both alphabets and numbers
Answer» B. upper case
7.

Form is called as the __________

A. object
B. dot member access operator
C. instance of a class
D. class
Answer» C. instance of a class
8.

What does namespace contain?

A. Code that defines a group of related classes
B. Code to define hierarchy
C. Contains object definition
D. Contains class definition
Answer» B. Code to define hierarchy
9.

What is a class definition?

A. It defines object
B. It defines the appearance and behavior of an object
C. It defines namespace
D. It is a prototype
Answer» C. It defines namespace
10.

If the properties of the form are not listed alphabetically, click __________ button to make it alphabetical.

A. Lexicographical button
B. Alphabetical button
C. A-Z button
D. Arrange button
Answer» C. A-Z button