GATE / CS ARCHIVE

GATE CSE 2015 SET 3 / QUESTION 33

GATE CSE 2015 Set 3 Q33

Engineering Mathematics & Other Topics · Software Engineering · Full GATE CSE 2015 Set 3 paper

GATE 2015 Set 3, Q33 1 mark · NAT
Not in GATE 2027 syllabusReport issue

Software Engineering

Question 33, GATE 2015: A program is deliberately seeded with 100 artificial faults. Testing detects 159 faults in total, including 75 seeded faults. Assuming real and seeded faults have the same nature and distribution, estimate the number of undetected real faults.
Tap to enlarge
Answer & solution

Official answer: 28

1. The fraction 75/100 estimates the detection probability, not the fraction of detected faults that are artificial. First separate the 159 detected faults into 75 artificial and 84 real, then use the common detection-rate assumption only on the real population.

2. The detected seeded fraction is 75/100=0.75. Detected real faults number 159−75=84. Under equal detectability, estimated total real faults=84/0.75=112, leaving 112−84=28 undetected.

Original paper, page 64 · Answer key