CS FundamentalsVery hardProduct-company placement · ISTQB-style

A web form has exactly two parameters: browser (Chrome, Firefox, Safari) and OS (Windows, macOS, Linux). How many tests does all-pairs (pairwise) testing need, compared with exhaustive testing?

  1. A. 9 for both, because with only two parameters every pair is a full combination
  2. B. 3 pairwise versus 9 exhaustive
  3. C. 6 pairwise versus 9 exhaustive
  4. D. 9 pairwise versus 27 exhaustive

Correct answer: A. 9 for both, because with only two parameters every pair is a full combination

Each pair of values of the two parameters must appear, and there are 3 x 3 = 9 such pairs, which is exactly the exhaustive set. Pairwise only saves tests when there are three or more parameters.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic