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 51–55 of 59
Identify the correct translation into logical notation of the following assertion.
Some boys in the class are taller than all the girls
Note: taller (x, y) is true if x is taller than y.
Some boys in the class are taller than all the girls
Note: taller (x, y) is true if x is taller than y.
Answer: (D)
Use with and with .
"Some boys ..." needs a boy who really exists, so the form is . With , is true as soon as any is not a boy, even in a class with no boys. So (A) and (C) are wrong.
"... taller than all the girls" is a statement about girls only: for every , if is a girl then is taller than . That is . In (B), says every is a girl, which is false for a class that has boys.
So only (D) matches.
Answer: (D)
"Some boys ..." needs a boy who really exists, so the form is . With , is true as soon as any is not a boy, even in a class with no boys. So (A) and (C) are wrong.
"... taller than all the girls" is a statement about girls only: for every , if is a girl then is taller than . That is . In (B), says every is a girl, which is false for a class that has boys.
So only (D) matches.
Answer: (D)
The following resolution rule is used in logic programming:
Derive clause(P Q) from clauses (P R),(Q R)
Which of the following statements related to this rule is FALSE?
Derive clause(P Q) from clauses (P R),(Q R)
Which of the following statements related to this rule is FALSE?
Answer: (B)
This is the resolution rule. Find the false statement.
(A) is true. Suppose holds. If is false, forces true. If is true, forces true. Either way holds, so (A) is valid.
(B) is false. Take . Then is true, but , so the right side is false. The implication fails, so (B) is not valid.
(C) is true. is satisfiable (take true), and is satisfiable (take all three true). Both sides are true, so "if and only if" holds.
(D) is true. is , which holds for every assignment only when can never be true, that is, when neither nor is satisfiable.
Answer: (B)
(A) is true. Suppose holds. If is false, forces true. If is true, forces true. Either way holds, so (A) is valid.
(B) is false. Take . Then is true, but , so the right side is false. The implication fails, so (B) is not valid.
(C) is true. is satisfiable (take true), and is satisfiable (take all three true). Both sides are true, so "if and only if" holds.
(D) is true. is , which holds for every assignment only when can never be true, that is, when neither nor is satisfiable.
Answer: (B)
Consider the following logic program P
Which of the following first order sentences is equivalent to P?
Which of the following first order sentences is equivalent to P?
Answer: (A)
A logic program is the conjunction of its clauses. P has two clauses.
Rule: means . The variable y is not in , so this equals .
Headless clause: says is false for every x, i.e. .
Joining the two with gives , which is (A).
(B) and (D) use in front of the body, which is wrong because y is only in the body. (D) also drops the .
(C) uses . It would hold whenever no B(x,x) exists, even if the rule is broken, so it is weaker than P.
Answer: (A)
Rule: means . The variable y is not in , so this equals .
Headless clause: says is false for every x, i.e. .
Joining the two with gives , which is (A).
(B) and (D) use in front of the body, which is wrong because y is only in the body. (D) also drops the .
(C) uses . It would hold whenever no B(x,x) exists, even if the rule is broken, so it is weaker than P.
Answer: (A)
Consider the following formula
and its two interpretations
I1: Domain : the set of natural numbers
is a prime number
divides x
I2: same as I1 except that is a composite number.
Which of the following statements is true?
I1: Domain : the set of natural numbers
is a prime number
divides x
I2: same as I1 except that is a composite number.
Which of the following statements is true?
Answer: (D)
Formula given:
Note: Here is always True. So is always False.
Look at the Left-Hand Side (LHS) first:
is always False, so put this in:
Use this identity: . It gives:
So the whole LHS becomes:
Meaning: says that no value of divides . This is clearly false, because:
- At least one value (for example or ) always divides
So is false, and:
So the LHS becomes:
The full formula is now:
This implication is true by itself, since any statement implies itself.
Conclusion:
The formula is always true, whatever stands for, whether prime numbers, composite numbers, and so on.
The formula is always true, whatever stands for, whether prime numbers, composite numbers, and so on.
✅ So both I₁ and I₂ satisfy .
Correct Option: D
Which of the following is a valid first order formula? (Here and are first order formulae with x as their only free variable)
Answer: (D)
Test each formula.
(A) is not valid. Take the domain with true, false and false everywhere. is false, so the left side is true. But is false, so the right side is false.
(B) is not valid. Take true and false everywhere. The left side is true and the right side is false.
(C) is not valid. Take the domain with true, false, true. The inner implication is true because is true, but is false.
(D) is valid. Assume and . For any , is true and is true, so is true. So holds.
Answer: (D)
(A) is not valid. Take the domain with true, false and false everywhere. is false, so the left side is true. But is false, so the right side is false.
(B) is not valid. Take true and false everywhere. The left side is true and the right side is false.
(C) is not valid. Take the domain with true, false, true. The inner implication is true because is true, but is false.
(D) is valid. Assume and . For any , is true and is true, so is true. So holds.
Answer: (D)
Keep practising