CS FundamentalsHardGATE CS · TCS NQT Prime · Product Company SDE

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

  1. A. 6
  2. B. 0.60
  3. C. 30
  4. D. 1.67

Correct answer: B. 0.60

50000 LOC = 50 KLOC; 30/50 = 0.60 defects per KLOC.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic