CS FundamentalsHardGATE CS · Software Engineering · Advanced
A mutation tool generated 60 mutants. Review shows 10 of them are equivalent mutants, and the current test suite kills 30 of the others. The team then adds new tests that kill 8 more of the surviving mutants. What is the mutation score after the new tests, defined as killed / (total - equivalent)?
- A. 63.3%
- B. 80.0%
- C. 76.0%
- D. 60.0%
Correct answer: C. 76.0%
Equivalent mutants cannot be killed and are removed from the denominator: (30 + 8) / (60 - 10) = 76%. Counting them (38/60 = 63.3%) understates the quality; the score before the new tests was 60%.
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
- What is printed? python class S: def init(self): self.obs = [] def notify(self, x): for o in self.obs: o(x) log = [] def a(x)…
- What is printed? python class Cfg: inst = None def new(cls, args): if cls.inst is None: cls.inst = super().new(cls) return cls.inst def…
- A Kanban team's board holds on average 15 items (queued or in progress), and over a long period the team delivers 20 items in every 10…
- A method contains 3 if statements, 1 while loop and 1 for loop, with no && or || operators and no other branching. What is its cyclomatic…
- After committing by mistake, a developer runs git reset --soft HEAD~1. What is the result?
- A field accepts ages from 18 to 60 inclusive. Which set of test values best applies boundary value analysis?