## CSci 1301: Problem Set 3

#### Due: Wednesday, September 23 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 with
expected values.

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.

The views and opinions expressed in this page are strictly those of the page author. The contents of this page have not been reviewed or approved by the University of Minnesota.