**Homework Assignment 1 **

Due Jan. 26, 2000

Note: All the following problems can be easily done with a calculator. However, be sure that you are able to do them by hand, as calculators will not be allowed on the first exam. I suggest you do them by hand, and use a calculator to check your answers.

- Convert the following binary numbers to their hexadecimal
equivalents:
- 11011011
_{2} - 11111111
_{2} - 0110100101
_{2} - 0101101100010101
_{2}

- 11011011
- Convert the numbers of Problem 1 to their unsigned decimal equivalents.
- Consider the following hexadecimal numbers as unsigned. Find their
decimal equivalents:
- D3
_{16} - 5A
_{16} - 3DA9
_{16} - 4C2
_{16}

- D3
- Convert the following unsigned decimal numbers to their 16-bit hexadecimal
equivalents:
- 5218
_{10} - 825
_{10} - 65535
_{10}

- 5218
- Consider the following hexadecimal 8-bit numbers as unsigned.
Find their decimal equivalents:
- 0xFF
- 0x27
- 0xA3
- 0x80

- Repeat Problem 5, considering the numbers as signed.
- Convert the following signed decimal numbers to 8-bit hexadecimal
numbers.
- Skip part (a)
- 57
- -57
- 127
- -128