Question
A shop has 4 distinct flavors of ice-cream. One can purchase any number of scoops of any flavor. The order in which the scoops are purchased is inconsequential. If one wants to purchase 3 scoops of ice-cream, in how many ways can one make that purchase?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2025 answer key
Solution
Use the combinations with repetition (stars and bars) formula for choosing unordered items from types.
Selecting scoops from distinct flavors where repetition is allowed and order does not matter is the number of non-negative integer solutions to :
Option (B)
Using (ordered selections) or (ordered without repetition).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2025 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 10 of 65
- Section
- General Aptitude
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.