Placement AptitudeHardTCS NQT · AMCAT

A basket holds 3 identical apples, 4 identical oranges and 2 mangoes of different varieties (so the mangoes can be told apart). In how many ways can a selection of at least one fruit be made?

  1. A. 79
  2. B. 59
  3. C. 80
  4. D. 511

Correct answer: A. 79

Apples: 0–3 (4 choices); oranges: 0–4 (5 choices); each mango in or out (2 × 2 = 4). 4 × 5 × 4 − 1 (the empty selection) = 79. 59 treats the mangoes as identical (3 choices); 511 = 2⁹ − 1 treats all nine fruits as different.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic