Difficulty: Easy
Correct Answer: Exclusive-OR (XOR)
Explanation:
Introduction / Context:
Recognizing a logic function from a verbal description is a core digital skill. The statement describes a detector that turns ON only when inputs differ. This behavior underpins parity generation, error checking, and bit-wise comparison operations in CPUs and communication systems.
Given Data / Assumptions:
Concept / Approach:
The exclusive-OR (XOR) gate outputs 1 only when exactly one input is 1; equivalently, when inputs differ. Its complement, XNOR, outputs 1 when inputs are equal. AND/NOR/Buffer do not show this “difference detection” behavior. Therefore, the verbal rule exactly matches XOR.
Step-by-Step Solution:
Verification / Alternative check:
Algebraic form: XOR(A,B) = A′B + AB′. This is true when exactly one term is true, i.e., inputs differ. Hardware libraries list XOR as a “difference” or “parity” gate, confirming the match.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing XOR and XNOR due to similar naming; forgetting that XOR highlights differences while XNOR highlights equality.
Final Answer:
Exclusive-OR (XOR)
Discussion & Comments