CS FundamentalsVery hardProduct company interview · GATE level

A function has 4 independent integer inputs, each with a closed valid range. How many test cases do robust boundary value analysis (min-, min, min+, nom, max-, max, max+ for one variable at a time, the others at nominal), worst-case boundary value analysis (every combination of min, min+, nom, max-, max) and robust worst-case analysis (every combination of the 7 robust values) need?

  1. A. 17, 625 and 2401
  2. B. 24, 625 and 2401
  3. C. 25, 256 and 2401
  4. D. 25, 625 and 2401

Correct answer: D. 25, 625 and 2401

Robust BVA varies one input at a time over its 6 non-nominal values while the rest stay nominal, plus one all-nominal test: 6n + 1 = 25. Worst-case BVA takes the cross product of 5 values per input: 5^4 = 625. Robust worst-case takes 7 values per input: 7^4 = 2401. 24 forgets the shared all-nominal case; 17 is plain BVA (4n + 1); 256 uses 4 values per input.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic