Skip to content

GATE CS Propositional and First Order Logic questions

Practise Propositional and First Order Logic questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

20 on this page
Official PYQ2026Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
For two different persons xx and yy, the predicate M(x,y)M(x, y) denotes that xx knows yy. Consider the following statement. There is a person who does not know anyone else, but that person is known by everyone else. Which one of the following expressions represents the above statement?
Official PYQ2025Engineering MathematicsPropositional and First Order LogicMSQ · 2 marks
Which of the following predicate logic formulae/formula is/are CORRECT representation(s) of the statement: "Everyone has exactly one mother"? The meanings of the predicates used are: mother (y,x):y(y, x): y is the mother of xx noteq (x,y):x(x, y): x and yy are not equal
Official PYQ2025Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
​​​Let P(x)P(x) be an arbitrary predicate over the domain of natural numbers. Which ONE of the following statements is TRUE?
Official PYQ2024Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
​​​​Let pp and qq be the following propositions: pp : Fail grade can be given. qq : Student scores more than 50%50 \% marks. Consider the statement: "Fail grade cannot be given when student scores more than 50%50 \% marks." Which one of the following is the CORRECT representation of the above statement in propositional logic?
Official PYQ2023Engineering MathematicsPropositional and First Order LogicMSQ · 1 mark
Geetha has a conjecture about integers, which is of the form ∀x(P(x)⟹∃yQ(x,y)),\forall x(P(x) \Longrightarrow \exists y Q(x, y)), where PP is a statement about integers, and QQ is a statement about pairs of integers. Which of the following (one or more) option(s) would imply Geetha's conjecture?
Official PYQ2021Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Let pp and qq be two propositions. Consider the following two formulae in propositional logic. S1:(¬p∧(p∨q))→qS_1: (\neg p\wedge(p\vee q))\rightarrow q S2:q→(¬p∧(p∨q))S_2: q\rightarrow(\neg p\wedge(p\vee q)) Which one of the following choices is correct?
Official PYQ2021Engineering MathematicsPropositional and First Order LogicMSQ · 1 mark
Choose the correct choice(s) regarding the following proportional logic assertion SS: S:((P∧Q)→R)→((P∧Q)→(Q→R))S: (( P \wedge Q) \rightarrow R) \rightarrow (( P \wedge Q) \rightarrow (Q \rightarrow R))
Official PYQ2020Engineering MathematicsPropositional and First Order LogicMCQ · 2 marks
Which one of the following predicate formulae is NOT logically valid? Note that WW is a predicate formula without any free occurrence of xx.
Official PYQ2019Engineering MathematicsPropositional and First Order LogicMCQ · 2 marks
Consider the first order predicate formula φ\varphi: ∀x[(∀z z∣x⇒((z=x)∨(z=1)))→∃w(w>x)∧(∀z z∣w⇒((w=z)∨(z=1)))]\forall x [ ( \forall z \: z | x \Rightarrow (( z=x) \vee (z=1))) \rightarrow \exists w ( w > x) \wedge (\forall z \: z | w \Rightarrow ((w=z) \vee (z=1)))] Here a∣ba \mid b denotes that ’a divides b’’a \text{ divides } b’ , where aa and bb are integers. Consider the following sets: …
Official PYQ2018Engineering MathematicsPropositional and First Order LogicMCQ · 2 marks
Consider the first-order logic sentence φ≡∃ s ∃ t ∃ u ∀ v ∀ w∀ x ∀ y ψ(s,t,u,v,w,x,y)\varphi \equiv \exists \: s \: \exists \: t \: \exists \: u \: \forall \: v \: \forall \: w \forall \: x \: \forall \: y \: \psi(s, t, u, v, w, x, y) where ψ(s,t,u,v,w,x,y,)\psi(s, t, u, v, w, x, y, ) is a quantifier-free first-order logic formula using only predicate symbols, and possibly equality, but no function symbols. …
Official PYQ2017Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Consider the first-order logic sentence F:∀x(∃yR(x,y))F:\forall x(\exists yR(x,y)). Assuming non-empty logical domains, which of the sentences below are implied by FF? ∃y(∃xR(x,y))\exists y(\exists xR(x,y)) ∃y(∀xR(x,y))\exists y(\forall xR(x,y)) ∀y(∃xR(x,y))\forall y(\exists xR(x,y)) ¬∃x(∀y¬R(x,y))¬\exists x(\forall y¬R(x,y))
Official PYQ2017Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
The statement (¬p)⇒(¬q)\left ( ¬p \right ) \Rightarrow \left ( ¬q \right ) is logically equivalent to which of the statements below? p⇒qp \Rightarrow q q⇒pq \Rightarrow p (¬q)∨p\left ( ¬q \right ) \vee p (¬p)∨q\left ( ¬p \right ) \vee q
Official PYQ2017Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Let p,q,rp, q, r denote the statements ”It is raining”, “It is cold”, and “It is pleasant”, respectively. Then the statement “It is not raining and it is pleasant, and it is not pleasant only if it is raining and it is cold” is represented by
Official PYQ2016Engineering MathematicsPropositional and First Order LogicNAT · 1 mark
Let p,q,r,sp, q, r, s represents the following propositions. p:x∈{8,9,10,11,12}p:x\in\left\{8, 9, 10, 11, 12\right\} q:q: xx is a composite number. r:r: xx is a perfect square. s:s: xx is a prime number. The integer x≥2x\geq2 which satisfies ¬((p⇒q)∧(¬r∨¬s))\neg\left(\left(p\Rightarrow q\right) \wedge \left(\neg r \vee \neg s\right)\right) is ____________.
Official PYQ2016Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Which one of the following well-formed formulae in predicate calculus is NOT valid ?
Official PYQ2016Engineering MathematicsPropositional and First Order LogicNAT · 1 mark
Consider the following expressions: falsefalse QQ truetrue P∨QP\vee Q ¬Q∨P\neg Q\vee P The number of expressions given above that are logically implied by P∧(P⇒Q)P \wedge (P \Rightarrow Q) is ___________.
Official PYQ2015Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Which one of the following is NOT equivalent to p↔qp ↔ q?
Official PYQ2015Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Which one of the following well-formed formulae is a tautology?
Official PYQ2015Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
Consider the following two statements. S1S_1: If a candidate is known to be corrupt, then he will not be elected S2S_2: If a candidate is kind, he will be elected Which one of the following statements follows from S1S_1 and S2S_2 as per sound inference rules of logic?
Official PYQ2015Engineering MathematicsPropositional and First Order LogicMCQ · 1 mark
In a room there are only two types of people, namely Type 1\text{Type 1} and Type 2\text{Type 2}. Type 1\text{Type 1} people always tell the truth and Type 2\text{Type 2} people always lie. You give a fair coin to a person in that room, without knowing which type he is from and tell him to toss it and hide the result from you till you ask for it. Upon asking the …