GATE 2026 CS (CS2) – Question 5
'When it is raining, peacocks dance.' Based only on this sentence, which one of the following options is necessarily true?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) When peacocks are not dancing, it is not raining.
Explanation
Let $P$ denote "it is raining" and $Q$ denote "peacocks dance". The given sentence is $P \to Q$. Its contrapositive is $\neg Q \to \neg P$, which reads: if peacocks are not dancing, then it is not raining. The converse and inverse are not guaranteed. Therefore, option (C) is necessarily true.