CSci 1301: Problem Set 1

Due: Friday, September 14 at 11:59pm

Please test all your programs carefully and include all the test cases with your program. You must have a check-expect test for each expression and at least 3 check-expect tests for each function.

This Racket file shows an example of solving similar exercises.

Problem 1

Exercises 3 (3 pts), 4 (3 pts), 8 (5 pts) in Ch. 1. In exercise 8 it's fine to implement just tall and wide, and not square.

Problem 2

Exercises 12 (3 pts) (do not define csurface), 14 (3 pts), 17 (4 pts), 18 (4 pts), 19 (4 pts) in Section 2.1 In exercise 17 it's fine to implement just tall and wide, and not square.

How to submit

Make sure that your file is named correctly:
Name your file with the combination of your last names, no spaces, followed by "PS" (for "Problem set" and the problem set number. For instance, if your last names are Smith and Lee, the file name should be SmithLeePS1.rkt If there are others in the class with the same name as yours, you your initial in addition to your last name: MSmithJLeePS1.rkt

At least one person in the group must submit it via canvas as a file upload (make sure it's that .rkt file). Make a comment indicating who you worked with. The other person (or people) in the group may submit the same file and also indicate who was in the group or just make a comment listing all your group members (note: if you don't submit a note listing your group members, your work may not be counted, even if your group partners list you as the group member).


CSci 1301 course web site.