GateAI
Probability and Statistics

GATE CSE 2026 Set 1 · Q11

MCQ1 markMedium

Time

An urn contains one red ball and one blue ball. At each step, a ball is picked uniformly at random from the urn, and this ball together with another ball of the same color is put back in the urn. The probability that there are equal number of red and blue balls after two steps is

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: B) 1/3

Probability and Statistics

Let RR denote a red ball and BB denote a blue ball.

Initial state: Urn contains 1R+1B1R + 1B (Total = 22 balls).

Step 1:

  • With probability 12\frac{1}{2}, an RR is drawn. It is replaced along with an additional red ball. The urn now has 2R+1B2R + 1B (Total = 33 balls).

  • With probability 12\frac{1}{2}, a BB is drawn. It is replaced along with an additional blue ball. The urn now has 1R+2B1R + 2B (Total = 33 balls).

Step 2:

  • If urn state is (2R,1B)(2R, 1B):

    • To get an equal number of red and blue balls after step 2 (i.e., 2R+2B2R + 2B), a blue ball must be drawn in this step.

    • Probability of drawing B=13B = \frac{1}{3}.

    • Joint probability for path R→B=12×13=16R \to B = \frac{1}{2} \times \frac{1}{3} = \frac{1}{6}.

  • If urn state is (1R,2B)(1R, 2B):

    • To get an equal number of red and blue balls after step 2 (i.e., 2R+2B2R + 2B), a red ball must be drawn in this step.

    • Probability of drawing R=13R = \frac{1}{3}.

    • Joint probability for path B→R=12×13=16B \to R = \frac{1}{2} \times \frac{1}{3} = \frac{1}{6}.

Total Probability:

P(equal R and B)=16+16=26=13P(\text{equal } R \text{ and } B) = \frac{1}{6} + \frac{1}{6} = \frac{2}{6} = \frac{1}{3}

Hence, the correct option is (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 Probability and Statistics previous year question is Q11 of the GATE CSE 2026 Set 1 paper. Find more GATE CSE PYQs on Probability and Statistics in Engineering Mathematics, 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 Probability and Statistics 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.

Probability and Statistics in GATE CSE

Probability and Statistics has 46 GATE CSE PYQs across 23 papers from 2011 to 2026. 9 of them are 1-mark MCQs like this one, and GATE CSE 2026 Set 1 has 2.

How GATE tests Probability and Statistics

More from GATE CSE 2026 Set 1

Share this solution

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

GateAI solution cardGATE CSE 2026 Set 1 · Q11 · MCQ

An urn contains one red ball and one blue ball. At each step, a ball is picked uniformly at random from the urn, and this ball together with another ball of the same color is put back in the urn. The probability that there are equal number of red and blue balls after two steps is

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.