A logic circuit gives a LOW output when both inputs are HIGH or both inputs…
2023
A logic circuit gives a LOW output when both inputs are HIGH or both inputs are LOW. Which gate has this behavior?
- A.
AND
- B.
NAND
- C.
XOR
- D.
XNOR
Attempted by 358 students.
Show answer & explanation
Correct answer: C
Key idea: The output is LOW when the two inputs are the same.
Inputs 0 and 0 → output 0
Inputs 1 and 1 → output 0
Inputs 0 and 1, or 1 and 0 → output 1
This is exactly the behavior of an XOR gate: XOR outputs HIGH only when the two inputs are different.
Answer: XOR