You are on page 1of 2

Truth Table Examples

The truth tables for the basic operations are:


And

A
0
0
1
1

B
0
1
0
1

Or

AB
0
0
0
1

A
0
0
1
1

B
0
1
0
1

Not

A+B
0
1
1
1

A
0
1

A
1
0

For more complicated expressions, tables are built from the truth tables of their basic
parts. Here are several:

Draw a truth table

Draw a truth table

Draw a truth table

for A+BC.
A B C B
C
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 1

for A(B+D).
A B D B+
D
0 0 0
0
0 0 1
1
0 1 0
1
0 1 1
1
1 0 0
0
1 0 1
1
1 1 0
1
1 1 1
1

for (A+B)(A+C).
A B C A+
B
0 0 0
0
0 0 1
0
0 1 0
1
0 1 1
1
1 0 0
1
1 0 1
1
1 1 0
1
1 1 1
1

A+B
C
0
0
0
1
1
1
1
1

A(B+
D)
0
0
0
0
0
1
1
1

Draw a truth table for W(X+Y)Z.


W

0
0
0
0
0
0
0

0
0
0
0
1
1
1

0
0
1
1
0
0
1

0
1
0
1
0
1
0

1
1
1
1
1
1
1

X+
Y
0
0
1
1
1
1
1

W(X+Y
)
0
0
1
1
1
1
1

A+
C
0
1
0
1
1
1
1
1

(A+B)(A
+C)
0
0
0
1
1
1
1
1

Draw a truth table for PT(P+Z).


W(X+Y)
Z
0
0
0
1
0
1
0

0
0
0
0
1
1
1

0
0
1
1
0
0
1

0
1
0
1
0
1
0

1
1
0
0
1
1
0

P
T
0
0
0
0
1
1
0

P+
Z
0
1
0
1
1
1
1

PT(P+Z
)
0
0
0
0
1
1
0

0
1
1
1
1
1
1
1
1

1
0
0
0
0
1
1
1
1

1
0
0
1
1
0
0
1
1

1
0
1
0
1
0
1
0
1

1
0
0
0
0
0
0
0
0

1
0
0
1
1
1
1
1
1

1
0
0
0
0
0
0
0
0

1
0
0
0
0
0
0
0
0

You might also like