Roger L. Kraft

CS 50200 - Programming Assignment 5

This assignment will introduce you to a new programming language, Scheme. This assignment is due Thursday, April 17.

This assignment is based on Chapter 2 from the book The Scheme Programming Language. Your assignment is to do several exercises from that chapter.

From Chapter 2, do Exercises 2.4.3, 2.5.3, 2.7.2, 2.8.3, 2.8.5, 2.8.6, 2.8.7, 2.9.1 and 2.9.3 (look up list-ref, list-tail, and set-car! in the Summary of Forms).

You need a Scheme environment to do the assignment. Download and install the Racket distribution of Scheme. (Make sure you download the full version of Racket, not the "Minimal Racket" version.)

Turn in a zip file called CS502Hw5Surname.zip (where Surname is your last name) containing a Scheme file CS502Hw5Surname.scm which contains the solutions to each of the above problems.

This assignment is due Thursday, April 17.