Software Engineering · Question 29 · Hard
Software Engineering question 29
In mutation testing, 50 mutants are generated. 5 of them are equivalent mutants (they behave exactly like the original program), and the test suite kills 36 mutants. What is the mutation score?
- 80%
- 72%
- 90%
- 64%
Answer and explanation
Answer: A. 80%
Explanation: Mutation score = killed / (total - equivalent) = 36 / (50 - 5) = 36 / 45 = 80%. Equivalent mutants are excluded because no test can kill them.
Previous: Using Basic COCOMO in organic mode, Effort = 2.4 × (KLOC)^1.05 person-months… · Next: Why should you avoid rebasing commits that have already been pushed to a…
Practise software engineering
Try a fresh set of software engineering questions with an explanation after every answer, free and without signing up: Software Engineering practice. Or sit a full placement mock test.
More software engineering questions
- A Scrum team completed 30, 34 and 26 story points in its last three sprints…
- What is the cyclomatic complexity of this procedure?
- Using Basic COCOMO in organic mode, Effort = 2.4 × (KLOC)^1.05 person-months…
- Why should you avoid rebasing commits that have already been pushed to a…
More technical & programming practice
Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming · Java · Python · Data Structures · Algorithms
LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge