0% (0 out of 16 correct)
The questions marked with symbol have not been graded.
Responses to questions are indicated by the symbol.


WRONG1. Pseudocode is a planning tool that is applicable to all languages.   
C A. True
O B. False

See page 141
Level: medium



WRONG2. Attempting to add a numeric constant to a numeric field that contains non-numeric data will cause a syntax error.
O A. True
C B. False

See page 164
Level: medium



WRONG3. Simple PERFORMS are recommended over in-line PERFORMS for coding complex sets of instructions.
C A. True
O B. False

See page 150
Level: medium



WRONG4. A GO TO structure, found in many programming languages, is an example of an unconditional branch.
C A. True
O B. False

See page 140
Level: hard



WRONG5. The most common structured programming planning tool is the hierarchy chart.
O A. True
C B. False

See page 141
Level: medium



WRONG6. Flowcharts were originally used for project planning but now are somewhat dated.
C A. True
O B. False

See page 141
Level: medium



WRONG7. A conditional branch is never used by a well-designed program.
O A. True
C B. False

See page 140
Level: hard



WRONG8. 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.

O A. True
C B. False

See page 148
Level: medium



WRONG9. The logical control structure that specifies that instructions are to be executed in the order they appear is called sequence.
C A. True
O B. False

See page 144
Level: easy



WRONG10. The logical control structure that specifies the repeated execution of a series of steps is called CASE.
O A. True
C B. False

See page 146
Level: easy



WRONG11. The planning tool best used to illustrate a top-down approach to programming is
the hierarchy or structure chart.
C A. True
O B. False

See page 154
Level: easy



WRONG12. A run-time error will occur if you use a COBOL reserved word as a user-defined data-name.
O A. True
C B. False

See page 162
Level: medium



WRONG13. A logic error will occur if you have non-numeric data in a numeric field and perform arithmetic on that field.
C A. True
O B. False

See page 164
Level: medium



TEXT14. In structured programming, what do we call a set of instructions that perform a specific function? ________________________________________________________

YOUR ANSWER:

The suggested answer is A module



See page 139
Level: easy



TEXT15. The coding of modules in a hierarchical manner is called ______________________

YOUR ANSWER:

The suggested answer is Top-down programming


See page 140
Level: easy



TEXT16. What types of errors are minimized by the planning process? ___________________

YOUR ANSWER:

The suggested answer is logic errors


See page 139
Level: easy



TEXT17. What type of PERFORMs always end with an END-PERFORM? _______________

YOUR ANSWER:

The suggested answer is In-line


See page 143
Level: easy



TEXT18. The CASE structure is best illustrated by what COBOL statement?_______________

YOUR ANSWER:

The suggested answer is EVALUATE


See page 148
Level: hard



TEXT19. What is the problem with an infinite loop?__________________________________

YOUR ANSWER:

The suggested answer is it never terminates, it causes the program to crash


See page 147
Level: easy



TEXT20. What is another term for structured programming?____________________________

YOUR ANSWER:

The suggested answer is step-wise refinement, top-down programming

See page 140
Level: hard



TEXT21. Another name for Visual Table of Contents (VTOC)__________________________

YOUR ANSWER:

The suggested answer is structure chart or hierarchy


See page 156
Level: medium



TEXT22. Another term for Iteration is _____________________________________________

YOUR ANSWER:

The suggested answer is looping


See page 146
Level: easy



WRONG23. Which of the following is NOT a structured technique for well-designed programming in COBOL?
O A. top-down design
O B. step-wise refinement
O C. modularity
C D. unconditional branches
O E. PERFORM statements

See page 140
Level: medium



WRONG24. Which of the following is TRUE about hierarchy charts?
C A. They illustrate top-down design.
O B. They map out program logic.
O C. They are used to verify program logic.
O D. They are also called pseudocode.
O E. They are language-dependent.

See pages 142, 156
Level: medium



WRONG25. Which of the following is TRUE about pseudocode?
O A. It is a pictorial representation of the logical control structures.
O B. It illustrates top-down design.
O C. It is a language-dependent tool.
C D. It is designed specifically for representing the logic in structured programming.
O E. It is another term for VTOC.

See page 142
Level: medium



Retake Test