Consider a company that assembles computers. The probability of a faulty assembly of any computer is p. The company therefore subjects each computer to a testing process. This testing process gives the correct result for any computer with a probability of q. What is the probability of a computer being declared faulty?
A
pq + (1 - p) (1 - q)
B
(1 - q)p
C
(1 - p)q
D
pq
Correct Answer: pq + (1 - p) (1 - q)