MCS-177 Computer Science I

Old Homeworks

Chapter 6:

Chapter 5:

    1. Do exercises 5.2, 5.8, and 5.18

Chapter 4:

Chapter 3:

  1. Do exercises 3.2, 3.4, 3.5, and 3.15  in the text
  2. Write an iterative  procedure that will find the average of the digits in a non-negative integer.  For example,

  3. (digit-average 1123456789) ==> 4.6

Chapter 2:

  1.    Do exercises 2.2, 2.8, and 2.21  in the text
  2.   Write a procedure that will find the average of the digits in a non-negative integer.  For example,

  3. (digit-average 1123456789) ==> 4.6

Chapter 1: