← Back to question

Answer explained

Which logic gate has a true output only when its inputs are different?

Correct answer: (D) XOR gate

An XOR gate outputs 1 exactly when the two inputs differ.