Section 2.1 An Introduction to Visual Basic 2012
1.
Programming in VB 2012 is different from traditional programming environments because first you should
(A)
(B)
(C)
(D)
2.
write the code. input the data. name the buttons. draw the user interface.
D
GUI stands for
(A)
(B)
(C)
(D)
graphical user interface. graphing user introduction. graphical unit interface. graphical user input.
A
3.
Visual Basic first appeared about ten years ago. (T/F)
F
4.
A mouse click is an example of an event. (T/F)
T
Section 2.2 Visual Basic Controls
1.
Press F4 to
(A)
(B)
(C)
(D)
run a program. display the Properties window. display the Solution Explorer window. terminate a program.
B
2.
Which of the properties in a control's list of properties is used to give the control a meaningful name?
(A)
(B)
(C)
(D)
3.
Visual Basic access keys are created by using which symbol in a button's Text property?
(A)
(B)
(C)
(D)
4.
Tab key.
Space bar.
Enter key.
Backspace key.
A
Which of the following properties determines the words appearing in a form's title bar?
(A)
(B)
(C)
(D)
7.
Set the Text property to Com_pute.
Set the Text property to Com&pute.
Set the Text property to &Com_pute.
Set the Text property to comPute.
B
When a Visual Basic program is running, the user can move from one control to another using the keyboard by pressing the
(A)
(B)
(C)
(D)
6.
@
&
%
#
B
Which of the following steps specifies P as the access key for a button?
(A)
(B)
(C)
(D)
5.
Text
ContextMenu
ControlName
Name
D
Text
Caption
Name
Title
A
What effect will the following statement have? lblOne.Visible = False
(A)
(B)
(C)
(D)
Enable lblOne
Delete lblOne
Make lblOne invisible
It is not a valid Visual Basic statement.
C
8.
When creating a new program in Visual Basic, you are asked to supply a name for the program. If you do not specify a name, a default name is used. What is this default name?
(A)
(B)
(C)
(D)
9.
Wapplication followed by a number.