Represent the denary number 5.625 as an unsigned binary fixed point number with three bits before and five bits after the binary point.

The questions asks us to use 3 bits before the point and 5 points after. When answering these kinds of questions we can keep the decimal point in our answer, so let's start with this: 000.00000 With these questions we can treat it as LHS + RHS, or in this concrete example, 5 + 0.625. The left hand side we treat as a normal integer (whole number) and the right hand side our fraction. 5 in binary is 101. We now have 101.00000 and need to add our 0.625 to the RHS! So in integer binary we have (bit)(bit)(bit)(bit). where each bit represents 8, 4, 2 and 1 (respectively). In fractional binary we have it so that if we had .(bit)(bit)(bit)(bit) it would ascend from 1/2. So in this 4-bit case each bit would represent 1/2, 1/4, 1/8 and 1/16 (respectively). Notice how the denominator doubles each time. To recap, if we have 101.01000 we would have 5.25 because 5.25 = 4 + 1 + 1/4. So how do we create 0.625? Simply use 0.5 + 0.125, which is 1/2 + 1/8. Therefore, our answer will be 101.10100

BW
Answered by Brendon W. Computing tutor

8685 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

Write pseudocode for the linear search algorithm, and then explain it’s complexity using big-O notation


In programming, some languages are compiled and others are interpreted. Define the difference between the two.


Give two types of management of either hardware or other resources that are performed by an operating system.


Describe an advantage of using vector graphics instead of bitmaps to represent images.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2025 by IXL Learning