Visual Basic Questions and Answers – Properties Window


This set of Visual Basic Multiple Choice Questions & Answers (MCQs) focuses on “Properties Window”.

1. 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
View Answer

Answer: b
Explanation: If the properties of a form are not listed alphabetically click on Alphabetical button to make it alphabetical.

2. 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
View Answer

Answer: b
Explanation: A class definition is a block of code that specifies an object’s appearance and behavior.

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

Answer: a
Explanation: Namespace contains a code that defines a group of related classes.

4. Form is called as the __________
a) object
b) dot member access operator
c) instance of a class
d) class
View Answer

Answer: b
Explanation: Form is called the dot member access operator. It indicates the hierarchy of namespace rather than that folder.

5. Hungarian notations name are entered using __________
a) camel case
b) upper case
c) lower case
d) both alphabets and numbers
View Answer

Answer: a
Explanation: In Hungarian notation, the first 3 characters identify the object and the next characters identify the purpose.

6. Where does the form’s Text Property appear?
a) Title bar
b) In Text box in the form
c) Caption bar
d) Text bar
View Answer

Answer: a
Explanation: Form’s Text Property appears in the Title bar.

7. 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
View Answer

Answer: a
Explanation: The Start Position Property is used to determine the form’s initial position on the screen.

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

Answer: a
Explanation: The size property indicates the size of the form.

9. 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
View Answer

Answer: a
Explanation: The first number represents the width in pixel and the second number represents the height in pixel.

10. Which is used to restore a property’s value?
a) Restore button
b) Reset button
c) Default button
d) Back button
View Answer

Answer: b
Explanation: Reset button is used to restore the property’s value to its default.

Sanfoundry Global Education & Learning Series – Visual Basic.

To practice all areas of Visual Basic, here is complete set of 1000+ Multiple Choice Questions and Answers.

Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer & SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage, Advanced C Programming, SAN Storage Technologies, SCSI Internals & Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him @ LinkedIn