Question:medium

Which of the following is a logic gate that gives an output of 1 when the inputs are different?

Show Hint

The XOR gate gives an output of 1 only when the inputs are different. It is often used in digital circuits where the condition of difference is needed.
Updated On: Nov 26, 2025
Hide Solution

Solution and Explanation

An XOR (exclusive OR) gate yields an output of 1 if its inputs differ (i.e., one is 0 and the other is 1). When inputs are identical, the output is 0.

- AND Gate: Output is 1 solely when both inputs are 1.
- OR Gate: Output is 1 if a minimum of one input is 1.
- XOR Gate: Output is 1 if inputs are dissimilar.
- NOT Gate: This gate inverts a single input.

Consequently, the accurate choice is the XOR Gate.
Was this answer helpful?
0