Difficulty: Easy
Correct Answer: 201
Explanation:
Introduction / Context:Binary-to-decimal conversion is fundamental for interpreting register contents, configuration fields, and data payloads. Here we translate an 8-bit binary number into its base-10 value using positional weights, a method that scales to larger bit widths as well.
Given Data / Assumptions:
Concept / Approach:Each bit contributes its weight if it is 1. Sum the weights to obtain the decimal value. For an 8-bit number, the weights are 128, 64, 32, 16, 8, 4, 2, 1 from MSB to LSB.
Step-by-Step Solution:
Write weights under bits: 1 1 0 0 1 0 0 1 → 128, 64, 0, 0, 8, 0, 0, 1.Add contributions: 128 + 64 + 8 + 1 = 201.Hence, 11001001₂ = 201₁₀.Verification / Alternative check:Break into nibbles: 1100 1001 = C9_hex. Convert C9_hex to decimal: 12*16 + 9 = 192 + 9 = 201. Both methods agree.
Why Other Options Are Wrong:
Common Pitfalls:Reading bits right-to-left without mapping correct weights, or confusing hex and decimal during intermediate steps. Keep a clear table of weights to avoid mistakes.
Final Answer:201
Discussion & Comments