Difficulty: Easy
Correct Answer: 10010111.11
Explanation:
Introduction / Context:
Binary conversion is a foundational skill in computer engineering and digital electronics. This problem asks for converting a mixed decimal number (an integer plus a fractional part) into binary, which reinforces the two complementary procedures: repeated division by 2 for the integer portion and repeated multiplication by 2 for the fractional portion. Mastering both methods is essential for interpreting numeric data, fixed-point formats, and low-level representations used in microcontrollers and digital signal processing.
Given Data / Assumptions:
Concept / Approach:
Convert the integer part using repeated division by 2 and noting remainders. Convert the fractional part using repeated multiplication by 2 and recording integer carries. The final binary number is integer_bits.fraction_bits. Since 0.75 equals 3/4, which is 0.11 in binary, the fractional conversion is straightforward.
Step-by-Step Solution:
Verification / Alternative check:
Convert back: 10010111.11 = 128 + 16 + 4 + 2 + 1 + 1/2 + 1/4 = 151 + 0.75 = 151.75. The round-trip confirms the correctness without rounding error.
Why Other Options Are Wrong:
Common Pitfalls:
Reversing remainder order for the integer conversion, misplacing the binary point, or confusing 0.75 with 0.3 repeating in binary. Remember that fractions with denominators that are powers of 2 convert exactly to a finite number of binary fractional bits.
Final Answer:
10010111.11
Discussion & Comments