1.
Pseudocode is a planning tool that is applicable to all languages.
A.
True
B.
False
2.
Attempting to add a numeric constant to a numeric field that contains non-numeric data will cause a syntax error.
A.
True
B.
False
3.
Simple PERFORMS are recommended over in-line PERFORMS for coding complex sets of instructions.
A.
True
B.
False
4.
A GO TO structure, found in many programming languages, is an example of an unconditional branch.
A.
True
B.
False
5.
The most common structured programming planning tool is the hierarchy chart.
A.
True
B.
False
6.
Flowcharts were originally used for project planning but now are somewhat dated.
A.
True
B.
False
7.
A conditional branch is never used by a well-designed program.
A.
True
B.
False
8.
The logical control structure that is used when there are numerous paths to be followed depending on the contents of a given field, is called selection.
A.
True
B.
False
9.
The logical control structure that specifies that instructions are to be executed in the order they appear is called sequence.
A.
True
B.
False
10.
The logical control structure that specifies the repeated execution of a series of steps is called CASE.
A.
True
B.
False
11.
The planning tool best used to illustrate a top-down approach to programming is
the hierarchy or structure chart.
A.
True
B.
False
12.
A run-time error will occur if you use a COBOL reserved word as a user-defined data-name.
A.
True
B.
False
13.
A logic error will occur if you have non-numeric data in a numeric field and perform arithmetic on that field.
A.
True
B.
False
14.
In structured programming, what do we call a set of instructions that perform a specific function? ________________________________________________________
Answer:
15.
The coding of modules in a hierarchical manner is called ______________________
Answer:
16.
What types of errors are minimized by the planning process? ___________________
Answer:
17.
What type of PERFORMs always end with an END-PERFORM? _______________
Answer:
18.
The CASE structure is best illustrated by what COBOL statement?_______________
Answer:
19.
What is the problem with an infinite loop?__________________________________
Answer:
20.
What is another term for structured programming?____________________________
Answer:
21.
Another name for Visual Table of Contents (VTOC)__________________________
Answer:
22.
Another term for Iteration is _____________________________________________
Answer:
23.
Which of the following is NOT a structured technique for well-designed programming in COBOL?
A.
top-down design
B.
step-wise refinement
C.
modularity
D.
unconditional branches
E.
PERFORM statements
24.
Which of the following is TRUE about hierarchy charts?
A.
They illustrate top-down design.
B.
They map out program logic.
C.
They are used to verify program logic.
D.
They are also called pseudocode.
E.
They are language-dependent.
25.
Which of the following is TRUE about pseudocode?
A.
It is a pictorial representation of the logical control structures.
B.
It illustrates top-down design.
C.
It is a language-dependent tool.
D.
It is designed specifically for representing the logic in structured programming.
E.
It is another term for VTOC.
This is the end of the test. When you have completed all the questions and reviewed your answers, press the button below to grade the test.