Topics / Boolean Logic / Logic Circuits into Truth Tables

# Logic Circuits into Truth Tables

### What is a logic circuit?

When logic gates are connected they form a circuit. Logic circuits are designed to perform a particular function.  Understanding the nature of that function requires a logic circuit truth table.

A truth table shows all the expected outputs for every possible combination of inputs.

### How to create a truth table for a logic circuit diagram

Creating a truth table for a logic circuit is trickier than doing so for a single gate.

It is advisable to follow the method below which will eventually lead you to the final output for the circuit.  It is not advisable to try and work it all out in your head!

If you still need to learn about the individual logic gates, they are all explained on our Logic Gates page. Method:

1. On the circuit diagram, add temporary letters after each gate (C, D, E in the above example)
2. Create a blank truth table, allowing space for all the temporary letters (stages)
3. Write into the truth table all the possible unique input combinations (A and B combinations in this example)
4. In the truth table, calculate the output at each temporary letter, treating them as separate mini logic problems (e.g. D is the result of A OR B)
5. Eventually you will reach a stage where you are able to find the final output for the logic circuit (Z in this example)
Input AInput BCDEOutput Z
ABNOT AA OR BC AND DE OR D
001 0 00
011 1 11
100 1 01
110 1 01

Topics / Boolean Logic / Logic Circuits into Truth Tables