Ahmad Ali Ahmad Othman - Section 1 - Sheet 2
1. Convert these binary numbers to decimal.
A.
B.
C.
D.
E.
F.
G.
H.
2. Convert the following decimal values to binary.
| n | n | ||
|---|---|---|---|
| 0 | 1 | 6 | 64 |
| 1 | 2 | 7 | 128 |
| 2 | 4 | 8 | 256 |
| 3 | 8 | 9 | 512 |
| 4 | 16 | 10 | 1024 |
| 5 | 32 | 11 | 2048 |
A.
B.
C.
D.
E.
F.
G.
H.
I.
3.What is the largest decimal value that can be represented by:
A. 8-bit binary number?
B. 16-bit number?
4. Convert each hex number to its decimal equivalent.
A.
B.
C.
D.
E.
F.
G.
H.
5. Convert each of the following decimal numbers to hex.
A.
B.
C.
D.
E.
F.
G.
H.
6. Convert each of the hex values from Problem 4 to binary.
| Hex | Binary | Hex | Binary |
|---|---|---|---|
| 0 | 0000 | 8 | 1000 |
| 1 | 0001 | 9 | 1001 |
| 2 | 0010 | A | 1010 |
| 3 | 0011 | B | 1011 |
| 4 | 0100 | C | 1100 |
| 5 | 0101 | D | 1101 |
| 6 | 0110 | E | 1110 |
| 7 | 0111 | F | 1111 |
A.
B.
C.
D.
E.
F.
G.
H.
7. Convert the binary numbers in Problem 1 to hex.
A.
B.
C.
D.
E.
F.
G.
H.
9. When a large decimal number is to be converted to binary, it is sometimes easier to convert it first to hex, and then from hex to binary. Try this procedure for and compare it with the procedure used in Problem 2 (h).
First: decimal to hex
Second: hex to binary
10. How many hex digits are required to represent decimal numbers up to 20,000?
General rule: digits equals the
Answer: