# 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.

(b) Add your two numbers m and n in binary, leaving your answer as a binary number.

(c) Add the hexadecimal representations of m and n. Convert the hexadecimal sum back to binary and show that the result agrees with your answer in (b).

(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?

## Answer

**Answers can be viewed only if**

- The questioner was satisfied and accepted the answer, or
- The answer was disputed, but the judge evaluated it as 100% correct.

2 Attachments

- answered
- 399 views
- $15.00

### Related Questions

- Advanced Modeling Scenario
- Prove that one of $(n+1)$ numbers chosen from $\{1,2, \dots, 2n\}$ is divisible by another.
- Solve $abc=2(a-2)(b-2)(c-2)$ where $a,b $ and $c$ are integers
- Elementary num theory Q: or
- Prove that $p^2-1$ is divisible by 24 for any prime number $p > 3$.
- If both $n$ and $\sqrt{n^2+204n}$ are positive integers, find the maximum value of $𝑛$.
- Prove the following limits of a sequence of sets?
- The last six digits of the number $30001^{18} $

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

how much is it worth

Maybe 5 more?

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

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