30.
Logic errors, identified during debugging, arise when the programmer has:
a. Used incorrect grammar.
c. Failed to observe the basic rules of the programming language.
d. Overlooked problems that might arise during processing.
31.
The programmer instructs the computer to go to a program line that doesn't exist.
This is an example of a/an:
a. Logic error.
b. Syntax error.
c. Error trap.
d. Grammatical error.
32.
The age of an individual is incorrectly entered as 420 instead of 42. The error is
not detected by the program. This demonstrates a need for a/an:
a. Logic error.
b. Error trap.
c. Flowchart.
d. Pseudocode.
33.
During the testing phase, the programmer enters invalid data in order to ensure
that it will be:
a. Corrected.
b. Computed.
c. Detected and/or bypassed.
d. All of the above.
MD0058
2-23