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?
- A. 9 for both, because with only two parameters every pair is a full combination
- B. 3 pairwise versus 9 exhaustive
- C. 6 pairwise versus 9 exhaustive
- 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.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A team has run the same 300 regression tests every release for two years. They now find almost no bugs, yet customers report new ones in…
- A product passes every test and has almost no defects, yet users reject it because it does not solve their actual workflow. Which testing…
- Risk scores are likelihood x impact, each rated 1-5. Feature A: 4 and 2. Feature B: 2 and 5. Feature C: 3 and 3. Feature D: 5 and 1. In…
- Running a regression suite manually takes 40 hours per cycle. Automating it costs 300 hours up front; afterwards each cycle needs 2 hours…
- In standard terminology, a programmer misreads the specification (1), which leads to a wrong comparison operator in the code (2), which…
- Which set of exit criteria is most appropriate for ending a system-test cycle?