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?
- A. 4 defects; DRE 98%
- B. 13.2 defects; DRE 80%
- C. 20 defects; DRE 90%
- 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.
Practise more Software Engineering, Git and Cloud Basics questionsSoftware Engineering, Git and Cloud Basics: notes and key points
More Software Engineering, Git and Cloud Basics questions
- A class has fields a, b, c, d, e and methods m1 (uses a, b), m2 (uses b, c), m3 (uses d) and m4 (uses d, e). Using the Chidamber-Kemerer…
- main has commits A-B-C-D-E (E is main's tip). feature was created at C and got commits F and G; then main was merged into feature…
- A service runs on 3 identical servers, each 95% available and failing independently; it works when at least 2 of the 3 are up (a majority…
- A system needs all three of its components to work. Their failure times are exponential with MTTFs of 2,000, 5,000 and 10,000 hours. What…
- Two inspectors review the same document independently. Inspector 1 finds 30 defects, inspector 2 finds 24, and 12 defects are found by…
- To estimate remaining defects, 20 artificial defects are seeded into a program. Testing then finds 15 of the seeded defects and 45 genuine…