Placement AptitudeVery hardTCS NQT · Infosys · Capgemini pattern

Bag A has 5 red and 6 white balls; Bag B has 2 red and 4 white balls. A bag is chosen at random and one ball is drawn from it. Given that the ball drawn is red, what is the probability that it came from Bag A?

  1. A. 5/11
  2. B. 11/26
  3. C. 15/26
  4. D. 5/7

Correct answer: C. 15/26

P(red|A) = 5/11, P(red|B) = 2/6, and each bag is chosen with probability 1/2. By Bayes' theorem, P(A|red) = P(red|A) / [P(red|A) + P(red|B)] = 15/26. Comparing only the red counts, quoting P(red|A) itself, or taking the complement, gives the other options.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic