CS FundamentalsVery hardProduct company interview · GATE level

Defects injected: 40 during requirements, 60 during design and 100 during coding. A requirements review removes 50% of the defects present at that point, a design review 60%, a code review 50%, and system testing 80%; each activity acts on all defects still present. How many defects reach the customer, and what is the overall defect removal efficiency?

  1. A. 4 defects; DRE 98%
  2. B. 13.2 defects; DRE 80%
  3. C. 20 defects; DRE 90%
  4. D. 13.2 defects; DRE 93.4%

Correct answer: D. 13.2 defects; DRE 93.4%

Requirements review: 40 x 0.5 = 20 left. Design adds 60 (80 present); the review removes 60%, leaving 32. Coding adds 100 (132); the code review leaves 66. Testing removes 80%, leaving 13.2 defects at release. Overall DRE = (200 - 13.2)/200 = 93.4%. Applying each review only to the defects injected in its own phase gives 20 + 24 + 50 = 94 before testing and 18.8 at release, and 80% is just the testing efficiency on its own.

More Software Engineering, Git and Cloud Basics questions

Exams that ask this topic