Algorithm Testing
24
1. Which of the following can be detected by dry
run?
(1) Run-time error
(2) Logic error
(3) Syntax error
A. (1) only
B. (2) only
C. (1) and (3) only
D. (2) and (3) only
2. Which of the following statements about test
data is not...
More
Algorithm Testing
24
1. Which of the following can be detected by dry
run?
(1) Run-time error
(2) Logic error
(3) Syntax error
A. (1) only
B. (2) only
C. (1) and (3) only
D. (2) and (3) only
2. Which of the following statements about test
data is not correct?
A. Valid data should be included in test data.
B. Invalid data should be included in test data.
C. Test data should be able to test all parts of a
program.
D. Boundary cases in test data refer to
improper entries.
3. Which of the following statements about dry
run are not correct?
(1) Dry run is not applicable to programs
written in pseudocode.
(2) Dry run is a built-in facility of most
programming software to help
debugging.
(3) Dry run usually involves the building of
one or more trace tables.
A. (1) and (2) only
B. (1) and (3) only
B
B
D
D
C. (2) and (3) only
D. (1), (2) and (3)
4. Which of the following is not a syntax error?
A. Typing mistake
B. Data type mismatch
C. Division by zero
D. Missing reserved word
Study the followi
Less