COMP 1005 Lecture 2: COMP1005BWeek3-4

40 views11 pages

Document Summary

Proposition: statement that is either true or false (i. e. , the value of a. Propositions can be used to construct logic expressions (the way numbers are used for arithmetic expressions) the operators permitted in logical expressions are not the same as the. Conjunction and :two true arguments result in a true return value anything. Disjunction or :two false arguments result in a false return value anything. Negation not: one true argument results in a false return value one false. truth tables (for the logical operators) are simpler because the only. Possible operand values are booleans - true and false. Truth tables for conjunction and and disjunction or are of size 2 2, because there are two possible values each of the two operands; these operations are. Binary the truth table for negation not is of size 2 1, because even thought there are two possible values for each operand, there is only one operand; this operation is unary.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents