Question: What is the primary function of an XOR gate?
Options:
Correct Answer: Outputs true if inputs are different
Solution:
An XOR gate outputs true (1) if the inputs are different.