Carleton University
School of Computer Science
95.501  Assignment 4 (Fall '2001)


Due:    Sections A:    Friday, Nov. 30, (before class)

1) Using the techniques described in class for building objects in Scheme, develop and test two interacting objects of your choice, each containing at least three instance variables and five methods. Get and Set methods do NOT count as part of your five methods. However, they will be useful to include in your implementation.


Testing:

REMEMBER: YOU MUST VERIFY AND TEST THAT YOUR OBJECTS WORKS.  It is up to you to make up a convincing test plan (i.e. convince the TAs that your procedures work properly).   Make sure you test all your procedures.

Submission:

Submit a printout of all of your procedures and along with a copy of the output generated from the testing.   Be sure to include comments where appropriate in your code and make sure that all output is clearly explained.  Testing will be marked!   It is always a good idea to highlight the beginning of the procedure on the printout.  Place your name, student #, course#, and assignment # on the top of each page.   Put all printouts in one unsealed envelope, with this same information clearly marked on the envelope. You should also include a diskette containing the procedures and test output files you generated for the assignment. All of these files should be stored in the directory A:\ASS4 (actually B:\ASS4 when in the labs here).  Finally, hand in your assignment in the correct slot in room 4135 of the Herzberg Building (beside the lab) or slide it under your professor's door if the slot is full. Don't forget that the assignment will be marked for style, testing and your solutions.