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

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.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

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

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

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.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). 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!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.