GATE CS 2014 · Set-1 · Propositional Logic

MCQ · 2 marks · Problem AI-LOGIC-0085

Which one of the following propositional logic formulas is TRUE when exactly two of p, q, and r are TRUE?
  1. A
    \(((p\leftrightarrow q)\wedge r) \vee (p\wedge q\wedge \sim r)\)
  2. B
    \((\sim (p\leftrightarrow q)\wedge r)\vee (p\wedge q\wedge \sim r)\)
  3. C
    \(((p\rightarrow q)\wedge r) \vee (p\wedge q\wedge \sim r)\)
  4. D
    \((\sim (p\leftrightarrow q)\wedge r)\wedge (p\wedge q\wedge \sim r)\)

Solve it on GATE DA practice →More Logic problems

Show the worked solutionOfficial GATE Answer Key: Option B.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/1933/gate2014-1-53

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com