Explanation A computer can be declared faulty in two cases
1) It is actually faulty and correctly declared, so the probability =(p*q)
2) Not faulty and incorrectly declared, so the probability =(1-p)*(1-q)
the probability of a computer being declared faulty= (p*q)+(1-p)*(1-q)