Element 3 Question 3-34E6
C3E34: Logic Gates
Which of the following logic gates will provide an active high out when both inputs are active high?
- NAND.
- NOR.
- AND. (correct answer)
- XOR.
Correct answer: C, AND.
Explanation
An AND gate goes high only when all inputs are high, so two high inputs give a high output. Comparing the gates for that same input case shows the difference. NAND and NOR both go low, and so does XOR, because XOR is high only when its inputs differ.
Why the other answers are wrong
- A, NAND.: A NAND is the inverted AND, so with both inputs high its output is low, the one case where it is not high.
- B, NOR.: A NOR goes low whenever any input is high, so both inputs high gives a low output.
- D, XOR.: XOR (exclusive OR) is high only when the inputs differ; with both inputs high they match, so the output is low.