Let p and q be two propositions. Consider the following two formulae in propositional logic. S1 : ( eg p ∧ (p ∨ q)) → q S2 : q → ( eg p ∧ (p ∨ q)) Which one of the following choices is correct?
Topic-wise GATE CS PYQs with verified steps
GATE CSE 2021 Set 1 · Q7
Time
Select one answerSingle correct
Solution
Official answer: B) S1 is a tautology but S2 is not a tautology.
Propositional and First-Order LogicFirst, simplify the antecedent/consequent expression using the distributive law:
Now, evaluate statement :
Therefore, is a tautology.
Next, evaluate statement : Consider the truth assignment where and :
Left-hand side:
Right-hand side: $
eg p \land q = \land = $
Implication:
Since evaluates to false when both and are true, is not a tautology.
Thus, is a tautology but is not a tautology, which corresponds to option (B).
Try the question first, then check your work.
Examiner trap
Apply the distributive law to simplify to . Then test whether each conditional statement is true under all possible truth value assignments of and .
This Propositional and First-Order Logic previous year question is Q7 of the GATE CSE 2021 Set 1 paper. Find more GATE CSE PYQs on Propositional and First-Order Logic in Engineering Mathematics, or browse all GATE CSE PYQs.
Free diagnostic
Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Propositional and First-Order Logic PYQs now with no account.
An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.
Propositional and First-Order Logic has 18 GATE CSE PYQs across 16 papers from 2011 to 2026. 6 of them are 1-mark MCQs like this one, and it is the only one in GATE CSE 2021 Set 1.
How GATE tests Propositional and First-Order LogicIndependent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.