# bases and number representations  Q

Bases and Number Representations question, working out please.

One byte is an 8-bit number; for example, 00000001. A byte can represent decimal numbers from 0 to 255, and is historically the smallest addressable unit of memory in a computer.

Write down two bytes as binary numbers. Your first number, m, should have a leading digit of 1 and contain three ones in total. Your second number, n, should contain four ones.

(a) Convert each of your numbers m and n to decimal, octal and hexadecimal.

(d) Write down a fraction k/20 where k is not a multiple of 5, and write it as a decimal, e.g. 0.45 Convert this decimal fraction to a binary number, finding the first six digits of the answer. What do you think will happen if you compute more digits?

(e) Reflect on your answer to part (d): what problems might this cause in computer science?

• Daniel90
0

This problem has roughly 10 parts and very time consuming to answer. The offered bounty is low.

• Ciel
0

how much is it worth

• Mathe
0

Maybe 5 more?

• Daniel90
0

It'll take about an hour to answer this question. The offered a bounty that's worth the time.

• Daniel90
0

My second sentence is messed up. I meant "Offer a bounty that's worth the time".

Answers can be viewed only if
1. The questioner was satisfied and accepted the answer, or
2. The answer was disputed, but the judge evaluated it as 100% correct.

2 Attachments

• Ciel
0

For m, don't you have 4 1's in total not 3?

• Mathe
0

Yes, I think I got it backwards

• Mathe
0

I will add a second file. Sorry for the mistakes.

• Mathe
0