Page 21-45
The available logical operators are: AND, OR, XOR (exclusive or), NOT, and
SAME. The operators will produce results that are true or false, depending on
the truth-value of the logical statements affected. The operator NOT
(negation) applies to a single logical statements. All of the others apply to
two logical statements.
Tabulating all possible combinations of one or two statements together with
the resulting value of applying a certain logical operator produces what is
called the truth table of the operator. The following are truth tables of each of
the standard logical operators available in the calculator:
p NOT
p
1 0
0 1
p
q
p AND q
1 1 1
1 0 0
0 1 0
0 0 0
p
q
p OR q
1 1 1
1 0 1
0 1 1
0 0 0
p
q
p XOR q
1 1 0
1 0 1
0 1 1
0 0 0