Placement AptitudeVery hardTCS NQT · Infosys · Capgemini pattern
Bag A has 2 red and 4 white balls; Bag B has 6 red and 3 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?
- A. 2/3
- B. 2/3*
- C. 1/3
- D. 1/4
Correct answer: C. 1/3
P(red|A) = 2/6, P(red|B) = 6/9, and each bag is chosen with probability 1/2. By Bayes' theorem, P(A|red) = P(red|A) / [P(red|A) + P(red|B)] = 1/3. Comparing only the red counts, quoting P(red|A) itself, or taking the complement, gives the other options.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- Bag A has 6 red and 2 white balls; Bag B has 5 red and 4 white balls. A bag is chosen at random and one ball is drawn from it. Given that…
- How many 4-digit even numbers greater than 3000 can be formed using the digits {0, 1, 3, 5, 7} without repetition (no leading zero)?
- How many 4-digit even numbers greater than 5000 can be formed using the digits {1, 2, 4, 6, 7} without repetition (no leading zero)?
- How many 4-digit even numbers greater than 4000 can be formed using the digits {3, 4, 5, 6, 8} without repetition (no leading zero)?
- How many 4-digit even numbers greater than 3000 can be formed using the digits {0, 2, 3, 5, 9} without repetition (no leading zero)?
- How many 4-digit even numbers greater than 2000 can be formed using the digits {1, 2, 5, 6, 9} without repetition (no leading zero)?