Interview Questions and Answers :: Broadcom Ltd
Home > Experience Archives > Broadcom Ltd > Interview Question Set 1 > Discussion
2. A bag contains five balls numbered 1,2,3,4,5. Another bag contains six balls numbered 1,2,3,4,5,6. One ball is drawn at random from each ball. Find the probability that (i) both balls have the same number.(ii) the sum of the numbers on the balls is 9
Answer:
Make a table.
Bag 1 Bag 2 Sum
1 1 2
1 2 3
1 3 4
1 4 5
1 5 6
.
.
.
5 1 6
5 2 7
5 3 8
5 4 9
5 5 10
5 6 11
i) Then count the total number of outcomes.
There are 30 in all (5x6).
Then count the times that the ball from Bag 1 is the same as Bag 2.
There are 5 of those (1-1,2-2,3-3,4-4,5-5).
So the probability of two balls identical is
P=5/30=1/6
ii) Count the number of sums that equal 9.
There are 3 outcomes (3-6,4-5,5-4).
There are 30 total outcomes.
Make a table.
Bag 1 Bag 2 Sum
1 1 2
1 2 3
1 3 4
1 4 5
1 5 6
.
.
.
5 1 6
5 2 7
5 3 8
5 4 9
5 5 10
5 6 11
i) Then count the total number of outcomes.
There are 30 in all (5x6).
Then count the times that the ball from Bag 1 is the same as Bag 2.
There are 5 of those (1-1,2-2,3-3,4-4,5-5).
So the probability of two balls identical is
P=5/30=1/6
ii) Count the number of sums that equal 9.
There are 3 outcomes (3-6,4-5,5-4).
There are 30 total outcomes.
Bag 1 Bag 2 Sum
1 1 2
1 2 3
1 3 4
1 4 5
1 5 6
.
.
.
5 1 6
5 2 7
5 3 8
5 4 9
5 5 10
5 6 11
i) Then count the total number of outcomes.
There are 30 in all (5x6).
Then count the times that the ball from Bag 1 is the same as Bag 2.
There are 5 of those (1-1,2-2,3-3,4-4,5-5).
So the probability of two balls identical is
P=5/30=1/6
ii) Count the number of sums that equal 9.
There are 3 outcomes (3-6,4-5,5-4).
There are 30 total outcomes.
Report Error
Report Error
Please Login First Click Here