Labels that display __________ typically have their autosize property set to false.

This set of Visual Basic Multiple Choice Questions & Answers (MCQs) focuses on “User Interface – Border Style and AutoSize Properties”.

1. A control’s border is determined by __________ property. a) Border b) Style c) BorderStyle d) Appearance

View Answer

Answer: c
Explanation: A control’s border is determined by its BorderStyle property, which can be set to None, FixedSingle, Fixed3D. Controls with a border style property set to none have no border. Setting the border style property to FixedSingle surrounds the control with a thin line, and setting it to Fixed3d, gives the control a 3-dimensional appearance.

2. A label control’s __________ property determines whether the control automatically sizes to fit its current contents. a) AutoSize property b) Control property c) Auto control property d) Autoformat property

View Answer

Answer: a
Explanation: The label control’s autosize property determines whether the control automatically sizes to fit its current contents. The appropriate settings depend on the label’s purpose. Label control that identifies other control, uses the default setting that is true.

3. The autoSize property of the label control that displays program output is automatically set to true. a) False b) True

View Answer

Answer: a
Explanation: The autosize property of label that displays program output is generally set to false, since we do not need to autosize the label that displays the output.

Subscribe Now: Visual Basic Newsletter | Important Subjects Newsletters

4. The BorderStyle property of the labels that display program output is generally set to __________ a) Fixed3D b) FixedSingle c) None d) FixedDouble

View Answer

Answer: b
Explanation: The BorderStyle property of the labels that display output is fixed single, generally due to convention so that the form becomes readable, convenient to the user.

5. Text box is aligned using __________ a) Alignment operator b) Edit menu c) Properties Window d) Format menu

View Answer

Answer: a
Explanation: Text box is aligned using format menu or snap lines. The blue and the pink snap lines help you to align the text box with the other labels.

Check this: Computer Science MCQs | Visual Basic Books

6. A __________ provides an area in the form for the user to enter data. a) Text box b) Button c) Edit box d) Label

View Answer

Answer: a
Explanation: Text box provides an area in the form for the user to enter data. User can edit the data in the text box.

7. A control is locked using __________ a) Lock Controls b) Shared lock c) Fixed lock d) Lock

View Answer

Answer: a
Explanation: Once you have placed all the controls in the desired location on the form, it is a good idea to lock the form. You can lock the controls by clicking on the form, and clicking the Lock Control option on the format menu. When a control is locked, a small lock appears on the upper left corner of the control.

8. Which setting gives the control a 3-dimensional appearance? a) 3D appearance b) Fixed3D Border Style c) Set3D d) Appear3D

View Answer

Answer: a
Explanation: The Fixed3D border style gives a 3-dimensional appearance. In windows application, a data that the user is not allowed to edit does not have 3-dimensional appearance. Thus generally label control’s border style property is not set to 3-dimension. Whereas the text boxes are generally set to Fixed3D.

9. The appropriate __________ setting on a label depends on label’s purpose. a) BorderStyle property b) AutoSize property c) Length property d) Format Property

View Answer

Answer: a
Explanation: The BorderStyle property on a label generally depends on control’s purpose. The control that displays output has border style set to FixedSingle, the control that identify other controls, the border style property is set to None, etc.

10. The BorderStyle property of each label, that identify other controls, is generally set to __________ a) None b) FixedSingle c) Fixed3D d) FixedDouble

View Answer

Answer: a
Explanation: The BorderStyle property of each label, that identify other controls such as those identify text boxes is generally set to None. This is a general convention that is followed, to make the design look adorable, but not distractive to the user.

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.

Labels that display __________ typically have their autosize property set to false.

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 & technical discussions at Telegram SanfoundryClasses.

The text contained in a label control that identifies other control’s contents should be right-aligned within the label, according to Window’s standards.

Labels that display __________ typically have their autosize property set to false.

Learn more about

Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.

Recommended textbooks for you

  • Labels that display __________ typically have their autosize property set to false.

    Programming with Microsoft Visual Basic 2017

    Publisher:Cengage Learning

    Labels that display __________ typically have their autosize property set to false.

    Microsoft Visual C#

    Publisher:Cengage Learning,

  • Labels that display __________ typically have their autosize property set to false.

    Programming with Microsoft Visual Basic 2017

    ISBN:9781337102124

    Author:Diane Zak

    Publisher:Cengage Learning

    Labels that display __________ typically have their autosize property set to false.

    Microsoft Visual C#

    ISBN:9781337102100

    Author:Joyce, Farrell.

    Publisher:Cengage Learning,