6.001 Fall 1998: Problem Set 7
- Issued: Thursday, October 29, 1998
- Tutorial preparation for: Week of November 9, 1998
- Written solutions due: Friday, November 13, 1998
- Reading: Read Section 3.4 by lecture on November 3, 1998,
Section 4.1 by lecture on November 5, 1998, and Section 4.2
by lecture on November 10, 1998.
- Code: The following code (attached) should be studied as part
of this problem set:
- objsys.scm--support for an elementary object system
- objtypes.scm--a few nice object classes
- setup.scm--a mansion world constructed using these classes
- Quiz 2 Reminder: November 4, 1998. 5-7PM xor 7-9PM, room 3-270.
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 ps7.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 ps7
that contains three files: objsys.scm, objtypes.scm and setup.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: Wed Oct 28 15:18:15 EST 1998