CSIE: Introduction to Computers (I)

Homework 2, Due 10/26

1. Convert decimals 47 and 112 to (40%)

a. BCD code

b. 2421 code

c. Excess-3 code

d. 84-2-1 code

e. 8-bit reflected gray code

2. Convert decimals -47 and -112 to 8-bit 2's complements. (10%)

3. Convert decimals 47.125 and -112.0625 to single-precision floating-point representations. (10%)

4. Page 53, Exercise 2.19. (20%)

5. Page 53, Exercise 2.25. (20%)

¡@