Which type of gate outputs a logic-0 when both inputs are logic-0 or both are logic-1?

Study for the IandE Technician Test with flashcards and multiple choice questions, each question has hints and detailed explanations. Prepare for your certification today!

Multiple Choice

Which type of gate outputs a logic-0 when both inputs are logic-0 or both are logic-1?

Explanation:
Understanding how a two-input gate handles equal versus different inputs helps here. An XOR gate is true (logic 1) only when the two inputs differ. That means: - 0 and 0 → 0 - 0 and 1 → 1 - 1 and 0 → 1 - 1 and 1 → 0 So it outputs a 0 when both inputs are 0 or both are 1. In contrast, an XNOR gate does the opposite: it outputs 1 when the inputs are the same and 0 when they differ. The described behavior matches the XOR gate, not the XNOR.

Understanding how a two-input gate handles equal versus different inputs helps here. An XOR gate is true (logic 1) only when the two inputs differ. That means:

  • 0 and 0 → 0
  • 0 and 1 → 1

  • 1 and 0 → 1

  • 1 and 1 → 0

So it outputs a 0 when both inputs are 0 or both are 1. In contrast, an XNOR gate does the opposite: it outputs 1 when the inputs are the same and 0 when they differ. The described behavior matches the XOR gate, not the XNOR.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy