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 ?
- (A) ((p ↔ q) ∧ r) ∨ (p ∧ q ∧ ∼ r)
- (B) (∼ (p ↔ q) ∧ r) ∨ (p ∧ q ∧ ∼ r)
- (C) ((p → q) ∧ r) ∨ (p ∧ q ∧ ∼ r)
- (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