CS 3520 Homework 2   - Due September 5

Note: Since September 4 is a holiday, this homework is due Tuesday, September 5, 11:59 PM.

The following exercises will be graded on both correctness and style. Each function definition must be preceded by input and output type declarations, and the function's implementation must follow the shape of the input data.

Exercise 2.1, Practice with datatypes and recursion

EoPL exercise 1.15 (page 24), all 10 parts.

Exercise 2.2, More practice

EoPL exercise 1.16 (page 26), all 5 parts.

Last update: Thursday, September 21st, 2000