Difficulty: Easy
Correct Answer: 01011001.01110010
Explanation:
Introduction / Context:
Binary-Coded Decimal (BCD) encodes each decimal digit independently in 4 bits. For numbers with a decimal point, we simply encode each digit on either side of the point and keep the separator to maintain readability. This is useful for displays and financial applications where exact decimal digits must be preserved.
Given Data / Assumptions:
Concept / Approach:
Encode 5 → 0101, 9 → 1001, 7 → 0111, 2 → 0010. Concatenate the nibbles in digit order and keep the dot in place to mark the fractional boundary.
Step-by-Step Solution:
Verification / Alternative check:
Check each nibble corresponds to a valid BCD digit (no codes above 1001). The integer part reads 59 and the fractional part reads 72 when interpreted per digit, matching the original decimal number.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing pure binary conversion with BCD, or attempting to encode the dot itself as bits.
Final Answer:
01011001.01110010
Discussion & Comments