CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE

A system accepts a value from 18 to 78 inclusive. Using equivalence partitioning, what is the minimum number of test cases needed to cover all partitions?

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

Correct answer: A. 3

There are three partitions: below 18, 18 to 78 inclusive, and above 78; one representative from each partition suffices.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic