90 likes | 272 Views
CSCI 1001. overview of. computer science. BOOLEAN LOGIC II. Truth Table. Truth Table. (P → Q) AND (NOT (P XOR Q )). NOT. P → Q. Q → P. P → Q. (NOT P) OR Q. OR Q. Expressions are logically equivalent if they have the same truth table. we write this as E≡F.
E N D
CSCI 1001 overview of computer science BOOLEAN LOGIC II
P → Q Q → P
P → Q (NOT P) OR Q OR Q Expressions are logically equivalent if they have the same truth table we write this as E≡F.
“Bob got a better grade than Alice, or Carol got the same grade as Dave” “If you got a C you took ECON” “If you got a B or better you took CSCI”
http://cs1001.us/ Please read sections 4.4,5.2 of the textbook for Friday.