Homework #2

Assigned: February 3
Due: February 17, noon


Note: For full credit, these functions must strictly follow the Twenty Commandments, especially the first, second, eleventh, twelfth, and thirteenth.
  1. (5 points) [CPL] Programming Exercise 5.10.3 (start with a solution to 5.4.3).

  2. (5 points) [CPL] Programming Exercise 5.10.4.

  3. (5 points) [CPL] Programming Exercise 5.7.2.

  4. (15 points) [CPL] Programming Exercise 5.10.7 (recommended to complete 5.10.8 because mergesort is naturally recursive).

  5. (5 points) [CPL] Programming Exercise 5.10.9 (recommended to complete 5.10.10 because mergesort is naturally recursive).

  6. (10+10=20 points) [EOPL2] exercise 1.18 (only parts 1 & 2) on p. 27.


Return Home