Propositional Logic · Discrete Mathematics
59 questions · asked in 25 of 27 years (2000–2026)
MCQ 54 · MSQ 3 · NAT 21-mark 39 · 2-mark 20
2000Questions per year2026
Questions 36–40 of 59
Which of the following first order formulae is logically valid?
Here is a first order formula with x as a free variable, and is a first order formula with no free variable.
Here is a first order formula with x as a free variable, and is a first order formula with no free variable.
Answer: (C)
Since has no free variable, .
So in (C) the two sides are equivalent, and an implication between equivalent formulas is always true. (C) is valid.
The others are not valid. Take the domain in each case.
(A): true, true, false. The left side is true (some has ), but fails at .
(B): same values. is true at , but is false.
(D): true, false, false. The left side is true because is false, but is false, so the right side is false.
Answer: (C)
So in (C) the two sides are equivalent, and an implication between equivalent formulas is always true. (C) is valid.
The others are not valid. Take the domain in each case.
(A): true, true, false. The left side is true (some has ), but fails at .
(B): same values. is true at , but is false.
(D): true, false, false. The left side is true because is false, but is false, so the right side is false.
Answer: (C)
P and Q are two propositions. Which of the following logical expressions are equivalent?
I.
II.
III.
IV.
I.
II.
III.
IV.
Answer: (B)
Let be a statement that is always true.
II: by De Morgan, . This is the same as I.
III: (distributive law). So III . Distributing, . This is the same as I.
IV (read as ): the first two terms give , so IV . This differs from I: for false and true, I is false but IV is true.
So I, II and III are equivalent, and IV is not.
Answer: (B)
II: by De Morgan, . This is the same as I.
III: (distributive law). So III . Distributing, . This is the same as I.
IV (read as ): the first two terms give , so IV . This differs from I: for false and true, I is false but IV is true.
So I, II and III are equivalent, and IV is not.
Answer: (B)
Let fsa and pda be two predicates such that fsa(x) means x is a finite state automaton, and pda(y) means that y is a pushdown automaton. Let equivalent be another predicate such that equivalent (a, b) means a and b are equivalent. Which of the following first order logic statements represents the following:
Each finite state automaton has an equivalent pushdown automaton
Each finite state automaton has an equivalent pushdown automaton
Answer: (A)
The sentence says: for every x, if x is a finite state automaton, then there is some y that is a pushdown automaton and is equivalent to x. Written exactly, this is .
(A) is this statement, and it is the official answer. Strictly, as printed the scope of ends at , so the x in is left outside the quantifier; read with covering the whole implication, it is exactly the formula above.
(B) begins with , so it only says that the implication fails for some y. That is not the statement.
(C) uses instead of , so it claims that every x is a finite state automaton, which is much stronger.
(D) swaps the roles: it claims that every x is a pushdown automaton and has an equivalent y that is a finite state automaton.
Answer: (A)
(A) is this statement, and it is the official answer. Strictly, as printed the scope of ends at , so the x in is left outside the quantifier; read with covering the whole implication, it is exactly the formula above.
(B) begins with , so it only says that the implication fails for some y. That is not the statement.
(C) uses instead of , so it claims that every x is a finite state automaton, which is much stronger.
(D) swaps the roles: it claims that every x is a pushdown automaton and has an equivalent y that is a finite state automaton.
Answer: (A)
Which one of these first-order logic formulae is valid?
Answer: (A)
(A) is valid. Suppose and both hold. For any , is true, so is true. So holds.
The others are not valid. Take the domain .
(B): true and false everywhere. Then and are true, but is false.
(C): true, false, false, true. The right side is true (one for , another for ), but no single has both, so is false. The "if" direction fails.
(D): let be true exactly when . Every has a (take ), but no single works for both and .
Answer: (A)
The others are not valid. Take the domain .
(B): true and false everywhere. Then and are true, but is false.
(C): true, false, false, true. The right side is true (one for , another for ), but no single has both, so is false. The "if" direction fails.
(D): let be true exactly when . Every has a (take ), but no single works for both and .
Answer: (A)
Let Graph(x) be a predicate which denotes that x is a graph. Let Connected(x) be a predicate which denotes that x is connected. Which of the following first order logic sentences DOES NOT represent the statement: "Not every graph is connected"?
Answer: (D)
"Not every graph is connected" means , which is the same as "some graph is not connected": .
(A) is this statement word for word.
(C): , so (C) is the same as (A).
(D) says , that is, no graph is connected. That is much stronger. It is false when some graphs are connected and some are not, while the given statement is true then. So (D) does not represent the statement.
(B) is . Read over a domain of graphs only, it matches the statement, but as written it is also true when some non-graph object exists, so it is looser than the statement. (D) is the clear mismatch.
Answer: (D)
(A) is this statement word for word.
(C): , so (C) is the same as (A).
(D) says , that is, no graph is connected. That is much stronger. It is false when some graphs are connected and some are not, while the given statement is true then. So (D) does not represent the statement.
(B) is . Read over a domain of graphs only, it matches the statement, but as written it is also true when some non-graph object exists, so it is looser than the statement. (D) is the clear mismatch.
Answer: (D)
Keep practising