Question
Consider a software program that is artificially seeded with 100 faults. While testing this program, 159 faults are detected, out of which 75 faults are from those artificially seeded faults. Assuming that both real and seeded faults are of same nature and have same distribution, the estimated number of undetected real faults is _____.
Official answer and solution
- Official answer
- 28
- From
- Official GATE 2015 answer key
Solution
Apply Mills' fault-seeding model (capture-recapture estimation) to compute the total and undetected real faults.
Under Mills' fault-seeding model, artificially seeded faults are assumed to have the same probability of detection as inherent real faults.
Let:
- : number of artificially seeded faults
- : number of seeded faults detected
- Total detected faults
- : number of real faults detected
- : total estimated number of real faults in the software
Equating the detection ratios:
Total estimated real faults originally present is 112.
The question specifically asks for the estimated number of undetected real faults:
28
Reporting total real faults (112) instead of the undetected real faults (28 = 112 - 84).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 3
- Question
- 21 of 65, printed as CS Q.11
- Section
- Computer Science and Information Technology
This question is from a part of the syllabus that is no longer in GATE CS. It is kept because it was in the paper.
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.