Which logic gate gives output 1 when its input values are different?
2016
Which logic gate gives output 1 when its input values are different?
- A.
AND
- B.
XOR
- C.
NOR
- D.
XNOR
Attempted by 235 students.
Show answer & explanation
Correct answer: B
The XOR gate gives output 1 when its two input values are different: 0 ⊕ 1 = 1 and 1 ⊕ 0 = 1. When the inputs are the same, 0 ⊕ 0 = 0 and 1 ⊕ 1 = 0. Therefore, the required gate is XOR.
Loading lesson…