Section 1.1 An Introduction to Computers
1.
Visual Basic is considered to be a
(A)
(B)
(C)
(D)
2.
The person who actually runs a computer program is called a
(A)
(B)
(C)
(D)
(E)
3.
user. customer. client. tester. runner.
A
A collection of lines of instruction is called a(n)
(A)
(B)
(C)
(D)
4.
first-generation language. package. higher-level language. machine language.
C
program. algorithm. system. programmer. A
Which of the following is NOT considered to be one of the three basic features of a program? (A)
(B)
(C)
(D)
input processing output store D
5.
Software refers to the people who work with computer hardware. (T/F)
F
6.
Visual Basic uses a graphical user interface. (T/F)
T
Section 1.2 Program Development Cycle
1.
An algorithm is defined as:
(A)
(B)
(C)
(D)
2.
Which of the following is the proper order of procedures used in the problem-solving process? (A)
(B)
(C)
(D)
(E)
3.
a mathematical formula that solves a problem. a tempo for classical music played in a coda. a logical sequence of steps that solve a problem. a tool that designs computer programs and draws the user interface.
C
design, analysis, coding, testing analysis, testing, design, coding analysis, design, coding, testing analysis, design, testing, coding design, testing, analysis, coding
C
The process of finding and correcting errors in a program is called
(A)
(B)
(C)
(D)
pseudocoding. debugging. algorithms. development cycles.
B
4.
In most cases, a well-written program need not be tested. (T/F)
F
5.
The analysis and design steps of program planning are largely independent of the particular computer language the programmer is using. (T/F)
T
6.
When starting a new program, it is best to start writing code as soon as possible to avoid wasting time thinking about it. (T/F)
F
7.
Often a problem is too difficult to understand until one writes the program. (T/F)
F
8.
Although the documentation step is usually listed last in the problem-solving process, it should actually begin when the problem is first defined and continue through the problemsolving process. (T/F)
T
9.
Order the steps in the program development cycle starting with 1 for the first step and so on.
____ Program design (devise an algorithm).
____ Test the program until it is error free.
____ Test the design.
____ Problem analysis (define the problem).
____ Determine the input and output.
____ Review the code.
____ Add new features.
____ Code the program.
____ Enter the program.
384127956
Section 1.3 Programming Tools
1.
What does the parallelogram flowchart symbol represent?
(A)
(B)
(C)
(D)
(E)
2.
Pseudocode is
(A)
(B)
(C)
(D)
(E)
3.
input/output terminal decision connector process
A
data that have been encoded for security. the incorrect results of a computer program. a program that doesn't work. the obscure language computer personnel use when speaking. a description of an algorithm similar to a computer language.
E
Which one of the following is NOT one of the three basic types of statement structures?
(A)
(B)
(C)
(D)
sequence loop decision input/output D
4.
Which of the following types of charts shows only the relationships between general program tasks without showing specific modules or directions for data flow?
(A)
(B)
(C)
(D)
5.
Suppose in the very early stages of the problem-solving process, your supervisor wants you to show her the relationships between the various processes that will be needed to solve the problem. The best way to do this would be to use
(A)
(B)
(C)
(D)
6.
sequence structure decision structure looping structure any of the above
C
"Desk-checking" refers to
(A)
(B)
(C)
(D)
8.
a top-down chart. a flowchart. a sample program. pseudocode. B
If you are writing a program that needs to repeat a series of calculations, what programming structure should you use to repeat the calculations?
(A)
(B)
(C)
(D)
7.
top-down chart flowchart both A and B neither A nor B
A
the