A NAND gate is a type of digital logic gate that performs the logical operation called "NAND" (NOT-AND). It is a combination of an AND gate followed by a NOT gate.
A NAND gate has two or more inputs and one output, which produces a low (logical 0) output only when all of its inputs are high (logical 1). In other words, if any of the inputs are low (logical 0), the output will be high (logical 1).
The truth table for a two-input NAND gate is as follows:
Input A | Input B | Output
----------------------------
0 | 0 | 1
0 | 1 | 1
1 | 0 | 1
1 | 1 | 0
NAND gates are widely used in digital electronics and computer science because they can be combined to create any other type of logic gate. This property, known as functional completeness, makes NAND gates highly versatile in designing complex digital circuits.
What is a NAND Gate?
1 answer