Let \(p, q, r\) denote the statements ”It is raining”, “It is cold”, and “It…

2017

Let \(p, q, r\) denote the statements ”It is raining”, “It is cold”, and “It is pleasantrespectively. Then the statement “It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold” is represented by

  1. A.

    \((\neg p \wedge r) \wedge (\neg r \rightarrow (p \wedge q))\)

  2. B.

    \((\neg p \wedge r) \wedge ((p \wedge q) \rightarrow \neg r)\)

  3. C.

    \((\neg p \wedge r) \vee ((p \wedge q) \rightarrow \neg r)\)

  4. D.

    \((\neg p \wedge r) \vee (r \rightarrow (p \wedge q))\)

Attempted by 161 students.

Show answer & explanation

Correct answer: A

Key idea: translate each clause and join them with 'and' (∧).

  • First clause: "It is not raining and it is pleasant" → (¬p ∧ r).

  • Second clause: "It is not pleasant only if it is raining and it is cold" → (¬r) → (p ∧ q). ('Only if' means the left part implies the right part.)

Final translation: (¬p ∧ r) ∧ (¬r → (p ∧ q))

Explore the full course: Gate Guidance By Sanchit Sir