Questions: Well-Formed Formulas (WFF) in Propositional and First-Order Logic

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Which of the following strings is NOT a well-formed formula in propositional logic?

A(P → Q)
B¬(P ∧ Q)
C(P ∨ ¬Q)
D∧ P Q
Question 2 Multiple Choice

In the first-order formula ∀x (P(x) → Q(y)), what is the status of the variables x and y?

ABoth x and y are bound by the universal quantifier
Bx is bound by ∀x; y is free — it is not within the scope of any quantifier
Cy is bound because it appears inside the parentheses of the quantifier's scope
Dx is free because it is the quantified variable, while y is bound by the predicate Q
Question 3 True / False

Every syntactically valid propositional WFF corresponds to exactly one parse tree — the grammar is unambiguous when parentheses are used as required.

TTrue
FFalse
Question 4 True / False

In the first-order formula ∀x P(x) ∧ Q(y), the variable y is implicitly bound by the universal quantifier because it appears in the same formula.

TTrue
FFalse
Question 5 Short Answer

Why must well-formed formulas be defined by a formal inductive grammar rather than informally as 'any string of logical symbols'? What would go wrong without this definition?

Think about your answer, then reveal below.