1. Which of the following logic gates produces an output of logic 0 only when both of its inputs are logic 1?
- AND gate
- OR gate
- NOR gate
- NAND gate
Show answer and explanation
Answer: (D) NAND gate
A NAND gate performs an inverted AND operation. Its truth table shows that the output is 0 if and only if all inputs are 1; otherwise, the output is 1.