Posted, November 26: Project 4 minor correction
In the code for an autonomous person code, there exists this fragment:
'MOVE-SOMEWHERE
(lambda ()
(let ((exit (random-exit (ask self 'LOCATION))))
(if (not (null? exit)) (ask self 'GO-EXIT exit))))
This has a subtle bug which will not appear in the normal running of
the code. In particular, random-exit uses
pick-random which returns #f if the list passed to
it is empty. Hence, if there are no exits, exit is
#f and eventually the code will call
(ask exit 'USE self)which will throw an error since exit is #f. In the normal running of the system, this is not a problem, since every place has exits, but it is possible that this will cause problems in the extensions when there might be places with no exits. One fix is to replace (not (null? exit)) with (not (eq? exit #f)).
Posted, November 21: Project 4 minor correction
In the code for screen-object, the expression 'location should be 'LOCATION, i.e., there is a case error.
Posted, November 20: Project 4 minor correction
There is one location in the code for Project 4 that includes a call to the pp procedure. This is a "pretty-print" procedure that exists in MIT Scheme, but not DrScheme. Simply replace this procedure call with a call to display or print.
Posted, November 14: Project 4 minor correction
There is one location in the code for Project 4 that includes a call to the pp procedure. This is a "pretty-print" procedure that exists in MIT Scheme, but not DrScheme. Simply replace this procedure call with a call to display or print.
Posted, November 14: Project 4 released
See the Projects link to access a copy of the project. Note the change in due date to a later date.
Posted, November 14: Quiz 2 data
Posted, November 14: Changes in project due date
Project 4 will be released either later today or tomorrow. We will push back the due date to December 2, to leave you more time to work on it, and we will shorten the last project appropriately.
Posted, November 4: LA Quiz Reviews
There will be two quiz reviews by the LAs; they will take place Sunday and Monday, Nov. 6 & 7, 7:30pm - 9:30pm in 32-123.
Posted, November 2: Quiz 2
The second quiz is scheduled for Wednesday, November 9, 7:30 to 9:30. The exam is expected to be roughly 1 hour in length, but we will provide you extra time to ease the pressure. Students whose last name begins with a letter between A and L should go to 1-290, students whose last name begins with a letter between M and Z should go to 2-290. If you have a conflict with this time, for example, because of a scheduled class, there will be a make-up quiz between 2 and 5 on Thursday, November 10, in 1-190. If you have a conflict, you must notify Donna Kaufman, dkauf@mit.edu , that you intend to take the makeup quiz.
Also note that the quiz is closed book; you may bring two sheets (8.5 by 11 inches) of notes (both sides) to the quiz with you.
Posted, October 24: Project 3 updates
There are a few minor bugs in the code for project 3, which are fixed in the loadable code:
(define (rlookup colname row-contents)
; internal procedure for looking up the item in the
; row based on the column name
(let ((data (filter (lambda (x) (eq? colname (column-name (car x))))
row-contents)))
(if (null? data) ;; change is here
#f
(car data))))
Posted, October 23: DrScheme bug A number of students have run afoul of a bug in DrScheme, in which it is sometimes difficult to read back in a .scm file that had previously been saved. This has apparently been fixed in the more recent release of DrScheme. Hence if you are having difficulties, you may want to load release 299.400 (instead of earlier releases) of DrScheme.
Posted, October 15: Quiz 1 data Statistics for Quiz are listed below. This quiz turned out to be easier then expected. If you did well, congratulations but please don't ease up on the course, as the pace will pick up and the second quiz is likely to be more challenging.
Posted, October 9: Project 2 released Project 2 is now released, see the projects page.
Posted, October 2: Quiz resources If you want to see examples of previous quizzes, you may want to check out this site which contains pointers to previous quizzes, as well as other useful information.
Posted, September 30: Quiz 1 reviews The Lab Assistants will be holding review sessions for Quiz 1:
Posted, September 28: Quiz 1 information
The first quiz is scheduled for Wednesday, October 5, 7:30 to 9:30. The exam is expected to be roughly 1 hour in length, but we will provide you extra time to ease the pressure. Students whose last name begins with a letter between A and L should go to 4-270, students whose last name begins with a letter between M and Z should go to 4-370. If you have a conflict with this time, for example, because of religious observances or a scheduled class, there will be a make-up quiz between 10 and 3 on Friday, October 7. If you have a conflict, you must notify Donna Kaufman, dkauf@mit.edu , before 11:30am, Monday, October 3th, that you intend to take the makeup quiz.
Also note that the quiz is closed book; you may bring one sheet (8.5 by 11 inches) of notes (both sides) to the quiz with you.
Posted, September 19: Project 1 is released
See the Projects link below to access a copy of the project.
Posted, September 15: Saving your files for the tutor
When you save your definitions window or interactions window in DrScheme, please use the option of "Save Definition/Interaction As Text". Doing so prevents DrScheme from saving the buffer as binary files. If you submit a binary file, the online submission system will not accept your file.
Posted, September 10: Changes in due dates for lecture problems
We want to make sure that you have absorbed material from the lectures before you attend the associated recitation (usually the following day). As you may have noticed, each problem set on the online tutor has a set of lecture problems (typically short questions that reinforce the material) and a set of normal problems (longer questions that explore the material in more detail). We have adjusted the due dates so that the lecture problems are now due on the day of the associated recitation, while the normal problems are still due on the original date. You can easily identify which problems are due when by looking at the problem set page on the online tutor. We know this may sound a bit confusing, but by staggering the due dates, we hope to achieve the pedagogical goal of ensuring that you come to recitation with a basic understanding of the material to be amplified during that section.
Resources for the material.
Return to 6.001 Home Page
Last modified: Tue Feb 3 18:55:45 EST 2004