class lecture notes 8
class lecture notes 8
class lecture notes 8
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Section 2. Truth Tables (LECTURE NOTES 8) 1277.2 Truth TablesWhen combining two statements, p and q, which each have two possible values, true(T) or false (F), there are always only four possibilities,p qT TT FF TF FTwo statements arelogically equivalentif theyhave identical truthvalues anddenotedp ≡ q. DeMorgan’s Laws of Logic are given by∙ ∼ (p∧q) ≡∼ p∨ ∼ q∙ ∼ (p∨q) ≡∼ p∧ ∼ qExercise 7.2(Truth Tables)1. True or False?(a) T / F. If it is a German Shepherd, then it is a dog.(b) T / F. If it is a dog, then it is a German Shepherd.(c) T / F. 2−1 = 1 and 5×2 = 11.(d) T / F. 2−1 = 1 or 5×2 = 11.2. Truth tables. Fill in blanks.(a) p∧q(b) p∨qp q p∧q exampleT T T 2−1 = 1 and 5×2 = 10T F F 2−1 = 1 and 5×2 = 11F T 2−1 = 0 and 5×2 = 10F F 2−1 = 0 and 5×2 = 11p q p∨q exampleT T 2−1 = 1 or 5×2 = 10T F 2−1 = 1 or 5×2 = 11F T 2−1 = 0 or 5×2 = 10F F 2−1 = 0 or 5×2 = 11