Question
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.
| Question | Probability of answering correctly | Marks |
|---|---|---|
| QuesA | 0.8 | 10 |
| QuesB | 0.5 | 20 |
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)?
Official answer and solution
- Official answer
- D
- From
- Official GATE 2021 answer key
Solution
Calculate the expected marks for both possible question attempt orders and choose the order that maximizes the expected score.
Let denote correctly answering QuesA (, marks = 10), and denote correctly answering QuesB (, marks = 20). Since and are independent:
Case 1: Attempt QuesA first, then QuesB:
- If QuesA is wrong (): marks = 0.
- If QuesA is right and QuesB is wrong (): marks = 10.
- If both QuesA and QuesB are right (): marks = .
Case 2: Attempt QuesB first, then QuesA:
- If QuesB is wrong (): marks = 0.
- If QuesB is right and QuesA is wrong (): marks = 20.
- If both QuesB and QuesA are right (): marks = .
Comparing the two expected values, . The student should attempt QuesA first and then QuesB, giving expected marks of 16. This matches option D.
D
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2021 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 39 of 65, printed as CS Q.29
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.