CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE
A module of 15000 lines of code has 41 defects found in testing. What is the defect density, in defects per KLOC?
- A. 0.37
- B. 2.73
- C. 41
- D. 27.33
Correct answer: B. 2.73
15000 LOC = 15 KLOC; 41/15 = 2.73 defects per KLOC.
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
- A function contains 9 binary decision points (if/while/for conditions), and no other branching. Using V(G) = (number of decision points) +…
- What does git rebase do differently from git merge when integrating a feature branch onto main?
- Why might a team deliberately choose NOT to use story points and instead estimate tasks directly in hours?
- For a embedded mode project with Basic COCOMO effort E = 131.1 person-months, the development time formula is D = 2.5 × E^0.32 months…
- A mutation test run generated 40 mutants. 6 are equivalent mutants and 28 were killed. What is the mutation score, excluding equivalent…
- Why does depending on abstractions (interfaces) rather than concrete classes, as the Dependency Inversion Principle recommends, make unit…