Difficulty: Easy
Correct Answer: 49₁₆
Explanation:
Introduction / Context:Binary–hexadecimal conversion is common because each hex digit maps exactly to 4 binary bits (a nibble). This makes grouping straightforward and error-resistant compared with decimal conversions.
Given Data / Assumptions:
Concept / Approach:Pad the binary string on the left, if necessary, so its length is a multiple of 4. Then translate each 4-bit group directly to one hex digit using the standard 0–F mapping.
Step-by-Step Solution:
Write 1001001₂ and pad to 7→8 bits: 0100 1001.0100₂ = 4₁₆; 1001₂ = 9₁₆.Thus 1001001₂ = 0x49 (hex) = 49₁₆.Decimal check: 0x49 = 4*16 + 9 = 73.Verification / Alternative check:Compute binary place values: 1*2^6 + 1*2^3 + 1*2^0 = 64 + 8 + 1 = 73. Converting 73 to hex gives 4*16 + 9 = 49₁₆, confirming the result.
Why Other Options Are Wrong:
Common Pitfalls:Failing to pad on the left to a multiple of 4 bits or misreading the 1001₂ nibble as 8 instead of 9.
Final Answer:49₁₆
Discussion & Comments