Professional Documents
Culture Documents
Question 1: (3/10)
a. Show that (pq) q and pq are logically equivalent without using truth tables.
b. Show that (pq) p is a tautology without using truth tables.
c. We define the following predicates:
C(x): x is a car
F(x,y): x is faster than y
B(x): x has brakes
Consider the statement “Any car with brakes is faster than at least one car that
doesn’t have brakes.” Find the accurate translations of this statement by using
propositions and logical connectives.
Question 2: (2/10)
Using the premises:
i. 𝑝 ∨ 𝑞 → ¬𝑟
ii. (𝑝 ∨ 𝑟) ∧ 𝑞
a. Use rules of inference to show that p is true.
b. Redo problem a. but prove it using truth tables.
Question 3: (2/10)
A B
a. Shade the Venn diagram on the right to show
b. Determine whether the posets with these Hasse diagrams shown
below are lattices. C
Question 4: (3/10)
a. Use induction to prove that 4| (2𝑛2 + 6𝑛) for all positive
integer values of n. (Note: a| b notation means “b is divisible by
a”)
b. Give a big-O estimate for the number of comparison
operations used in the segment of an algorithm shown on the
right.
05/06/2022
Approved by program chair
(signed and named)
Question 1: (3/10)
a. Show that (pq) q and pq are logically equivalent without using truth
tables.
Question 2: (2/10)
Using the premises:
i. 𝑝 ∨ 𝑞 → ¬𝑟
ii. (𝑝 ∨ 𝑟) ∧ 𝑞
a. Use rules of inference to show that p is true.
Question 3: (2/10)
a. Shade the Venn diagram on the right to show
b. Determine whether the posets with these Hasse diagrams shown below are lattices.
Question 4: (3/10)
a. Use induction to prove that 4| (2𝑛2 + 6𝑛) for all positive
integer values of n. (Note: a| b notation means “b is divisible by
a”)
Proof: Use induction on n to prove this