Question
'When it is raining, peacocks dance.'
Based only on this sentence, which one of the following options is necessarily true?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2026 answer key
Solution
Translate the conditional statement into propositional logic and take its contrapositive .
Let denote 'it is raining' and denote 'peacocks dance'. The given statement is the implication . An implication is logically equivalent to its contrapositive , which states: 'When peacocks are not dancing, it is not raining.' Converse () and inverse () are not necessarily true.
Option (C)
Confusing the converse ('When peacocks dance, it is raining') with the contrapositive.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 2 (CS2)
- Question
- 5 of 65
- Section
- General Aptitude
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.