### Homework #4

Some problems for this homework are from the textbook. Please note that
I have changed the content of some of them.

**1**. 8 (page 170). (10 points)

**2**. 10 (page 170). (10 points)

**3**. 16 (page 170). (30 points)

**4**. 19 (page 28). Find the first **four** numbers in each stream. (30 points)

**5**. As you know bit strings have no inherent meaning. Given the bit pattern
10001111000000010000100000000001 what does it represent, assuming it is

a) a standard binary number? (5 points)
b) an unsigned integer? (5 points)
c) a 2's complement number? (5 points)
d) a floating point number? (5 points)
**6**. 4. Convert the decimal -1996 into

a) standard binary (5 points)
b) 8 bit signed integer (5 points)
c) 16 bit 2's complement integer (5 points)
Note: in each case show the binary, octal and hexadecimal representations.
**7**. Convert (show your work) the decimal 10.0703125 to

a) standard binary (5 points)
b) normalized binary (5 points)
**8**. Show the floating point format (single precision) for the decimal 1.25.
Show the steps of your work. (10 points)

**9**. Show the floating point format (single precision) for the decimal 0.125.
Show the steps of your work. (10 points)

Maximum mark: 145 (100%)