A variation on the idea of the AND gate is called the NAND gate. The word, ”NAND” is a verbal contraction of the words NOT and AND. Essentially, a NAND gate behaves the same as an AND, gate with a NOT, (inverter) gate, connected to the output terminal. To symbolize this output signal inversion, the NAND gate symbol has a bubble on the output line. The truth table for a NAND gate is as one might expect, exactly opposite to that of an AND gate. As with AND gates, NAND gates, are made with more than two inputs. In such cases the same general principle applies:
The output will be, ”low”, (0), if and only if all inputs are ”high”, (1).
If any input is ”low”, (0), the output will go ”high”, (1).