Multiple Response Identify one
or more choices that best complete the statement or answer the question.
|
|
|
Modified Multiple Choice
|
|
1.
|
A ____ is an input device.
|
|
2.
|
A ____ is an output device.
|
Multiple Choice Identify the
choice that best completes the statement or answers the question.
|
|
|

Figure 1-2
|
|
3.
|
Which item in the accompanying figure is a storage device?
|
|
4.
|
Which item in the accompanying figure is an input device?
|
|
5.
|
Most Visual Basic 2008 programs are ____ programs because they communicate with
the user through a graphical user interface (GUI).
a. | GUI-based | c. | event-driven | b. | indexed | d. | persistent |
|
|
6.
|
It is the ability of a computer to perform ____ operations that separates it
from other types of calculating devices.
a. | arithmetic | c. | logical | b. | input | d. | output |
|
|
7.
|
The ____ of a programming language is the set of rules that describe how the
programming language elements can be used.
a. | logic | c. | syntax | b. | semantics | d. | GUI |
|
|
8.
|
The characteristics of GUI controls such as buttons and text boxes can be set
using the ____ window in the Visual Studio IDE.
a. | Characteristics | c. | Properties | b. | Attributes | d. | Values |
|
|
9.
|
The Auto Hide button on the Toolbox title bar contains a ____ icon which
indicates whether the Toolbox will remain open.
a. | lock | c. | minimize | b. | checkmark | d. | pushpin |
|
|
10.
|
____ are used to control the color, size, name, and position on the screen of
the GUI components.
a. | Attributes | c. | Symbols | b. | Properties | d. | Indices |
|
|
11.
|
Which prefix should be used to name a Windows Form object?
|
|
12.
|
The size of a GUI object on a Windows Form object can be changed by dragging its
borders or by using the ____ property of the object.
a. | Dimensions | c. | Resolution | b. | Shape | d. | Size |
|
|
13.
|
A prefix of ____ should be used when naming Label objects.
|
|
14.
|
You can change the size or appearance of the text shown in a Label object by
using the ____ property.
a. | Font | c. | Label | b. | Caption | d. | Text |
|
|
15.
|
A prefix of ____ should be used when naming a PictureBox object.
|
|
16.
|
To select multiple objects on a Windows Form object, you must hold down the ____
key while clicking the objects to be selected.
|
|
17.
|
The unit of measurement for a selected PictureBox object is ____.
a. | picas | c. | pixels | b. | inches | d. | millimeters |
|
|
18.
|
A set of rules that specify how each code statement must be written is called
the ____ of the programming language.
a. | grammar | c. | glossary | b. | syntax | d. | roster |
|
|
19.
|
The ____ operator is used to separate an object name from the name of the
property to set in a Visual Basic code statement.
a. | assignment | c. | property | b. | dot | d. | arithmetic |
|
|
20.
|
When the ____ property of a GUI object is set to False, the object will not
appear on the form at runtime.
a. | Visible | c. | Show | b. | Display | d. | View |
|
|
21.
|
When the ____ property of a GUI object is set to False, the object will appear
dimmed on the form.
a. | Visible | c. | Targeted | b. | Enabled | d. | Active |
|
|
22.
|
A(n) ____ is used for denoting a comment statement.
a. | semi-colon (;) | c. | apostrophe (‘) | b. | period (.) | d. | comma (,) |
|
|
23.
|
Comments are displayed (by default) with ____.
a. | a green squiggly line | c. | blue text | b. | green text | d. | a blue squiggly
line |
|
|
24.
|
The prefix ____ should be used for naming a TextBox object.
|
|
25.
|
When naming a Label object, the ____ prefix should be used.
a. | label | c. | lab | b. | lbl | d. | txtlbl |
|
|
26.
|
A(n) ____ data type must be used in arithmetic operations.
a. | string | c. | character | b. | numeric | d. | Either A or B |
|
|
27.
|
A variable that will be used to contain only whole numbers should be declared as
a(n) ____ data type.
a. | Decimal | c. | Integer | b. | Double | d. | Single |
|
|
28.
|
A variable that will be used to hold only True or False values should be
declared as a(n) ____ data type.
a. | Boolean | c. | Integer | b. | Decimal | d. | Single |
|
|
29.
|
A prefix of ____ is used for variables defined as a String data type.
|
|
30.
|
A prefix of ____ is used to denote a variable defined as an Integer data
type
|
|
31.
|
A prefix of ____ is used to denote a variable defined as a Decimal data
type.
|
|
32.
|
Used with the ToString function, the ____ format specifier will display the
value 8976.43561 as $8,976.44.
a. | Fixed (F) | c. | General (G) | b. | Number (N) | d. | Currency (C) |
|
|
33.
|
The ____ operator is used to concatenate two strings.
|
|
|
 Figure 5-1
|
|
34.
|
As shown in the accompanying figure, a ____ object forces the user to select
only one option from a group of options.
a. | CheckBox | c. | TextBox | b. | RadioButton | d. | CheckList |
|
|
35.
|
When a RadioButton object is selected by the user, the ____ property changes
from False to True.
a. | Selected | c. | Checked | b. | Value | d. | Input |
|
|
36.
|
In an If...Then statement, the ____ symbol is used to test for
inequality.
|
|
37.
|
Every If statement block must be terminated by the ____ keyword.
a. | End If | c. | End | b. | If End | d. | Not If |
|
|
38.
|
An expression using the logical operator ____ will evaluate to true only when
both of the conditions are true.
|
|
39.
|
An expression using the logical operator ____ will evaluate to true when either
of the compound conditions is true.
|
|
40.
|
The logical operator ____ reverses the logical value of a condition.
|
|
41.
|
To end a Select Case structure, a(n) ____ statement is used.
a. | End Select | c. | Select End | b. | End Case | d. | Select Close |
|
|
42.
|
In a Select Case structure, the ____ statement includes all conditions not
specifically tested for in the other Case statements.
a. | Case Other | c. | Case Else | b. | Else | d. | All Else |
|
True/False Indicate whether the
statement is true or false.
|
|
43.
|
A computer program can perform addition, subtraction, multiplication, and
division operations on numeric data.
|
|
44.
|
If you write a computer program, and want to execute the same program many times
without rewriting it each time, you must save the program on disk.
|
|
45.
|
You cannot use the same name for two different GUI objects on a Windows Form
object.
|
|
46.
|
When modifying the Text property of a Windows Form object, you cannot use
spaces.
|
|
47.
|
A Label object allows a user to enter text into a program at runtime.
|
|
48.
|
Integer variables can be used to store fractional values.
|
|
49.
|
Calculations are preformed from right to left, working towards the equal
sign.
|
|
50.
|
Multiple radio buttons can be selected if the selected radio buttons are each in
different container objects.
|