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?
- A. 86.0%
- B. 100.6%
- C. 96.0%
- 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%.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- Two components with availability 99.0% and 92.0% are connected in series (the system works only if both are up). What is the system's…
- A logging library needs to let client code add new, optional behaviours (timestamping, compression, encryption) to a basic file writer, in…
- What risk does a 'merge queue' (serialising merges to main, re-testing each change against the latest main before it actually lands)…
- A module of 50000 lines of code has 30 defects found in testing. What is the defect density, in defects per KLOC?
- Which of these is a core difference between Scrum and Kanban as commonly practised?
- A module of 15000 lines of code has 41 defects found in testing. What is the defect density, in defects per KLOC?