GATE CS 2014, set 1 · Question 63 · Engineering Mathematics · Multiple choice (MCQ) · 2 marks · −2/3 for a wrong answer

Which one of the following propositional logic formulas is TRUE when exactly two of p, q, and r are TRUE ?

  1. (A) ((p ↔ q) ∧ r) ∨ (p ∧ q ∧ ∼ r)
  2. (B) (∼ (p ↔ q) ∧ r) ∨ (p ∧ q ∧ ∼ r)
  3. (C) ((p → q) ∧ r) ∨ (p ∧ q ∧ ∼ r)
  4. (D) (∼ (p ↔ q) ∧ r) ∧ (p ∧ q ∧ ∼ r)
Answer

Answer (B)

Answer from the official GATE CS 2014 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes