Difficulty: Easy
Correct Answer: the inputs are equal
Explanation:
Introduction / Context:
Exclusive-NOR (XNOR) is the logical complement of XOR and is often used as an equality detector in digital comparators, address match circuits, and error-checking logic.
Given Data / Assumptions:
Concept / Approach:
Since XOR outputs 1 when inputs differ, XNOR outputs 1 when inputs are the same. Common expression: X = A * B + NOT A * NOT B. This evaluates to 1 for (0,0) and (1,1) input pairs only.
Step-by-Step Solution:
Case A=0, B=0 → X = 0 * 0 + 1 * 1 = 1.Case A=0, B=1 → X = 0 * 1 + 1 * 0 = 0.Case A=1, B=0 → X = 1 * 0 + 0 * 1 = 0.Case A=1, B=1 → X = 1 * 1 + 0 * 0 = 1.
Verification / Alternative check:
Think of XNOR as “logical equality.” If A equals B, the output is HIGH; otherwise, LOW. Many digital comparators chain XNORs across bit-pairs and OR the inverted results to detect mismatches.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
the inputs are equal
Discussion & Comments