GATE / CS ARCHIVE

GATE CSE 2010 / QUESTION 26

Fault declarations with an imperfect test

Discrete Mathematics · Probability & Random Variables · Full GATE CSE 2010 paper

GATE 2010, Q26 2 marks · MCQ
Report issue

Probability & Random Variables

Question 26, GATE 2010: A computer assembly is faulty with probability p. A test gives the correct result for any computer with probability q. What is the probability that a computer is declared faulty?
Options: (A) pq+(1−p)(1−q); (B) (1−q)p; (C) (1−p)q; (D) pq.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Partition computers into faulty with probability p and nonfaulty with probability 1−p. The test declares a faulty computer faulty with conditional probability q, while it incorrectly declares a nonfaulty computer faulty with probability 1−q. Total probability gives pq+(1−p)(1−q), option A. The phrase correct result for any computer supplies the same conditional accuracy q in each class.

A probability tree has two paths ending in “declared faulty”: truly faulty then correctly identified, probability pq; or truly sound then incorrectly classified, probability (1−p)(1−q). These events are disjoint, so add them. Checks: if q=1 the result is p; if q=0 the result is 1−p; if q=1/2 it is 1/2 regardless of p.

Original paper, page 6