Placement AptitudeHardCapgemini · AMCAT
20 identical laptops are to be shared among three labs A, B and C. A lab may get none, but Lab A can store at most 5. In how many ways can the laptops be shared?
- A. 120
- B. 126
- C. 111
- D. 80
Correct answer: C. 111
Without the cap, x + y + z = 20 has 22C2 = 231 solutions; those with A ≥ 6 number 16C2 = 120. So 231 − 120 = 111. 120 is the excluded count itself; 126 uses A ≥ 7 (i.e. a cap of 6); 80 forbids empty labs.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- A 4 × 4 square array of 16 dots is drawn (rows and columns equally spaced). How many triangles of non-zero area have all three vertices…
- Five offices stand around a circular courtyard, each next to two others. Each office is painted one of 4 colours so that neighbouring…
- Two fair dice are thrown together repeatedly until a total of either 6 or 7 appears. What is the probability that a 7 comes first?
- A fair coin is tossed until a head is immediately followed by a tail (the pattern HT). What is the expected number of tosses?
- The odds in favour of A solving a puzzle are 3 : 5 and the odds against B solving it are 7 : 2. If they work independently, what is the…
- A 4-digit number with all four digits different is chosen at random. What is the probability that it is even?