AND

This is the truth table for pÙq:
p
q
pÙq
1
1
1
1
0
0
0
1
0
0
0
0
OR

This is the truth table for pÚq:
p
q
pÚq
1
1
1
1
0
1
0
1
1
0
0
0
XOR, NAND, NOR and XNOR

This is the truth table for the logical connectives XOR, NAND, NOR and XNOR.
p
q
p XOR q
p NAND q
p NOR q
p XNOR q
1
1
0
0
0
1
1
0
1
1
0
0
0
1
1
1
0
0
0
0
0
1
1
1