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?

  1. A.

    AND

  2. B.

    XOR

  3. C.

    NOR

  4. 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.

Explore the full course: Up Police Computer Operator

Loading lesson…