CMPU 101: Computer Science I (Spring 2001)

Homework Solution Submission Instructions

Start up DrScheme and use "File" and then "New" to create a new file in which you will store your solutions to the homework problems. At the beginning of the file you should enter a comment stating the course number, your name and the assignment number. For example, a student named "Tom Jones" doing assignment number one would begin his file with the following comment:

; ======================================================

; CMPU 101 Tom Jones Assignment #1

; ======================================================

Your file should have a separate section holding your solution to each of the assigned problems. Begin each section with a comment indicating the number of the problem, for example:

; ======================================================

; PROBLEM #1

; ======================================================

Each of your solutions will include one or more Scheme procedure definitions. Place a comment before each procedure definition. The comment should clearly and concisely identify the purpose of the procedure, i.e., it should describe how the return value of the procedure depends on the parameters of the procedure. The description should refer each parameter by its name. For example:

; (area-of-rectangle length width)

; The area of a rectangle of dimensions length x width.

(define area-of-rectangle

(lambda (length width) (* length width))

After you have finished entering and testing all of your definitions, you should submit your solution electronically in the following way. First you should use "File" and "Save Definitions As" to store your definitions in a file. The name of the file should include your name and the assignment number. For example, a student named "Tom Jones" working on assignment number one would save his Scheme procedure definitions in a file called "jones-tom-01.scm". After you have saved your work in such a file, you should submit your file in the following way.

If you are in the Computer Science Department Mac Lab, you should do the following: First click on the Apple icon in the upper left corner of the screen. Then select the "Connect to Server" menu item. You will see a window labeled "Dropboxes" open on the screen. The window will contain two folders, named "Ellman" and "Welty". Use the mouse to drag your file to one of these two folders, depending on who is your instructor.

If you are working from a Mac machine somewhere else on campus, you should do the following: First click on the Apple icon in the upper left corner of the machine. Select "Chooser", "Appleshare", "CS Micro Lab" and "Asprey Server". Connect as a "Guest" and choose "Dropboxes". You will see an icon labeled "Dropboxes" appear on your screen. Click on the icon. A window will open. The window will contain two folders, named "Ellman" and "Welty". Use the mouse to drag your file to one of these two folders, depending on who is your instructor.

You do not need to submit a hard copy printout of your homework. You are responsible for keeping your own copy of you homework, even after you have submitted it electronically using the procedure described above.