Question

Consider the following two statements.

S1S_1: If a candidate is known to be corrupt, then he will not be elected.
S2S_2: If a candidate is kind, he will be elected.

Which one of the following statements follows from S1S_1 and S2S_2 as per sound inference rules of logic?

Choose one option
Official answer and solution
Official answer
C
From
Official GATE 2015 answer key

Solution

Formalize the statements in propositional logic and apply sound deductive inference rules (hypothetical syllogism and contraposition).

Define propositions:

  • CC: The candidate is known to be corrupt.
  • EE: The candidate is elected.
  • KK: The candidate is kind.

The given premises translate to:

  • S1S_1: C  ⟹  ¬EC \implies \neg E.
  • S2S_2: K  ⟹  EK \implies E.

Take the contrapositive of S1S_1:

¬(¬E)  ⟹  ¬C  ⟺  E  ⟹  ¬C.\neg(\neg E) \implies \neg C \iff E \implies \neg C.

Chain with S2S_2 using hypothetical syllogism:

K  ⟹  EandE  ⟹  ¬C  ⟹  K  ⟹  ¬C.K \implies E \quad \text{and} \quad E \implies \neg C \implies K \implies \neg C.

In English: 'If a person is kind, he is not known to be corrupt.'

Final answer

C

Common trap

Affirming the consequent or assuming that not being corrupt implies kindness.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2015 Computer Science and Information Technology (CS) Session 2
Question
13 of 65, printed as CS Q.3
Section
Computer Science and Information Technology

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.