GateAI
Quantitative Aptitude

GATE CSE 2025 Set 1 · Q10

MCQ2 marksEasy

Time

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?

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: B) 20

Quantitative Aptitude

This problem corresponds to finding the number of combinations with repetition (multiset combinations or the stars and bars problem).

We need to select r=3r = 3 scoops from n=4n = 4 distinct flavors where repetition is allowed and order does not matter.

The formula for combinations with repetition is:

(n+r−1r)\binom{n + r - 1}{r}

Substituting n=4n = 4 and r=3r = 3:

(4+3−13)=(63)=6×5×43×2×1=20\binom{4 + 3 - 1}{3} = \binom{6}{3} = \frac{6 \times 5 \times 4}{3 \times 2 \times 1} = 20

Thus, there are 20 ways to make the purchase, which corresponds to option (B).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Quantitative Aptitude previous year question is Q10 of the GATE CSE 2025 Set 1 paper. Find more GATE CSE PYQs on Quantitative Aptitude in General Aptitude, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Quantitative Aptitude PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Quantitative Aptitude in GATE CSE

Quantitative Aptitude has 53 GATE CSE PYQs across 13 papers from 2011 to 2026. 27 of them are 2-mark MCQs like this one, and GATE CSE 2025 Set 1 has 4.

How GATE tests Quantitative Aptitude

More from GATE CSE 2025 Set 1

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2025 Set 1 · Q10 · MCQ

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?

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.