E7A09 - What logical operation is performed by a two-input exclusive NOR gate?

Question

What logical operation is performed by a two-input exclusive NOR gate?

Answer Options

  • A) It produces a 0 at its output only if all inputs are 0
  • B) It produces a 1 at its output only if all inputs are 1
  • C) It produces a 0 at its output if one and only one of its inputs is 1
  • D) It produces a 1 at its output if one and only one input is 1

Correct Answer: C


Explanation

An Exclusive NOR (XNOR) gate is the complement of the Exclusive OR (XOR) gate. The XOR function produces a ‘1’ only when its two inputs are different. The XNOR gate inverts this, producing a ‘1’ when the two inputs are the same.

The logical operation performed by a two-input XNOR gate is to produce a 0 at its output if one and only one of its inputs is 1. In other words, the output is ‘0’ if the inputs are different, and ‘1’ if the inputs are identical (both 0 or both 1). This makes the XNOR gate ideal for use as a digital comparator or equality detector.


This topic was automatically created to facilitate community discussion about this exam question. Feel free to share study tips, memory tricks, or additional explanations!