GateAI
Probability and Statistics

GATE CSE 2021 Set 2 · Q29

MCQ2 marksMedium

Time

In an examination, a student can choose the order in which two questions (QuesA\text{QuesA} and QuesB\text{QuesB}) must be attempted. - If the first question is answered wrong, the student gets zero marks. - If the first question is answered correctly and the second question is not answered correctly, the student gets the marks only for the first question. - If both the questions are answered correctly, the student gets the sum of the marks of the two questions. The following table shows the probability of correctly answering a question and the marks of the question respectively. Assuming that the student always wants to maximize her expected marks in the examination, in which order should she attempt the questions and what is the expected marks for that order (assume that the questions are independent)?

GATE CSE 2021 Set 2 Q29 diagram

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: D) First QuesA and then QuesB. Expected marks 16.

Probability and Statistics

Let:

  • P(A)=0.8P(A) = 0.8, Marks(A)=10\text{Marks}(A) = 10

  • P(B)=0.5P(B) = 0.5, Marks(B)=20\text{Marks}(B) = 20

Since answering the questions are independent events:

  • P(both correct)=P(A)×P(B)=0.8×0.5=0.4P(\text{both correct}) = P(A) \times P(B) = 0.8 \times 0.5 = 0.4

### Case 1: First QuesA\text{QuesA}, then QuesB\text{QuesB}

  1. QuesA\text{QuesA} is wrong (probability 1−0.8=0.21 - 0.8 = 0.2): Marks = 00

  2. QuesA\text{QuesA} is correct, QuesB\text{QuesB} is wrong (probability 0.8×(1−0.5)=0.40.8 \times (1 - 0.5) = 0.4): Marks = 1010

  3. Both QuesA\text{QuesA} and QuesB\text{QuesB} are correct (probability 0.8×0.5=0.40.8 \times 0.5 = 0.4): Marks = 10+20=3010 + 20 = 30

E[MarksA→B]=(0.2×0)+(0.4×10)+(0.4×30)=0+4+12=16\begin{aligned} E[\text{Marks}_{A \to B}] &= (0.2 \times 0) + (0.4 \times 10) + (0.4 \times 30) \\ &= 0 + 4 + 12 = 16 \end{aligned}

### Case 2: First QuesB\text{QuesB}, then QuesA\text{QuesA}

  1. QuesB\text{QuesB} is wrong (probability 1−0.5=0.51 - 0.5 = 0.5): Marks = 00

  2. QuesB\text{QuesB} is correct, QuesA\text{QuesA} is wrong (probability 0.5×(1−0.8)=0.10.5 \times (1 - 0.8) = 0.1): Marks = 2020

  3. Both QuesB\text{QuesB} and QuesA\text{QuesA} are correct (probability 0.5×0.8=0.40.5 \times 0.8 = 0.4): Marks = 20+10=3020 + 10 = 30

E[MarksB→A]=(0.5×0)+(0.1×20)+(0.4×30)=0+2+12=14\begin{aligned} E[\text{Marks}_{B \to A}] &= (0.5 \times 0) + (0.1 \times 20) + (0.4 \times 30) \\ &= 0 + 2 + 12 = 14 \end{aligned}

Comparing the two expected values:

max⁡(E[MarksA→B],E[MarksB→A])=max⁡(16,14)=16\max(E[\text{Marks}_{A \to B}], E[\text{Marks}_{B \to A}]) = \max(16, 14) = 16

Therefore, the student should attempt First QuesA\text{QuesA} and then QuesB\text{QuesB}, yielding an expected mark of 1616.

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 Q29 of the GATE CSE 2021 Set 2 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 2-mark MCQs like this one, and GATE CSE 2021 Set 2 has 3.

How GATE tests Probability and Statistics

More from GATE CSE 2021 Set 2

Share this solution

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

GateAI solution cardGATE CSE 2021 Set 2 · Q29 · MCQ

In an examination, a student can choose the order in which two questions (QuesA and QuesB) must be attempted. - If the first question is answered wrong, the student gets zero marks. - If the first question is answered correctly and the second question is not answered correctly, the student gets the marks only for the first question. - If both the questions are answered correctly, the student gets the sum of the marks of the two questions. The following table shows the probability of correctly answering a question and the marks of the question respectively. Assuming that the student always wants to maximize her expected marks in the examination, in which order should she attempt the questions and what is the expected marks for that order (assume that the questions are independent)?

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.