Site MapHelpFeedbackMultiple Choice Quiz
Multiple Choice Quiz
(See related pages)

1
Which of the following objects is a container?
A)MaskedTextBox
B)GroupBox
C)RadioButton
D)RichTextBox
2
The property used to display information in a TextBox is _______.
A)Caption
B)Name
C)Text
D)Appearance
3
In NameTextBox.Text, _______.
A)The property is NameTextBox
B)The property is Text
C)The object is Name
D)The object is Text
4
If you want to display text that cannot be modified by the user, use the _______.
A)TextBox control
B)Label control
C)Caption control
D)MaskedTextBox control
5
If you want to display text that can be modified by the user, use the _______.
A)TextBox control
B)Label control
C)Caption control
D)MaskedTextBox control
6
Assume that you are designing a form and it will be necessary for the user to type in his name. You should use a _____________ for inputting the user's name
A)Textbox
B)Label
C)Button
D)CheckBox
7
You can modify the setting in the _______ property if you want to align the text in a textbox to appear on the left side of the box
A)AlignLeft
B)Text
C)Left
D)TextAlign
8
In code, you can make the text in a text box display left-aligned by using ________.
A)ObjectName.TextAlign = HorizontalAlignment.Left
B)ObjectName.Alignment = Left
C)ObectName.Left = True
D)ObjectName.HorizontalAlignment = Left
9
Which of the following is the best choice when the user needs to input her social security number?
A)RichTextBox
B)TextBox
C)MaskedTextBox
D)GroupBox
10
You are designing a form and you need a control that will be used for the user to type a brief summary of his work experience. You want to allow formatting options and multiple lines. The best control for this task would be a _______.
A)RichTextBox
B)TextBox
C)MaskedTextBox
D)GroupBox







Bradley:Programming in VB 2008Online Learning Center

Home > Chapter 2 > Multiple Choice Quiz