You are on page 1of 2

Class exercises:

1. Convert the following to decimal:


a. 1010010101
b. 101110111
c. 111111111
d. 100000000
2. Convert the following the binary:
a. 5235
b. 8943
c. 256
3. Convert the following binary numbers to hexadecimal:
a. 101001010001001010101
b. 1001111010101010100010101
c. 1010100010101010001010001010
4. Convert the following hexadecimal numbers to binary:
a. ABCDEF
b. 127854
c. 234ABCE
5. Convert the following binary numbers to octal:
a. 101001010001001010101
b. 1001111010101010100010101
c. 1010100010101010001010001010
6. Convert the following octal numbers to binary:
a. 1237
b. 3242
c. 56643
7. Convert the following hexadecimal numbers to decimal:
a. ACDC
b. A123B
c. 123
8. Convert the following hexadecimal numbers to octal:
a. ACDC
b. A123B
c. 123
9. Calculate the two’s complement of the following numbers (use 8 bits only). What are
these numbers in decimal?
a. 1010101
b. 1000001
c. 1111111
10. Convert the following to binary (using fixed point representation):
a. 374.54
b. 123.21
c. 543.2
11. Convert the following to decimal (using fixed point representation):
a. 101101.10101
b. 1101011.11101

You might also like