Skip to content
Official PYQ · 2012

GATE CS 2012 Q1 — Propositional and First Order Logic

Explain with AI

Consider the following logical inferences.

I1I_{1}: If it rains then the cricket match will not be played.
The cricket match was played.
Inference:  There was no rain.

I2I_{2}: If it rains then the cricket match will not be played.
It did not rain.
Inference: The cricket match was played.

Which of the following is TRUE?

Choose one option
View worked solution

Answer: B

Let us define the propositional variables:

  • pp: It rains.
  • qq: The cricket match is played.

Analysis of I1I_1:

  • Premise 1: p→¬qp \rightarrow \neg q
  • Premise 2: qq
  • Inference: ¬p\neg p

By the rule of Modus Tollens (or contrapositive reasoning), since p→¬qp \rightarrow \neg q is logically equivalent to q→¬pq \rightarrow \neg p, the presence of qq logically guarantees ¬p\neg p. Thus, I1I_1 is a correct inference.

Analysis of I2I_2:

  • Premise 1: p→¬qp \rightarrow \neg q
  • Premise 2: ¬p\neg p
  • Inference: qq

This is a classic logical fallacy known as denying the antecedent. Knowing that it did not rain (¬p\neg p) does not allow us to conclude whether the match was played or not (it could have been cancelled for other reasons). Thus, I2I_2 is not correct.

Hence, I1I_1 is correct but I2I_2 is not a correct inference.

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

Published
Report a correction
Keep exploringMore Propositional and First Order Logic questions