Difficulty: Easy
Correct Answer: A > B = 1, A < B = 0, A = B = 0
Explanation:
Introduction / Context:
Digital magnitude comparators (such as the 7485 family) produce three outputs that indicate whether one binary word is greater than, less than, or equal to another. Interpreting these outputs is a basic skill for designing decision logic, sorting networks, and address decoding hardware.
Given Data / Assumptions:
Concept / Approach:
Convert each binary number to decimal or compare bit-by-bit from MSB to LSB. The first differing bit from the left determines the result: if A’s bit is 1 and B’s is 0, then A > B; if opposite, A < B; if all bits equal, A = B.
Step-by-Step Solution:
Verification / Alternative check:
Bitwise MSB-first: compare bits at positions 2^3, 2^2, 2^1, 2^0. At 2^2 (the second bit), A has 1 while B has 0, and no higher bits differ; therefore A > B without needing to check lower bits.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
A > B = 1, A < B = 0, A = B = 0
Discussion & Comments