If a computer code is correctly programmed, it gives 90% acceptable results. But if it is not correctly programmed, it gives only 40% acceptable results. From previous experience, it is observed that only 80% of codes are correctly programmed. If after a certain programming, the code gives 2 acceptable results, then the approximate probability that the code is correctly programmed is |
$\frac{81}{85}$ $\frac{9}{10}$ $\frac{17}{20}$ $\frac{13}{20}$ |
$\frac{81}{85}$ |
The correct answer is Option (1) → $\frac{81}{85}$ Let:
Given:
Using Bayes’ Theorem: $P(C \mid A) = \frac{P(A \mid C) \cdot P(C)}{P(A \mid C) \cdot P(C) + P(A \mid \neg C) \cdot P(\neg C)}$ $= \frac{0.81 \cdot 0.8}{0.81 \cdot 0.8 + 0.16 \cdot 0.2} = \frac{0.648}{0.648 + 0.032} = \frac{0.648}{0.68}$ $= \frac{648}{680} = \frac{81}{85} ≈ 0.9529$ Final Answer: Approximately 0.953 |