Download presentation
Presentation is loading. Please wait.
1
MATH 15A – Discrete Mathematics
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett MATH 15A – Discrete Mathematics Prof. Shachar Lovett
2
Midterm 1 preparation Propositional logic
3
Question 1 How many T values are in the truth table of (pq)(q(pr))
5 6 7 8 9
4
Question 2 Prove that (pq)(q(pr)) is equivalent to q(pr)
using a proof sequence. Justify each step.
5
Question 3 Let f(x1,…,xn) be a formula with n input variables. How many rows this its truth table have (not including header row)? n 2n n2 Other
6
I can get places if I know how to drive and have a car.
Question 4 Let p=“I know how to drive” q=“I have a car” r=“I can get places” Write in the form of a propositional formula the following sentence: I can get places if I know how to drive and have a car.
7
Question 5 Let (p,q)=(pq)(qp) (i) Write as a CNF
(ii) Write as a DNF
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.