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?

  1. A. 0.37
  2. B. 2.73
  3. C. 41
  4. D. 27.33

Correct answer: B. 2.73

15000 LOC = 15 KLOC; 41/15 = 2.73 defects per KLOC.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic