GateAI
Probability and Statistics

GATE CSE 2015 Set 3 · Q37

NAT2 marksMedium

Time

Suppose XiX_i for i=1,2,3i = 1,2,3 are independent and identically distributed random variables whose probability mass functions are Pr⁡[Xi=0]=Pr⁡[Xi=1]=1/2\Pr[X_i = 0] = \Pr[X_i = 1] = 1/2 for i=1,2,3i = 1,2,3. Define another random variable Y=X1X2⊕X3Y = X_1 X_2 \oplus X_3, where ⊕\oplus denotes XOR. Then Pr⁡[Y=0∣X3=0]=\Pr[Y = 0 | X_3 = 0] = _________.

Your answerNumerical answer

Enter a value to check

Solution

Step-by-step verified solution

Official answer: 0.75

Probability and Statistics

We need to calculate the conditional probability Pr⁡[Y=0∣X3=0]\Pr[Y = 0 \mid X_3 = 0].

Given the definition of YY:

Y=(X1X2)⊕X3Y = (X_1 X_2) \oplus X_3

Conditioned on X3=0X_3 = 0, we have:

Y=(X1X2)⊕0=X1X2Y = (X_1 X_2) \oplus 0 = X_1 X_2

Thus:

Pr⁡[Y=0∣X3=0]=Pr⁡[X1X2=0∣X3=0]\Pr[Y = 0 \mid X_3 = 0] = \Pr[X_1 X_2 = 0 \mid X_3 = 0]

Since X1,X2,X_1, X_2, and X3X_3 are independent random variables, the distribution of X1X2X_1 X_2 is independent of the condition X3=0X_3 = 0:

Pr⁡[X1X2=0∣X3=0]=Pr⁡[X1X2=0]\Pr[X_1 X_2 = 0 \mid X_3 = 0] = \Pr[X_1 X_2 = 0]

Using the complement rule:

Pr⁡[X1X2=0]=1−Pr⁡[X1X2=1]\Pr[X_1 X_2 = 0] = 1 - \Pr[X_1 X_2 = 1]

Since X1X2=1X_1 X_2 = 1 occurs if and only if X1=1X_1 = 1 and X2=1X_2 = 1:

Pr⁡[X1X2=1]=Pr⁡[X1=1]×Pr⁡[X2=1]=12×12=14=0.25\Pr[X_1 X_2 = 1] = \Pr[X_1 = 1] \times \Pr[X_2 = 1] = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4} = 0.25

Therefore:

Pr⁡[Y=0∣X3=0]=1−0.25=0.75\Pr[Y = 0 \mid X_3 = 0] = 1 - 0.25 = 0.75

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 Q37 of the GATE CSE 2015 Set 3 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. 15 of them are 2-mark NAT questions like this one, and it is the only one in GATE CSE 2015 Set 3.

How GATE tests Probability and Statistics

More from GATE CSE 2015 Set 3

Share this solution

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

GateAI solution cardGATE CSE 2015 Set 3 · Q37 · NAT

Suppose Xi for i = 1,2,3 are independent and identically distributed random variables whose probability mass functions are [Xi = 0] = [Xi = 1] = 1/2 for i = 1,2,3. Define another random variable Y = X1 X2 ⊕ X3, where ⊕ denotes XOR. Then [Y = 0 | X3 = 0] = …

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.