IAE Academy

GATE 2026 CS2 GA Q.5: solution and answer

GATE 2026 · CS2GA Q.5 · 1 mark · MCQ

‘When it is raining, peacocks dance.’

Based only on this sentence, which one of the following options is necessarily true?

  1. (A)

    Peacocks dance only when it is raining.

  2. (B)

    When peacocks dance, it is raining.

  3. (C)

    When peacocks are not dancing, it is not raining.

  4. (D)

    When it is not raining, peacocks do not dance.

See the question in the paper

Answer and solution

ANSWER

The correct option is (C): when peacocks are not dancing, it is not raining.

Official answer: CSource: Official answer key, GATE 2026 CS2 (IIT Guwahati)

  1. Let = "it is raining" and = "peacocks dance". The sentence 'When it is raining, peacocks dance.' is the conditional .

  2. A conditional is logically equivalent to its contrapositive: . Its converse and its inverse are not implied by it.

  3. (A) 'Peacocks dance only when it is raining' means . This is the converse, so it is not necessarily true.

  4. (B) 'When peacocks dance, it is raining' is also , the converse. Not necessarily true.

  5. (C) 'When peacocks are not dancing, it is not raining' is , the contrapositive. It is necessarily true: if it were raining, the peacocks would dance.

  6. (D) 'When it is not raining, peacocks do not dance' is , the inverse. It is not implied, because peacocks may also dance on dry days.

  7. Only (C) must be true, so the answer is (C).

KEY IDEA

A statement 'If P then Q' is equivalent only to its contrapositive 'If not Q then not P'. Its converse and inverse do not follow from it.

WATCH OUT FOR

Reading 'When it is raining, peacocks dance' as 'peacocks dance only when it is raining'. That confuses the statement with its converse, and the inverse in (D) is the same slip.

From the GATE 2026 CS2 paper. Every question of this paper · Download the full paper · All 72 Reasoning questions, with notes

More Reasoning questions