Boolean Logic

Logic gate symbols
Six different logic gates will be considered in this chapter.

Truth tables
Truth tables are used to trace the output from a logic gate or logic circuit.
The NOT gate is the only logic gate with one input; the other five gates have two inputs.
Input | Input | Output |
|---|---|---|
A | B | X |
0 | 0 | 0 |
0 | 1 | 0 |
1 | 0 | 0 |
1 | 1 | 1 |