Homework 1

Complete problems 1.2.2, 1.2.3, 1.3.1, 1.3.2, 1.3.3, from our textbook Elements of Programming Languages, henceforth known as EOPL.

Then write a procedure in Scheme that takes three numbers as arguments and returns the sum of the squares of the two largest arguments. For example, if we called the procedure program1, typing (program1 3 1 2) in the interpreter should yield the value 13.

These assignments are due on Friday, 23 January 1998. The problems assigned from the textbook should be written on paper. The procedure should appear in a subdirectory called hw1 under the home directory of your course account cs103??.

CS 103 Home Page

Robert Snapp's Home Page