Placement AptitudeVery hardTCS Digital · Infosys SP · Accenture
In how many ways can 10 identical balls be placed in 4 distinct boxes so that every box has at least 1 ball and no box has more than 5?
- A. 84
- B. 68
- C. 80
- D. 64
Correct answer: B. 68
Positive solutions of x1+...+x4 = 10 number C(9,3) = 84. Solutions with some xi >= 6: put xi' = xi - 5 (still positive) so the sum is 5, giving C(4,3) = 4 each, 16 in all (two boxes cannot both exceed 5). 84 - 16 = 68.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- How many distinct arrangements of all the letters of MISSISSIPPI have no two S's adjacent?
- A fair coin is tossed 6 times. What is the probability that no two consecutive tosses are both heads?
- A committee of 4 is chosen from 5 men (including Arun and Bala) and 4 women. It must contain at least one woman, and Arun and Bala cannot…
- In how many ways can 10 identical balls be distributed among 4 distinct boxes so that no box receives more than 4 balls?
- A clerk puts 5 distinct letters at random into 5 addressed envelopes, one per envelope. In how many of the 120 arrangements are exactly…
- A random permutation of 1, 2, 3, 4, 5, 6 is formed. What is the probability that exactly one number is in its natural position?