Skip to content
Official PYQ · 2026

GATE CS 2026 Set 2 Q5 — General Aptitude

Explain with AI

'When it is raining, peacocks dance.'

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

Choose one option
View worked solution

Answer: C

Let us represent the given statement using propositional logic:

  • Let PP be the proposition: "It is raining"
  • Let QQ be the proposition: "Peacocks dance"

The given statement, "When it is raining, peacocks dance", can be written as:

P  ⟹  QP \implies Q

In classical logic, a conditional statement P  ⟹  QP \implies Q is logically equivalent to its contrapositive, which is:

¬Q  ⟹  ¬P\neg Q \implies \neg P

Translating the contrapositive back into English gives:

"When peacocks are not dancing, it is not raining."

Let us evaluate the given options:

  • Option A: "Peacocks dance only when it is raining" represents Q  ⟹  PQ \implies P (Converse), which is not logically equivalent.
  • Option B: "When peacocks dance, it is raining" represents Q  ⟹  PQ \implies P (Converse), which is not logically equivalent.
  • Option C: "When peacocks are not dancing, it is not raining" represents ¬Q  ⟹  ¬P\neg Q \implies \neg P (Contrapositive), which is logically equivalent and therefore necessarily true.
  • Option D: "When it is not raining, peacocks do not dance" represents ¬P  ⟹  ¬Q\neg P \implies \neg Q (Inverse), which is not logically equivalent.

Therefore, the correct option is C.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore General Aptitude questions