CS FundamentalsVery hardProduct-company placement · ISTQB-style

Feature X takes the 'happy path' through 5 screens. An alternate flow can occur at screen 2 (2 variants) and an exception flow at screen 4 (3 variants), independent of each other. If each test covers one complete scenario, how many scenarios are needed to cover every combination of flows?

  1. A. 12
  2. B. 6
  3. C. 10
  4. D. 5

Correct answer: A. 12

Screen 2 has 3 possibilities (basic + 2 alternates) and screen 4 has 4 (basic + 3 exceptions), so all combinations = 3 x 4 = 12. Covering each flow at least once would need only 4 scenarios, which is the cheaper criterion.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic