CS FundamentalsVery hardGATE CS · TCS NQT Prime · Product Company SDE

A mutation test run generated 50 mutants. 5 are equivalent mutants and 43 were killed. What is the mutation score, excluding equivalent mutants?

  1. A. 86.0%
  2. B. 100.6%
  3. C. 96.0%
  4. D. 95.6%

Correct answer: D. 95.6%

Mutation score = killed / (total − equivalent) = 43/45 = 95.6%. Dividing by the full total instead (43/50) would wrongly give 86.0%.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic