0% found this document useful (0 votes)
68 views

Truth Table Examples

The document discusses truth tables and how to construct them for logical expressions. It provides examples of truth tables for basic logical operations like AND and OR. It then shows truth tables for more complex expressions involving combinations of operations, such as for A+BC, A(B+D), (A+B)(A+C), W(X+Y)Z, and PT(P+Z). Each truth table lists all possible combinations of values (0 or 1) for the variables in the expression and the resulting output value.

Uploaded by

Amirul Firdzaus
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views

Truth Table Examples

The document discusses truth tables and how to construct them for logical expressions. It provides examples of truth tables for basic logical operations like AND and OR. It then shows truth tables for more complex expressions involving combinations of operations, such as for A+BC, A(B+D), (A+B)(A+C), W(X+Y)Z, and PT(P+Z). Each truth table lists all possible combinations of values (0 or 1) for the variables in the expression and the resulting output value.

Uploaded by

Amirul Firdzaus
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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