ToolBox Window – Label Tool - Visual Basic Questions and Answers

1.

What is used to add a Label control to a form?

   A.) Label Tool
   B.) Add Tool
   C.) Add Control Tool
   D.) Add Label Tool

Answer: Option 'A'

Label Tool
Label Tool is used to add a Label control to a form. Label control is used to identify objects on a form, provide a description of what a certain control will do if clicked.

DigitalOcean Referral Badge

2.

What is used to add a Label control to a form?

   A.) Label Tool
   B.) Add Tool
   C.) Add Control Tool
   D.) Add Label Tool

Answer: Option 'A'

Label Tool
Label Tool is used to add a Label control to a form. Label control is used to identify objects on a form, provide a description of what a certain control will do if clicked.

DigitalOcean Referral Badge

3.

What is the purpose of the label control?

   A.) To display the text that the user is not allowed to edit while the application is not running
   B.) To display the text that the user is not allowed to edit while the application is running
   C.) To display the text that the user is allowed to edit while the application is running
   D.) To display the text that the user is allowed to edit while the application is not running

Answer: Option 'B'

To display the text that the user is not allowed to edit while the application is running

DigitalOcean Referral Badge

4.

The size of _____________ is determined by the label’s margin property.

   A.) label lines
   B.) margin lines
   C.) border lines
   D.) label

Answer: Option 'B'

margin lines

The size of margin lines is determined by the label’s margin property. These margin lines help to align controls on the form.

DigitalOcean Referral Badge

5.

_____________is the default name assigned to the label control.

   A.) Label0
   B.) Label1
   C.) NewLabel
   D.) DefaultLabel

Answer: Option 'B'

Label1
Label1 is the default name applied to the label control. When a first label is on the form it is named as Label1. When another label is brought in, it is named as Label2 and it goes so on.

DigitalOcean Referral Badge

6.

Margin lines are ______________ in colour.

   A.) Blue
   B.) Red
   C.) Black
   D.) Green

Answer: Option 'A'

Blue
Margin lines are blue in colour. Margin lines help to align controls on the form.

DigitalOcean Referral Badge

7.

Which property determines the value that appears inside the control?

   A.) Label Text property
   B.) Label control’s Text property
   C.) Text Design Property
   D.) Text Property

Answer: Option 'B'

Label control’s Text property

Label control’s Text Property determined the value that appears inside the control. The text cannot be edited while the application is running. At times the text can be hidden and made visible only when certain part of the application is running.

DigitalOcean Referral Badge

8.

Which property specifies the position of the upper left corner of the control?

   A.) Top Property
   B.) Position Property
   C.) Location Property
   D.) Starting Position Property

Answer: Option 'C'

Location Property

Location Property specifies the position of the upper left corner of the control. It gets or sets the upper left corner of the control relative to the upper left corner of the controller.

DigitalOcean Referral Badge

9.

Which property in the property list is used to change the text, style or size of the control’s text?

   A.) Font
   B.) Origin
   C.) Style
   D.) Appearance

Answer: Option 'A'

Font property in the property list is used to change the text, style or size of the control’s text. Font helps to make the appearance of the text in the label better.

DigitalOcean Referral Badge

10.

Which menu provides option for manipulating the control’s on the form?

   A.) Format menu
   B.) Property List
   C.) Manipulate Menu
   D.) Control Menu

Answer: Option 'A'

Format menu
Format Menu provides the option for manipulating the control’s on the form. It aligns selected objects with each other using the control with the white grab handles as the reference.

DigitalOcean Referral Badge

11.

Which option is used to align two or more controls by their left, right, top or bottom borders?

   A.) Align option
   B.) Associate option
   C.) Range option
   D.) Alignment option

Answer: Option 'A'

Align option

Align option is used to align two or more controls by their left, right, top or bottom borders. Left: Aligns the horizontal position of the selected objects, putting the left-most edges in line. Right: Aligns the horizontal position of the selected objects, putting the right-most edges in line. Center: Aligns the horizontal position of the selected objects, putting the centers in line. Tops: Aligns the horizontal position of the selected objects, putting the tops in line. Middles: Aligns the horizontal position of the selected objects, putting the middles in line. Bottoms: Aligns the horizontal position of the selected objects, putting the bottoms in line.

DigitalOcean Referral Badge

ToolBox Window – Label Tool - Visual Basic Questions and Answers Download Pdf

Recent Posts