GATE 2025 CS (CS1) – Question 10
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?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) 20
Explanation
This is a multiset selection of 3 scoops from 4 flavors: C(3+4-1,3)=C(6,3)=20.