CSci 1301: Problem Set 3

Due: Wednesday, September 22 at 11:59pm by e-mail

Please follow the notations described in section 2.5: for each function please write a contract, a purpose, examples, and tests (use check-expect or check-within).
You should have at least one test for every case of a condition.

Problem 1 (8 points)

Exercise 4.4.2.

Problem 2 (8 points)

Exercise 4.4.4.

Problem 3 (4 points)

Exercise 5.1.4 (do 4.4.4 first).


CSci 1301 course web site.