Logic & Proof
Logic & Proof
need a rule to determine which quantifier a given occurrence of that variable is bound to.
This rule is called:
(A) Capturing
(B) Witnessing
(C) Scoping
(D) Quantification
(2) Among the following choices, which is not a complete set of Boolean connectives?
(A) {, 0}
(B) {, }
(C) {, }
(D) {NAND}
(3) All but one of the following problems directly use discrete mathematics in their solution.
The exception is:
(A) proving a property of the natural numbers with induction.
(B) applying a graph algorithm to determine if a graph is connected.
(C) calculating the area under an arbitrary curve (function).
(D) using a truth table to evaluate a propositional formula.
(5) Which of the following operators are not associative? (There may be more than one.)
(A) The operator ‘–‘ for set difference.
(B) The operator ‘NAND’ for propositional expressions.
(C) The disjunction operator for propositional expressions.
(D) The intersection operator for sets.
(E) The relational composition operator ◦ for binary relations.
(6) F(x, y) is the statement "x can fool y", and assume that A(x) is the statement "x is an adult".
Using predicate logic with the above definitions, what would be the appropriate equivalents
of the following statements?
Fred can fool Betty, but Betty cannot fool Fred.
(A) F(Fred, Betty)
(B) F(Betty, Fred)
(C) F(Fred, Betty) F(Betty, Fred)
(D) F(Fred, Betty) F(Betty, Fred)
(E) (F(Fred, Betty) F(Betty, Fred))
(7) No child can fool an adult. (Assume that the domain is the set of all people)
(A) x, y A(x) F(x, y) (B) x, y (A(x) A(y)) F(x, y)
(C) x, y A(x) F(y, x) (D) x, y (A(x) A(y)) F(y, x)
(E) x, y (A(x) A(y)) F(y, x)
(8) Which of the following statements would be least likely to appear in an inductive proof as
the induction hypothesis?
(A) "Assume that P(k) is true for some fixed but arbitrary k N."
(B) "Assume that P(k) is true for all 0 k < n."
(C) "Assume that P(k) is true for all 0 k n."
(D) "Assume that P(k) is true for all natural numbers k."
(9) p ∨ p is syntactically equivalent to
a. p
b. p ∨ p
c. ¬¬p
d. p ∧ p
e. ¬p ∧ p
(10) The CNF form for the following formula, ¬p, is
a. ¬p ∧ ¬p
b. (¬p ∨ ¬p) ∧ (¬p ∨ ¬p)
c. p
d. ¬p
e. ¬¬p
(10) The DNF form for the following formula, ¬p, is
a. ¬p ∧ ¬p
b. (¬p ∧ ¬p) ∨ (¬p ∧ ¬p)
c. p
d. ¬p
e. ¬¬p