| 1.5 | Math for a Digital Age | ||
| 1.5.3 | Boolean logic gates |
Computers are built from various
types of electronic circuits. These circuits depend on what are called
AND, OR, NOT, and NOR logic "gates". These gates are
characterized by how they respond to input signals. Figures
There are only three primary logic functions. They are AND, OR, and NOT. An OR gate acts if either input is on, the output is on. The AND gate acts if either input is off, the output is off. A NOT gate acts if the input is on, the output is off, and vice versa. The NOR gate is a combination of the OR and NOT gates and should not be presented as a primary gate. A NOR gate acts if either input is on, the output is off. These functions are illustrated in the tables for reference. All the other functions can be derived from these.
It helps to look at the "truth tables" in Figure
|