CS FundamentalsModerateTCS NQT · Infosys pattern

A black-box technique divides the input domain into classes whose members the program should treat the same way, then tests one value from each class. What is it called?

  1. A. Boundary value analysis
  2. B. Equivalence class partitioning
  3. C. Statement coverage
  4. D. Mutation testing

Correct answer: B. Equivalence class partitioning

Equivalence partitioning picks one representative per class (valid and invalid). Boundary value analysis tests the edges of those classes; statement coverage and mutation testing are white-box measures.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic