Section 1.1 An Introduction to Computers
1. Visual Basic is considered to be a
(A) first-generation language.
(B) package.
(C) higher-level language.
(D) machine language.
C
2. The person who actually runs a computer program is called a
(A) user.
(B) customer.
(C) client.
(D) tester.
(E) runner.
A
3. A collection of lines of instruction is called a(n)
(A) program.
(B) algorithm.
(C) system.
(D) programmer.
A
4. Which of the following is NOT considered to be one of the three basic features of a
program?
(A) input
(B) processing
(C) output
(D) 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) a mathematical formula that solves a problem.
(B) a tempo for classical music played in a coda.
(C) a logical sequence of steps that solve a problem.
(D) a tool that designs computer programs and draws the user interface.
C
2. Which of the following is the proper order of procedures used in the problem-solving
process?
(A) design, analysis, coding, testing
(B) analysis, testing, design, coding
(C) analysis, design, coding, testing
(D) analysis, design, testing, coding
(E) design, testing, analysis, coding
C
3. The process of finding and correcting errors in a program is called
(A) pseudocoding.
(B) debugging.
(C) algorithms.
(D) 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 problem-
solving 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) input/output
(B) terminal
(C) decision
(D) connector
(E) process
A
2. Pseudocode is
(A) data that have been encoded for security.
(B) the incorrect results of a computer program.
(C) a program that doesn't work.
(D) the obscure language computer personnel use when speaking.
(E) a description of an algorithm similar to a computer language.
E
3. Which one of the following is NOT one of the three basic types of statement structures?
(A) sequence
(B) loop
(C) decision
(D) 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) top-down chart
(B) flowchart
(C) both A and B
(D) neither A nor B
A
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) a top-down chart.
(B) a flowchart.
(C) a sample program.
(D) pseudocode.
B
6. 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) sequence structure
(B) decision structure
(C) looping structure
(D) unconditional branching
C
7. "Desk-checking" refers to
(A) the continual problem programmers have with losing things.
(B) timing a program to see how fast it completes its tasks.
(C) testing an algorithm at the flowchart stage using several different kinds of data.
(D) having a fellow programmer read your pseudocode to be sure it is understandable.
C
8. What does the rectangle flowchart symbol represent?
(A) input/output
(B) terminal
(C) decision
(D) connector
(E) process
E