QUESTION 1
What type of items are valid for use in the value list of a Case clause?
|
A. |
literals |
|
|
B. |
variables |
|
|
C. |
all of the above |
|
|
D. |
Expressions |
QUESTION 2
The acronym GUI stands for
|
A. |
graphical user input. |
|
|
B. |
||
|
C. |
graphing user introduction. |
|
|
D. |
graphical user interface. |
QUESTION 3
Keywords in Visual Basic are words that
|
A. |
should be used when naming variables. |
|
|
B. |
have special meaning and should not be used when naming variables. |
|
|
C. |
are used to name controls, such as TextBox1, Command2, etc. |
|
|
D. |
are used as prefixes for control names (such as txt, btn, lbl, and lst). |
QUESTION 4
Which of the following is NOT considered part of a good top-down design chart?
|
A. |
Modules should be as independent of each other as possible. |
|
|
B. |
The design should be readable. |
|
|
C. |
A module should accomplish as many tasks as possible. |
|
|
D. |
Modules should proceed from general to specific as you read down the chart. |
QUESTION 5
Constructs in which an If block is contained inside another If block are called:
|
A. |
multi-If blocks |
|
|
B. |
none of the above |
|
|
C. |
nested If blocks |
|
|
D. |
sequential If blocks |
QUESTION 6
The process of transmitting values to a Sub procedure is known as ______________.
|
A. |
conveying |
|
|
B. |
referencing |
|
|
C. |
passing |
|
|
D. |
sending |
QUESTION 7
1. Which property is available for most controls that allows you to hide/unhide them either manually by setting the property or by setting it during run time via code?
|
A. |
Visible |
|
|
B. |
Refresh |
|
|
C. |
View-Control |
|
|
D. |
Clear |
QUESTION 8
1. What does the rectangle flowchart symbol represent?
|
A. |
connector |
|
|
B. |
decision |
|
|
C. |
process |
|
|
D. |
input/output |
|
|
E. |
terminal |
QUESTION 9
1. Which of the following is NOT a main component of a personal computer?
|
A. |
disk drive |
|
|
B. |
keyboard |
|
|
C. |
receiver |
|
|
D. |
microprocessor |
QUESTION 10
1. A variable that is visible to every procedure in a form’s code without being passed is called a __________ variable.
|
A. |
local |
|
|
B. |
global |
|
|
C. |
public |
|
|
D. |
class-level |
QUESTION 11
1. When using the logical operator “And”, what part of the expression must be true?
|
A. |
only the right part |
|
|
B. |
only the left part. |
|
|
C. |
either the left or right part, but not both. |
|
|
D. |
both parts |
QUESTION 12
Which of the following statements is a valid assignment statement?
|
A. |
txtBox = “Hello World” |
|
|
B. |
“Hello World” = txtBox.Text |
|
|
C. |
Text.txtBox = “Hello World” |
|
|
D. |
txtBox.Text = “Hello World” |
QUESTION 13
In Visual Basic, tooltips assist by showing a small caption about the purpose of each icon on the Toolbar. How do you make a tooltip appear?
|
A. |
Hold your Alt key, then click the appropriate Toolbar icon to display its purpose. |
|
|
B. |
Right click the Toolbar icon, select purpose from the available options. |
|
|
C. |
Position the mouse pointer over the icon for a few seconds, the tooltip will appear. |
|
|
D. |
Hold your shift key, then click the appropriate Toolbar icon to display its purpose. |
QUESTION 14
1. Which of the following is NOT a reason for using procedures?
|
A. |
They break a complex problem down into smaller pieces. |
|
|
B. |
They make a program run faster. |
|
|
C. |
They can be reused easily. |
|
|
D. |
They make it possible for a team of people to work together on a single program. |
QUESTION 15
1. Which of the following is NOT a valid filename?
|
A. |
SALES.TXT |
|
|
B. |
MYFILE.TXT |
|
|
C. |
ONEFILE.TXT |
|
|
D. |
MYDATA*.TXT |
4 points
QUESTION 16
1. Which of the following is the proper order of procedures used in the problem-solving process?
|
A. |
analysis, design, testing, coding |
|
|
B. |
analysis, design, coding, testing |
|
|
C. |
design, testing, analysis, coding |
|
|
D. |
design, analysis, coding, testing |
|
|
E. |
analysis, testing, design, coding |
QUESTION 17
1. The three main logical operators are ________, _________, and ________.
|
A. |
False, And, True |
|
|
B. |
Or, Not, If |
|
|
C. |
And, Or, Not |
|
|
D. |
And, Not, If |
QUESTION 18
1. The symbol for the string concatenation operator is
|
A. |
# |
|
|
B. |
% |
|
|
C. |
! |
|
|
D. |
@ |
|
|
E. |
& |
QUESTION 19
1. Different items appearing in the same value list of a Select Case block must be separated by a ____________.
|
A. |
colon |
|
|
B. |
pair of quotation marks |
|
|
C. |
comma |
|
|
D. |
semi colon |
QUESTION 20
1. What effect will the following statement have? lblOne.Visible = False
|
A. |
Delete lblOne |
|
|
B. |
It is not a valid Visual Basic statement. |
|
|
C. |
Enable lblOne |
|
|
D. |
Make lblOne invisible |
QUESTION 21
1. What character is used to signify the beginning of a comment statement?
|
A. |
exclamation mark |
|
|
B. |
backslash |
|
|
C. |
asterisk |
|
|
D. |
apostrophe |
1. When the user clicks a button, _________ is triggered.
|
A. |
an event |
|
|
B. |
a method |
|
|
C. |
a setting |
|
|
D. |
a prompt |
QUESTION 23
1. A collection of lines of instruction is called a(n)
|
A. |
programmer |
|
|
B. |
algorithm |
|
|
C. |
program |
|
|
D. |
system |
QUESTION 24
1. A programmer would press the F4 key to
|
A. |
run a program. |
|
|
B. |
terminate a program. |
|
|
C. |
display the Solution Explorer window. |
|
|
D. |
display the Properties window. |
QUESTION 25
1. Top-down design refers to
|
A. |
a method of increasing the speed of a program. |
|
|
B. |
a program design where the key event procedures act like supervisors, delegating tasks to various Sub procedures. |
|
|
C. |
an obsolete programming practice in which a program is written without procedures in one large module. |
|
|
D. |
a method of organizing a team of programmers. |


0 comments