Difficulty: Medium
Correct Answer: 9.125
Explanation:
Introduction:Binary numbers with fractional parts are common in fixed-point representations, digital filters, and timing calculations. Converting them into decimal clarifies magnitudes and assists in sanity checks when designing or debugging digital systems.
Given Data / Assumptions:
Concept / Approach:
Expand the value as a weighted sum of powers of two. The integer portion 1001_2 equals 8 + 1 = 9. The fractional portion .0010_2 has a single 1 in the 2^(−3) place, equal to 1/8 = 0.125. Summing yields the final decimal result.
Step-by-Step Solution:
Integer side: 12^3 + 02^2 + 02^1 + 12^0 = 8 + 0 + 0 + 1 = 9.Fractional side: 02^(−1) + 02^(−2) + 12^(−3) + 02^(−4) = 0 + 0 + 0.125 + 0 = 0.125.Add: 9 + 0.125 = 9.125.Therefore, 1001.0010_2 = 9.125_10.Verification / Alternative check:
Convert to an exact fraction: 9 + 1/8 = 73/8. Dividing 73 by 8 indeed gives 9.125, confirming the calculation without rounding error.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
9.125
Discussion & Comments