Propositional and First Order Logic questions — page 1 of 2

Q5

GATE CS 2026 CS-2Discrete MathematicsMCQ1 mark−1/3 if wrong
‘When it is raining, peacocks dance.’

Based only on this sentence, which one of the following options is necessarily true?
Show answer without attempting

Answer: C

Q11

GATE CS 2026 CS-2Discrete MathematicsMCQ1 mark−1/3 if wrong
For two different persons xx and yy, the predicate M(x,y)M(x, y) denotes that x knows y.
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?
Show answer without attempting

Answer: A

Q48

GATE CS 2025 CS-1Discrete MathematicsMSQ2 marks
Which of the following predicate logic formulae/formula is/are CORRECT representation(s) of the statement: \u201cEveryone has exactly one mother\u201d?
The meanings of the predicates used are:
- mother(y,x)mother(y, x): yy is the mother of xx
- noteq(x,y)noteq(x, y): xx and yy are not equal
More than one option can be correct.
Show answer without attempting

Answer: B, D

Q15

GATE CS 2025 CS-2Discrete MathematicsMCQ1 mark−1/3 if wrong
Let P(x)P(x) be an arbitrary predicate over the domain of natural numbers.

Which ONE of the following statements is TRUE?
Show answer without attempting

Answer: A

Q12

GATE CS 2024 CS-2Discrete MathematicsMCQ1 mark−1/3 if wrong
Let pp and qq be the following propositions:
pp: Fail grade can be given.
qq: Student scores more than 50% marks.

Consider the statement: "Fail grade cannot be given when student scores more than 50% marks."

Which one of the following is the CORRECT representation of the above statement in propositional logic?
Show answer without attempting

Answer: A

Q26

GATE CS 2023 CSDiscrete MathematicsMSQ1 mark
Geetha has a conjecture about integers, which is of the form
∀x(P(x)  ⟹  ∃yQ(x,y)),\forall x (P(x) \implies \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?
More than one option can be correct.
Show answer without attempting

Answer: B, C

Q7

GATE CS 2021 CS-1Discrete MathematicsMCQ1 mark−1/3 if wrong
Let pp and qq be two propositions. Consider the following two formulae in propositional logic.
S1S_1: (¬p∧(p∨q))→q(\neg p \wedge (p \vee q)) \rightarrow q
S2S_2: q→(¬p∧(p∨q))q \rightarrow (\neg p \wedge (p \vee q))
Which one of the following choices is correct?
Show answer without attempting

Answer: B

Q15

GATE CS 2021 CS-2Discrete MathematicsMSQ1 mark
Choose the correct choice(s) regarding the following propositional logic assertion SS:

S:((P∧Q)→R)→((P∧Q)→(Q→R))S: ((P \land Q) \to R) \to ((P \land Q) \to (Q \to R))
More than one option can be correct.
Show answer without attempting

Answer: B, D

Q39

GATE CS 2020 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
Which one of the following predicate formulae is NOT logically valid?

Note that WW is a predicate formula without any free occurrence of xx.
Show answer without attempting

Answer: C

Q35

GATE CS 2019 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
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 \mid x \implies ((z = x) \lor (z = 1))) \implies \exists w \, (w > x) \land (\forall z \, z \mid w \implies ((w = z) \lor (z = 1)))]
Here 'a∣ba \mid b' denotes 'aa divides bb', where aa and bb are integers. Consider the following sets:
S1. {1,2,3,...,100}\{1, 2, 3, ..., 100\}
S2. Set of all positive integers
S3. Set of all integers

Which of the above sets satisfy φ\varphi?
Show answer without attempting

Answer: C

Q28

GATE CS 2018 CSDiscrete MathematicsMCQ2 marks−2/3 if wrong
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. Suppose φ\varphi has a model with a universe containing 7 elements.

Which one of the following statements is necessarily true?
Show answer without attempting

Answer: A

Q1

GATE CS 2017 CS-1Discrete MathematicsMCQ1 mark−1/3 if wrong
The statement (¬p)⇒(¬q)(\neg p) \Rightarrow (\neg q) is logically equivalent to which of the statements below?

I. p⇒qp \Rightarrow q
II. q⇒pq \Rightarrow p
III. (¬q)∨p(\neg q) \lor p
IV. (¬p)∨q(\neg p) \lor q
Show answer without attempting

Answer: D

Q2

GATE CS 2017 CS-1Discrete MathematicsMCQ1 mark−1/3 if wrong
Consider the first-order logic sentence F:∀x(∃yR(x,y))F: \forall x (\exists y R(x, y)). Assuming non-empty logical domains, which of the sentences below are implied by FF?

I. ∃y(∃xR(x,y))\exists y (\exists x R(x, y))
II. ∃y(∀xR(x,y))\exists y (\forall x R(x, y))
III. ∀y(∃xR(x,y))\forall y (\exists x R(x, y))
IV. ¬∃x(∀y¬R(x,y))\neg \exists x (\forall y \neg R(x, y))
Show answer without attempting

Answer: B

Q29

GATE CS 2017 CS-1Discrete MathematicsMCQ2 marks−2/3 if wrong
Let pp, qq, and rr be propositions and the expression (p→q)→r(p \to q) \to r be a contradiction. Then, the expression (r→p)→q(r \to p) \to q is
Show answer without attempting

Answer: D

Q11

GATE CS 2017 CS-2Discrete MathematicsMCQ1 mark−1/3 if wrong
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
Show answer without attempting

Answer: A

Q1

GATE CS 2016 CS-1Discrete MathematicsNAT1 mark
Let p,q,r,sp,q,r,s represent the following propositions.
p:x∈{8,9,10,11,12}p: x \in \{8,9,10,11,12\}
q:xq: x is a composite number
r:xr: x is a perfect square
s:xs: x is a prime number
The integer x≥2x \geq 2 which satisfies ¬((p⇒q)∧(¬r∨¬s))\neg((p \Rightarrow q)\wedge(\neg r\lor \neg s)) is ________.
Show answer without attempting

Answer: 11.0

Q1

GATE CS 2016 CS-2Discrete MathematicsNAT1 mark
Consider the following expressions:
(i) false
(ii) QQ
(iii) true
(iv) P∨QP \lor Q
(v) ¬Q∨P\neg Q \lor P

The number of expressions given above that are logically implied by P∧(P⇒Q)P \land (P \Rightarrow Q) is _________.
Show answer without attempting

Answer: 4.0

Q27

GATE CS 2016 CS-2Discrete MathematicsMCQ2 marks−2/3 if wrong
Which one of the following well-formed formulae in predicate calculus is NOT valid?
Show answer without attempting

Answer: D

Q26

GATE CS 2015 CS-3Discrete MathematicsMCQ1 mark−1/3 if wrong
In a room there are only two types of people, namely Type 1 and Type 2. Type 1 people always tell the truth and 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 person replies the following

"The result of the toss is head if and only if I am telling the truth."

Which of the following options is correct?
Show answer without attempting

Answer: A

Q19

GATE CS 2015 CS-1Discrete MathematicsMCQ1 mark−1/3 if wrong
Which one of the following is NOT equivalent to p↔qp \leftrightarrow q?
Show answer without attempting

Answer: C

0/200 correct0 marks

Related topics in Discrete Mathematics