practice problems
Q1.
A. How many shortest paths from X to Y?
B. From AB?
S1.
A.
7R4U
=> 11!/7!4! = 330
B.
5!/3!2! * 5!/3!2! = 100
Q2. In a box, there are 10 balls: 4 red, 3 black, 2 white, 1 yellow. In how many ways can a child select 4 balls out of these 10 balls?
S2.
If all balls are distinct, answer is simply 10C4 = 210
If balls of same color are identical, which is typically the case, then:
All 4 same: 1
3 Same, 1 different: 2*3C1 = 6
2 same, 2 same: 3C2 = 3
2 Same, 1 diff, 1 diff: 3C1*3C1 = 9
All 4 different: 1
Total: 20
Q3. There are three papers of 100 marks each.
Then find the no. of ways a student can get 150 s.t. he scores at least 60% in two papers.
(only integer marks are given)
S3.
Let' say the marks in first 2 papers are x + 60, y + 60 and in third paper z marks.
So:
60 + x + 60 + y + z = 150 => x + y + z = 30
But we could have chosen any 2 papers. So there are 3C2 ways to choose the 2 papers.
So we will multiply the final answer with 3.
Now each of x,y,z can be 0 and we can apply stars and bars.
Stars and bars is for 'n' identical objects to be distributed in 'k' distinct buckets.
(n + k - 1)C(k-1)
n = 30, k = 3
32C2 = 496
Answer: 496*3 = 1488.
Comments
Post a Comment