GATE / CS ARCHIVE

GATE CSE 2017 SET 2 / QUESTION 11

GATE CSE 2017 Set 2 Q11

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 2017 Set 2 paper

GATE 2017 Set 2, Q11 1 mark · MCQ
Report issue

Propositional & Predicate Logic

Question 11, GATE 2017: Let p="It is raining", q="It is cold", r="It is pleasant". Translate "It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold." A:(¬p∧r)∧(¬r→(p∧q)). B:(¬p∧r)∧((p∧q)→¬r). C:(¬p∧r)∨((p∧q)→¬r). D:(¬p∧r)∨(r→(p∧q)).
Tap to enlarge
Your answer
Answer & solution

Official answer: A

Our answer: A structurally; B logically equivalent

1. The first clause is ¬p∧r. The phrase A only if B translates as A→B, since B is a necessary condition for A. Thus the second clause is ¬r→(p∧q). Joining clauses with and gives option A directly.

2. There is a semantic nonuniqueness in the printed alternatives. In either A or B, a true first conjunct forces p=false and r=true. Then A's implication has false antecedent ¬r, while B's implication has false antecedent p∧q. Both are true regardless of q.

3. If the first conjunct is false, both full conjunctions are false. Consequently both A and B are logically equivalent to ¬p∧r for every valuation. Preserve official answer A as the direct structural translation, but do not claim that B has a different truth table. C and D incorrectly use a disjunction between the clauses.

Original paper, page 5 · Answer key