Exam-style question
Try this first
Using 8-bit fixed-point representation with 4 bits before and 4 bits after the binary point, which bit pattern represents decimal 3.25?.
- A.0011.0010
- B.0011.0100
- C.0011.1000
- D.0110.0100
Model answer
What a good answer should say
- 0011.0100
Explanation
Why this works
The integer part 3 is 0011. The fractional part 0.25 is represented by 0100 because the first fractional bit has value 1/2 and the second has value 1/4; 0.25 is 0/2 + 1/4 + 0/8 + 0/16.
Common mistake
No common mistake is linked to this question yet.
