Filters
Question type

Study Flashcards

The ______property can prevent the user from resizing your application's form at runtime.


A) WindowState
B) ShowInTaskBar
C) MinMaxSize
D) FormBorderStyle

Correct Answer

verifed

verified

The ______property appears in parentheses so it will appear at the top of the alphabetical Property list.


A) Name
B) Text
C) Visible
D) all of the above

Correct Answer

verifed

verified

Which of the following displays a message box with the text "Hello World"?


A) MessageBox.Show("Hello World")
B) MessageBox.Display("Hello World")
C) MessageBox.Text("Hello World")
D) MessageBox.Send("Hello World")

Correct Answer

verifed

verified

The properties of a control are listed in the ______window.


A) Options
B) Properties
C) Solution Explorer
D) Project

Correct Answer

verifed

verified

Which of the following is not a valid value for the FormBorderStyle property?


A) Fixed3D
B) Sizable
C) FixedSingle
D) FixedDouble

Correct Answer

verifed

verified

In order to delete a control from a form, you should select the control and then __________.


A) click the Remove Item icon on the menu bar
B) click the Cut icon in the Properties window
C) press the Delete key on the keyboard
D) click Delete from the View menu

Correct Answer

verifed

verified

C

If a Label control's AutoSize property equals False and the label is not wide enough for the text assigned to the control, ________.


A) the text will be only partially displayed
B) none of the text will be displayed
C) the extra text is wrapped onto the next line or lines
D) the label will expand to fit the text

Correct Answer

verifed

verified

C

A label control may be added to a form by double-clicking on the Label control icon in the ______window.


A) Properties
B) ToolBox
C) Project
D) Designer

Correct Answer

verifed

verified

Which FormBorderStyle property setting causes the form to not be resizable, and it displays a thick border?


A) FixedDialog
B) Fixed3D
C) NonSizeable
D) ToolWindow

Correct Answer

verifed

verified

The color of the text in a Label control is determined by the ______property.


A) Color
B) Font
C) ForeColor
D) TextColor

Correct Answer

verifed

verified

When Visual Studio displays a new project, a blank form is shown in the ______window.


A) Properties
B) ToolBox
C) Project
D) Designer

Correct Answer

verifed

verified

What will the following section of code do when the user clicks the btnExit button? Private Sub btnExit_Click(ByVal sender As System.Object, _ ByVal e as System.EventArgs) Handles btnExit.Click Me) Close() End Sub


A) Shut down the computer
B) Log off the current user
C) Close the current form
D) All of the above

Correct Answer

verifed

verified

The ________________control uses a Label to display program status information and messages to the user.


A) LinkLabel
B) StatusStrip
C) ErrorProvider
D) TextBox

Correct Answer

verifed

verified

To lock all of the controls on a form during design time, ______________.


A) left-click an empty spot on the form, then click Locked in the properties window
B) right-click an empty spot on the form, then select the Lock Controls option from the pop-up menu
C) click Window on the Menu Bar, then click Lock Controls d right-click the form, then click the lock controls icon on the toolbar

Correct Answer

verifed

verified

If the Visible property of a control is set to False, it ______in the Designer window.


A) is grayed out
B) is no longer displayed
C) continues to be shown
D) becomes inactive

Correct Answer

verifed

verified

Assume you have a Button control named btnDisplayList. Which is the default name for an event procedure that will be executed when the user clicks on the control?


A) Click_btnDisplayList
B) btnDisplayList_Click
C) btnDisplayList_ClickEvent
D) btnDisplayList_ClickButton

Correct Answer

verifed

verified

How do you make a Label control's text display bold characters?


A) Select Font from the View menu, and then select the label.
B) Select the Label in the designer, and click the ellipses button next to Font in the Solution Explorer window.
C) Select the Label in the designer, and click the ellipses button next to Font in the Properties window.
D) Select the Label control and set the BoldText property to True in the Properties window.

Correct Answer

verifed

verified

Which property determines the characters that appear in the title bar of Form1?


A) Form1.Name
B) Form1.Text
C) Form1.Caption
D) Form1.Title

Correct Answer

verifed

verified

Which value of the SizeMode property is used to automatically adjust the size of a PictureBox control to fit the size of the image?


A) Normal
B) Zoom
C) CenterImage
D) AutoSize

Correct Answer

verifed

verified

D

The code template for an event handler identifies it as a type of ______procedure.


A) Module
B) Function
C) Method
D) Sub

Correct Answer

verifed

verified

Showing 1 - 20 of 36

Related Exams

Show Answer