ISTQB Certified Tester Foundation Level v4.0 — Question 28
A requirement specifies that if the total amount of sales (TAS) made during the year by a corporate seller is 300,000€ or more, the bonus that must be paid to the seller is 100% of a certain amount agreed upon at the beginning of the year. The software contains a fault as it implements this requirement with the decision "IF (TAS = 300,000)" instead of "IF (TAS >= 300,000)". The application of the 3-value boundary value analysis to this problem consists of the following three test cases (TAS is an integer variable):
TC1 = 299,999 -
TC2=300,000 -
TC=300,001 -
Which of the following statements is TRUE?
Answer options
- A. TC1 would highlight the fault.
- B. TC2 would highlight the fault.
- C. TC3 would highlight the fault.
- D. None of the three test cases would highlight the fault.
Correct answer: C
Explanation
The correct answer is C because TC3 (300,001) exceeds the threshold set in the faulty condition and will demonstrate that the bonus is not awarded as expected. TC1 (299,999) does not meet the requirement, and TC2 (300,000) precisely matches the faulty condition, which will not expose the software's error.