Problem 1
Convert the following unsigned binary numbers into decimal numbers.
- 11111
- 10101
- 11101000
Problem 2
Convert the following decimal numbers into binary numbers.
- 16
- 255
- 2012
Problem 3
Convert the following signed decimal numbers into 8-bit twos-complement representation.
- 32
- -32
- 100
- -100
- 0
- -0
Problem 4
Convert the following 5-bit twos-complement numbers into signed decimal numbers.
- 00000
- 01010
- 10000
- 10110
- 11000
Problem 5
For numbers stored in 16-bit words,
- what is the smallest unsigned number that can be stored?
- what is the largest unsigned number that can be stored?
- what is the smallest twos-complement number that can be stored?
- what is the largest twos-complement number that can be stored?