Question
Consider the following two statements.
: If a candidate is known to be corrupt, then he will not be elected.
: If a candidate is kind, he will be elected.
Which one of the following statements follows from and as per sound inference rules of logic?
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:
- : The candidate is known to be corrupt.
- : The candidate is elected.
- : The candidate is kind.
The given premises translate to:
- : .
- : .
Take the contrapositive of :
Chain with using hypothetical syllogism:
In English: 'If a person is kind, he is not known to be corrupt.'
C
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.