True/False Indicate whether the
statement is true or false.
|
|
1.
|
Updating can mean adding a number to the value stored in a an
accumulator.
|
|
2.
|
A control array is a group of controls of the same type that have the same name
and share the same set of event procedures.
|
|
3.
|
A field is a single item of information about a person, place, or thing.
|
|
4.
|
In Windows applications, the File menu is normally the rightmost menu title in
the menu bar.
|
|
5.
|
The Edit menu is typically the first menu title in a Windows application.
|
Multiple Choice Identify the
choice that best completes the statement or answers the question.
|
|
6.
|
When using the ____ loop, the loop instructions are processed only if the
condition evaluates to false.
a. | Do Until | b. | Do While | c. | both a and
b | d. | None of the above |
|
|
7.
|
Assume that a user wants to enter and print the names of three employees.
Using the following code, how many different or unique names will be printed? strEmpName
= InputBox("Enter the employee's name") Do While UCase(strEmpName)
<> "DONE" Print strEmpName Loop
|
|
8.
|
"Updating" means to add to the value stored in the ____.
a. | counter | b. | accumulator | c. | both a and
b | d. | none of the above |
|
|
9.
|
All controls in an array must ____.
a. | be of the same type | b. | be the same size | c. | have the same value
in their Name property | d. | both a and c |
|
|
10.
|
The ____ function returns a value that indicates which dialog box button the
user selected.
a. | InputBox | b. | Msg | c. | MsgBox | d. | Value |
|
|
11.
|
The collection of information that a company keeps on all of the products that
it sells is an example of a ____.
a. | data file | b. | field | c. | program
file | d. | record |
|
|
12.
|
When you view a data file in a text editor, the fields will be separated by
____.
a. | hyphens | b. | commas | c. | periods | d. | forward slashes |
|
|
13.
|
Visual Basic prints positive numbers with a ____ and a trailing space.
a. | empty | b. | plus symbol | c. | leading | d. | none of the
above |
|
|
14.
|
If the txtName text box contains the string, Jill Light, ____ will return
Light.
a. | Left(txtName.Text, 4) | b. | Left(txtName.Text, 5) | c. | Right(txtName.Text,
6, 5) | d. | Right(txtName.Text, 5) |
|
|
15.
|
You can use the ____ function to extract one or more characters from the left
side of a string.
a. | IsNumeric | b. | Left | c. | Mid | d. | both b and c |
|
Completion Complete each
statement.
|
|
16.
|
A variable that is used to answer the question "How many?" is called
a(n) ____________________.
|
|
17.
|
Assigning a beginning value to a variable is referred to as
____________________.
|
|
18.
|
If a Code window belongs to a control array, Index as ____________________ will
appear inside the parentheses that follow the name of the event procedure.
|
|
19.
|
When you enter the word "red" in a text box that contains the word
"blue," the text box's ____________________ event occurs.
|
|
20.
|
When you use the Close button (Control menu box in Windows 3.1) to close a form,
the form's ____________________ event occurs.
|
|
21.
|
When creating data files to use with an application, the inventory number of an
individual piece of equipment would be placed in a ____________________.
|
|
22.
|
When you want to create a new sequential access file and then write data to it,
you need to open the file in ____________________ mode.
|
|
23.
|
The ____________________ property determines whether scroll bars appear on a
text box.
|
|
24.
|
If you want to make the letter "P" the access key for the Print menu,
you will need to enter ____________________ in the menu control's Caption property.
|
|
25.
|
To extract one or more characters from the right side of a string, use the Mid
function or the ____________________ function.
|