CS FundamentalsHardInfosys · Cognizant GenC

A system accepts an age from 18 to 60 inclusive. Using equivalence partitioning, what is the minimum number of test cases to cover all partitions?

  1. A. 2
  2. B. 4
  3. C. 5
  4. D. 3

Correct answer: D. 3

There are three partitions (below 18, 18 to 60, above 60), and one representative from each is enough.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic