< Digital Logic 1

Basic Ideas and Concepts

  • What is a truth table and what can it do
  • Mapping a function on a truth table and determining all possible outputs
  • Applying principles of Boolean Algebra to minimize given function
  • Learn how to apply minterms and maxterms expansion to a truth table

Truth Tables

A truth table is basically a representation of all the possible input combinations and the functional output of each of those combinations. It will tell you on a case-by-case basis, what will the functional output be in every input instance.

We need a way to represent the 3 basic logic operations in algebraic formulas. (AND, OR, NOT)
Therefore we adopt the following standards for those representations:
A AND B =
A OR B =
NOT A (Inverted A) =

For a simple example, a truth table of the AND gate is given below.

a and b
a b f = a b
000
010
100
111

In general the number of rows in a truth table will be , where n is the number of variables. So in a 3 variable function where all the inputs are products, the following would be the truth table.

a and b and c
a b c f = a b c
0000
0010
0100
0110
1000
1010
1100
1111

Boolean Algebra

We introduce rules of Boolean Algebra to help us deal with simplifying more complex functions. The rules that should be learned are as follows.

Boolean Algebra Theorems and Axioms
Single Variable Multi-Variable
If then
If then

Activity

Formulate a truth table for the given function below:

This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.