True/False Indicate whether the
statement is true or false.
|
|
|
1.
|
At times, you may need to create a selection structure that can choose from
several alternatives.
|
|
|
2.
|
Using nested If…Then…Else statements is a much more convenient way
of coding a multiple-path selection structure than using the If…ElseIf…Else
statement.
|
|
|
3.
|
Variables declared with the Integer, Decimal, and Double data types can store
numbers only.
|
|
|
4.
|
The value stored in the Text property is treated as alphanumeric text.
|
|
|
5.
|
As is true in most programming languages, string comparisons in Visual Basic are
not case sensitive.
|
|
|
6.
|
In Visual Basic, the uppercase version of a letter is the same as its lowercase
counterpart.
|
|
|
7.
|
Each character on the computer keyboard is stored differently in the
computer’s internal memory.
|
|
|
8.
|
Unicode assigns a unique numeric value to each character used in the written
languages of the world.
|
|
|
9.
|
The data type of the expressions in a Select Case statement does not need to be
compatible with the data type of the selectorExpression.
|
|
|
10.
|
The If...Then...Else statement is the only statement you can use to code a
multiple-path selection structure in Visual Basic.
|
|
|
11.
|
A radio button is created using the RadioButton tool in the toolbox, and it
allows the user to choose more than one choice in a group of two or more related but not mutually
exclusive choices.
|
|
|
12.
|
The minimum number of radio buttons in a group is two, because the only way to
deselect a radio button is to select another radio button.
|
Multiple Choice Identify the
choice that best completes the statement or answers the question.
|
|
|
13.
|
Multiple-path selection structures or ____ selection structures can choose from
several alternatives.
a. | complex | c. | extended | b. | staged | d. | control |
|
|
|
14.
|
The ____ data type can store alphanumeric text, which is text that may contain
letters, numbers, or special characters.
a. | String | c. | Integer | b. | Double | d. | Text |
|
|
|
15.
|
The three-character ID used when naming String variables (and String named
constants) is ____.
|
|
|
16.
|
The code to create a String variable is ____.
a. | dim string strCode | c. | dim strCode as string | b. | dim strCode
string | d. | dim Codestr as
string |
|
|
|
17.
|
____ is the universal coding scheme for characters.
a. | EBCDIC | c. | ASCII | b. | ANSI | d. | Unicode |
|
|
|
18.
|
You use the ____ method to convert a string to uppercase.
a. | ConvToUpper | c. | ToUpper | b. | strUpper | d. | ConvUpper |
|
|
|
19.
|
The Select Case statement begins with the keywords Select Case, followed by a(n)
____.
a. | listExpression | c. | expressionList | b. | expressionSelector | d. | selectorExpression |
|
|
|
20.
|
To include more than one expression in an expressionList, you separate each
expression with a ____.
a. | comma | c. | semicolon | b. | forward slash | d. | period |
|
|
|
21.
|
You can specify a range of values in a Case clause’s ____, such as the
values 1 through 4 or values greater than 10.
a. | statementList | c. | End Case | b. | expressionList | d. | Case |
|
|
|
22.
|
Each radio button can have a unique ____ key that allows the user to select the
button using the keyboard.
a. | choice | c. | select | b. | contact | d. | access |
|
|
|
23.
|
The recommended maximum number of radio buttons in a group is ____.
|
|
|
24.
|
The selected button in a radio button group is called the ____ radio button and
is either the radio button that represents the user’s most likely choice or the first radio
button in the group.
a. | default | c. | likely | b. | first | d. | preselected |
|
|
|
25.
|
You designate a radio button as the default radio button by setting the
button’s ____ property to the Boolean value True.
a. | Display | c. | Selected | b. | Default | d. | Checked |
|