6.001 Fall 1998: Problem set 2
- Issued: Tuesday, September 15
- Tutorial preparation for: Week of September 21
- Written solutions due: Friday, September 25 at start of recitation
- Reading: This problem set draws on the material in SICP
2.1, 2.2.1-2.2.3 for data abstraction, and 1.3 for higher order
procedures. To prepare for lectures during the week of September
22, you should read SICP section 2.1 through the end of section 2.2.
Errata
You should be sure to check the
current announcements
for any bug fixes. There are at least two: one having to do with
the "ibm" sample data, and a more important bug fix for the
bid-shares accessor function.
Text of the problem set
Problem set in postscript format, for
printing or viewing with a program like ghostview
Problem set in HTML format, for
Web browsing
Problem set in pdf format, for viewing
with Adobe Acrobat (available from www.adobe.com).
Problem set in dvi format, for viewing
a program like xdvi (no figures included).
Code to load for this problem set
For GNU/Linux users
Gzipped tar file format. Put this tar file in the
psets directory, go to that directory, and type
tar xvf ps2.tar.gz. If this works, you can remove the tar file.
For Windows95 and Windows NT users
Zip
file format. Unzip this file in the into the directory you set up
as your problem sets directory when you installed 6.001 Scheme (this
will be a directory with the name psets
under the
directory you actually specified). The result should update the
probsets file
in the psets directory and also place in psets
a directory called ps2
that contains one file: acme.scm.
Code to read for this problem set
When you load the problem set, the following code file (included in
the tar and zip packages above) will be placed in an Edwin buffer so
that you can examine it easily. Here is another copy of the code, in
a form that you can look at with a web browser:
Return to 6.001 Home Page
Send comments about this site to 6001-webmaster@ai.mit.edu.
Copyright © 1997 by Massachusetts Institute of Technology. All rights reserved.
Last modified: Thu Sep 24 08:52:21 EDT 1998