CS FundamentalsVery hardProduct company interview · GATE level
To estimate remaining defects, 20 artificial defects are seeded into a program. Testing then finds 15 of the seeded defects and 45 genuine ones. Assuming seeded and genuine defects are equally easy to find, how many genuine defects are estimated to remain?
- A. 60
- B. 15
- C. 5
- D. 45
Correct answer: B. 15
Testers found 15/20 = 75% of the seeded defects, so they are assumed to have found 75% of the genuine ones too: total genuine = 45 / 0.75 = 60, and 60 - 45 = 15 remain. 60 is the estimated total, not the remainder; 5 is the number of seeded defects still hidden. The estimate is only as good as the assumption that seeded defects resemble real ones.
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
- 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…
- A system has 200 unadjusted function points. Using the IFPUG value adjustment factor (14 characteristics, each rated 0 to 5), what is the…