Difficulty: Easy
Correct Answer: A-4, B-1, C-2, D-3
Explanation:
Introduction / Context:
Converting between binary and hexadecimal is routine in digital electronics and debugging. Each hex digit represents exactly four binary bits, simplifying grouping and interpretation of byte patterns.
Given Data / Assumptions:
Concept / Approach:
Translate each 8-bit pattern by splitting into two nibbles and converting each nibble to hex, then concatenating the two hex digits.
Step-by-Step Solution:
Verification / Alternative check:
Cross-check with decimal: 10101010₂ = 170₁₀ = 0xAA; 11111111₂ = 255₁₀ = 0xFF; 10001000₂ = 136₁₀ = 0x88; 10010010₂ = 146₁₀ = 0x92.
Why Other Options Are Wrong:
Common Pitfalls:
Grouping from the wrong end or misreading 1001 as 1000; forgetting leading zeros when the bit-count is not a multiple of 4.
Final Answer:
A-4, B-1, C-2, D-3
Discussion & Comments