CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE

A module of 20000 lines of code has 45 defects found in testing. What is the defect density, in defects per KLOC?

  1. A. 0.44
  2. B. 2.25
  3. C. 45
  4. D. 22.50

Correct answer: B. 2.25

20000 LOC = 20 KLOC; 45/20 = 2.25 defects per KLOC.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic