1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
p |
q |
r |
~p |
~q |
~r |
(5)⋃(6) |
(4)⋂(2) |
(7)⋂(8) |
0 |
0 |
0 |
1 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
In the truth table above 0=FALSE/F/No, 1=TRUE/T/Yes.
⋃=union or INCLUSIVE-OR, ⋂= intersection or AND, ~=NOT
(a) ○ (b) means perform binary operation ○ on Column a and Column b.
Truth table for INCLUSIVE OR:
Truth table for AND: