Difficulty: Easy
Correct Answer: A < B is 1 A = B is 0 A > B is 0
Explanation:
Introduction / Context:
Magnitude comparators output three mutually exclusive flags indicating less-than, equal, or greater-than relationships between binary words. Practicing with specific inputs develops fluency useful for timing and control logic.
Given Data / Assumptions:
Concept / Approach:
Compare bit by bit from MSB to LSB. The first position where A and B differ determines the outcome. Alternatively convert to decimal and compare numerically.
Step-by-Step Solution:
Verification / Alternative check:
Decimal comparison: 9 < 10, so A
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
A < B is 1, A = B is 0, A > B is 0.
Discussion & Comments