A developer mistypes a comparison operator, and during execution the program grants access it should have denied. The mistyped operator in the code is best described as which of the following?
- AA failure
- BA defect
- CAn error
- DA root cause analysis
A person makes an error (mistyping), which introduces a defect (the wrong operator in the code), which when executed causes a failure (access wrongly granted).
Why each option is right or wrong.
- B (correct). The mistyped operator in the code is the defect.
- A. The wrongly granted access observed during execution is the failure.
- C. The mistyping action by the developer is the error.
- D. Root cause analysis is an activity, not a term in the chain.
Reference: ISTQB CTFL Syllabus v4.0.1 section 1.2.3