University of Toronto - Fall
2004
Department of Computer Science
CSC 324:
Principles of Programming Languages
Assignment 2
Scheme
This page contains links to all relevant documents for Assignment 2.
*** Oct 17: Extra material in support of A2 is posted below.
*** Oct 8:
On Saturday October 9 at 9:45PM, I reposted a new copy of Assignment 2.
All questions on
the assignment are exactly the same as the previous copy except
for question 5, the "Lazy Evaluation" Question.
The error is minor:
In the lazy evaluation question (5), the procedure is
defined as:
(define up-set (lambda (n) (up-set (+ n 1))))
This isn't right. It should be:
(define up-set (lambda (n) (cons n (up-set (+ n 1)))))
*** Oct 5: Assignment 2 was updated on Tuesday October 5
at 3:00 AM. Most of the questions are exactly the same, with the exception
of Question 6. The marking scheme was changed slightly to the advantage
of students. Also, the marks on all questions add up to 85, but the assignment
will now be marked out of 75. That means if you get 75 marks, you get 100%.
Question 6 was altered. The submission instructions for
some questions were altered slightly. In recognition of the change, you
have been given 2 extra days to hand in the assignment, however, this is
a hard deadline and no grace days or late assignments will be possible.
I apologize for any confusion.
Extra Office Hours: We've scheduled extra office hours for
assistance with A2. I highly recommend that you attend if you can.
Thursday October 7 & Thursday October 14
4:00-6:00PM
BA3234
Solutions
Assignment 2 Solutions:
PDF ,
PS.
Specification of the Assignment
Due Date: Wednesday October 20, 5:00 PM.
- No assignments will be accepted after Wednesday October 20, 5:00PM so
that we may distribute the solutions well before the midterm.
- This assignment is out of 85, but it will be marked out of 75. That means if you get 75 marks, you get 100%.
Assignment 2 Handout:
PDF ,
PS
Assignment 2 Cover Page:
PDF ,
PS
Assignment 2 Guidelines:
HTML (Read me before you start)
Extra Help: Continuation Passing Example
PDF ,
PS
Extra Help: Material from Office Hours:
PDF ,
PS
It's your
responsibility to monitor the
newsgroup
and the
A2 Clarifications Page for any clarifications or corrections.
Back to the main page