The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+11 votes

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?

  1. $pq + (1 - p)(1 - q)$
  2. $(1 - q)p$
  3. $(1 - q)p$
  4. $pq$
asked in Probability by Boss (18.3k points)
edited by | 1.6k views

2 Answers

+24 votes
Best answer

answer = option A

in image below the ticks shows those branch where the result is declared as faulty.

so required probability = sum of those two branches $= pq + (1-p)(1-q)$

answered by Boss (30.7k points)
edited by
nice amar
+11 votes
I think a is the correct option ..

prob = pq + (1-p)(1-q)  // in words it means

(it is faulty)(machine detects correctly) + (it is not faulty)(machine detects incorrectly)
answered by Boss (14.3k points)
edited by
missed + between pq and (1 - p)(1 -q)

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

40,903 questions
47,558 answers
62,306 users