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

Answered by Brendon W. Computing tutor

7277 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

What is the range of denary numbers that can be represented using 8-bit two’s complement binary integers?


The numbers 6B and 12 are displayed in hexadecimal form. Convert them into binary form and perform binary addition to find the sum. Convert your answer back into hexadecimal. Show your workings.


Describe what you understand by abstraction, and how it is relevant to software engineering.


What do I need to know about operating systems?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2024

Terms & Conditions|Privacy Policy