Logical operations
•
AND
T = True
F = False
•
1 and 1 = 1
T and T = T
•
1 and 0 = 0
T and F = F
•
0 and 1 = 0
F and T = F
•
0 and 0 = 0
F and F = F
•
OR
•
1 and 1 = 1
T and T = T
•
1 and 0 = 1
T and F = T
•
0 and 1 = 1
F and T = T
•
0 and 0 = 0
F and F = F
•