Skip to content
CodeKruPro

Which module has the higher defect density?

QuizEasy-MediumAsked in: Cognizant

Module A has 24 defects in 8,000 lines of code. Module B has 30 defects in 15,000 lines of code. Which has the higher defect density?

  • Module A: 3 defects per 1,000 lines, against 2 for module B
  • Module B, because it has more defects
  • They are the same
  • It cannot be compared without knowing the language

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in