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:
Write XOR truth rule: XOR(A,B)=1 if (A,B) is 01 or 10; else 0.Map “inputs the same” → 00 or 11 → XOR=0.Map “inputs different” → 01 or 10 → XOR=1.Hence the gate is Exclusive-OR (XOR).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