CS FundamentalsVery hardProduct company interview · GATE level
Two inspectors review the same document independently. Inspector 1 finds 30 defects, inspector 2 finds 24, and 12 defects are found by both. Using the capture-recapture (Lincoln-Petersen) estimate, how many defects does the document probably contain, and how many are still undiscovered?
- A. About 60 in total; about 18 undiscovered
- B. About 60 in total; about 6 undiscovered
- C. About 42 in total; none undiscovered
- D. About 54 in total; about 12 undiscovered
Correct answer: A. About 60 in total; about 18 undiscovered
If inspector 2 caught 12 of inspector 1's 30 defects (40%), inspector 2 is assumed to catch about 40% of all defects, so the total N = 30 x 24 / 12 = 60. Distinct defects found = 30 + 24 - 12 = 42, so about 18 remain. 42 assumes the two inspectors together found everything; 6 subtracts the sum 54 instead of the union 42.
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
- To estimate remaining defects, 20 artificial defects are seeded into a program. Testing then finds 15 of the seeded defects and 45 genuine…
- In a class hierarchy, B, C and D extend A; E and F extend B; G extends E; H extends C. Using the Chidamber-Kemerer metrics with DIT(A) =…
- A risk has probability 0.4 and would cost ₹50 lakh. Three mitigations are proposed: M1 costs ₹6 lakh and cuts the probability to 0.1; M2…
- A Kanban team has on average 24 work items in progress and completes 8 items per week. By Little's law, what is the average lead time? If…
- A triple modular redundancy (TMR) design runs three identical modules and a voter that outputs the majority. Each module has reliability…
- A project's unadjusted function point count is 250. After the 14 general system characteristics are rated (0-5 each), the adjusted count…