Placement AptitudeHardHCL · Tech Mahindra pattern
12 identical apples are shared among 4 children so that each child gets at least 1 and at most 5 apples. In how many ways can this be done?
- A. 81
- B. 125
- C. 165
- D. 85
Correct answer: D. 85
Give 1 to each: y₁ + … + y₄ = 8 with 0 ≤ yᵢ ≤ 4. Without the cap: 11C3 = 165. Remove the cases where some yᵢ ≥ 5: 4 × 6C3 = 80 (two children cannot both exceed 4). 165 − 80 = 85.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- In how many different ways can the letters of the word APPLE be arranged?
- Two fair dice are thrown. What is the probability that the sum of the numbers shown is exactly 7?
- A club of 10 members must elect a President and a Vice-President, and one person cannot hold both posts. In how many ways can this be done?
- Two fair coins are tossed together. What is the probability of getting at least one head?
- How many three-digit numbers can be formed in which every digit is odd and no digit repeats?
- In how many arrangements of the letters of the word LETTER do the two T’s come together?