Tutorials

Boolean Algebra Basics


Truth Table


Input and output of every logic gate can be represented using Truth table.

We can only use only binary numbers in truth table as input and the output produced is also in binary.

Number of rows in truth table depends on the input variables.

 

For n input variables, truth table will have 2rows.

Input-Row table

1 input

2 input

3 input

n input

21  = 2 rows.

22  = 4 rows.

23  = 8 rows.

2n  = 2n rows.

 

Truth table – 1 input

Input1

0

1

 

Truth table – 2 input

Input1

Input2

0

0

0

1

1

0

1

1

 

Truth table – 3 input

Input1

Input2

Input3

0

0

0

0

0

1

0

1

0

0

1

1

1

0

0

1

0

1

1

1

0

1

1

1

 

Truth table – 4 input

Input1

Input2

Input3

Input4

0

0

0

0

0

0

0

1

0

0

1

0

0

0

1

1

0

1

0

0

0

1

0

1

0

1

1

0

0

1

1

1

1

0

0

0

1

0

0

1

1

0

1

0

1

0

1

1

1

1

0

0

1

1

0

1

1

1

1

0

1

1

1

1

Based on the input provided, output will be produced depending on the operation performed (AND, OR, NOT, etc).

 

We will see what output is produced for different operation in their respective chapter.

 



Please Share this page
Views : 56
Like every other website we use cookies. By using our site you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. Learn more Got it!