Amateur ExtraE7A07

What logical operation does a NAND gate perform?

D
Answer
Practical circuits and system design
Type
A
It produces a 0 at its output only if all inputs are 0
B
It produces a 1 at its output only if all inputs are 1
C
It produces a 0 at its output if some but not all inputs are 1
D
It produces a 0 at its output only if all inputs are 1

Answer Notes

To understand a NAND gate, first look at a standard AND gate. An AND gate produces a 1 at its output only if every single input is 1. If any input is a 0, the output is 0. The "N" in NAND stands for NOT, meaning the output of the AND operation is logically inverted. Therefore, the conditions completely flip: a NAND gate produces a 0 at its output only if all inputs are 1. For any other combination of inputs (such as all being 0, or a mix of 1s and 0s), a NAND gate will output a 1. Distractors describing outputs of 1 only when inputs are 1 describe standard AND gates, not inverted ones.
Previous · E7A06
What is a characteristic of a monostable multivibrator?
Next · E7A08
What logical operation does an OR gate perform?