CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE

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

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

Correct answer: A. 3

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

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic