CS 282 Winter 2003

Assignment 2

2/10/2003

Due date: 2/17/2003 12:30 PM

  1. (12 points) Problem 4.7 in the text book, page 110, Chapter 4
  2. (6 points) Problem 4.8 in the text book, page 111, Chapter 4
  3. (7 points) Convert the following decimal numbers into binary system and then normalize.

(a)    24.675

(b)   45.325

  1. ( 10 points) Give the IEEE floating point representation for the following decimal numbers:

(a)    15.45

(b)   34.33