shape
shape

ISTQB-Foundation -chapter4-question11

  • Home
  • ISTQB-Foundation -chapter4-question11

4.2 Black-box Test Techniques

FL-4.2.2 (K3) Use boundary value analysis to derive test cases

        4. A developer was asked to implement the following business rule.

INPUT: value (integer number)

IF (value ≤ 100 OR value ≥ 200) THEN write “value incorrect”

ELSE write “value OK”

You design the test cases using 2-value boundary value analysis.

Which of the following sets of test inputs achieves the greatest coverage?

a) 100, 150, 200, 201  

b) 99, 100, 200, 201  

c)  98, 99, 100, 101   

d) 101, 150, 199, 200  

Answer Explanation