GATE / CS ARCHIVE

GATE CSE 2009 / QUESTION 24

Truth-table operation expressing disjunction

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 2009 paper

GATE 2009, Q24 2 marks · MCQ
Report issue

Propositional & Predicate Logic

Question 24, GATE 2009: Operation P□Q outputs T, T, F, T on inputs TT, TF, FT, FF respectively. Which equals P∨Q? A ¬Q□¬P; B P□¬Q; C ¬P□Q; D ¬P□¬Q.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

The given operation is false only when its first argument is false and its second true, so P□Q=P∨¬Q. Substituting¬Q for the second argument yields P□¬Q=P∨Q, option B.

Inspect the sole false row: P is false while Q is true. This is exactly the false case of Q→P, equivalently P∨¬Q. To remove the negation on the second variable, supply ¬Q as that argument: P□¬Q=P∨¬¬Q=P∨Q. This is option B. A quick countercheck with P=Q=false rejects substitutions that incorrectly produce true in that case.

Original paper, page 5