2027 update} QUESTIONS AND ANSWERS
100% CORRECT
The terms "error", "failure", and "fault" (listed here in alphabetical order) are given
specific definitions in
The textbook, and in lecture, to replace the more general term "bug." For the next
three questions, match
Each term with its definition.
Error
Failure
Fault
A. An inability to make implicit requirements explicit
B. A defect in source code or in another document, such as a
,Requirements specification
C. An inconsistency in the test case scenario
D. The inability of a system to perform the correct function;
An incorrect output
E. A mistake made by a software engineer or programmer - correct answer e
D
B
Here are the seven steps of the Testing Process Model, listed in alphabetical order and
labeled P-V:
P. Capture the actual output A.
Q. Compare E and A. Different? Inform programmer.
R. Decide what to test.
S. Determine the expected output E.
T. Loop back to steps 1 or 2, if time permits.
,U. Run the system with the test case input
V. Select a test case input
What are the first, second, and third steps of the Testing Process Model? (1 pt.)
A. S, U, V
B. R, V, S
C. P, U, T
D. U, T, P
E. P, S, Q - correct answer b. R, V, S
What are the last two steps of the Testing Process Model? (1 pt.)
F. Q, T
G. V, P
H. S, Q
I. U, T
, J. R, U - correct answer f. Q, T
Usability testing and acceptance testing (1 pt.)
A. Are examples of validation, not verification
B. Are examples of white-box testing, not black-box testing
C. Use test cases that guarantee node coverage, not edge coverage
D. Are done primarily to test the understandability of the source code
E. All of the above - correct answer a. Are examples of validation, not verification
The primary purpose of unit testing is to (1 pt.)
A. Test the usability of a software unit
B. Test the correctness of a software unit
C. Test that all statements in a software unit are executed at least once
D. Test that all branches in a software unit are executed at least once