Submitting Homeworks

Late Policy: In general, homework assignments will be due on the Wednesday of each week. You must submit your homework via email. In order to be considered on time, your homework must be received by Wednesday at 11:59 pm. If you do not hand in your homework by that time, you must submit your homework by the following Wednesday at 11:59 pm. Homework that is one week late will receive an automatic 10 point penalty. Homework that is more than a week late will not be accepted.

Collaboration: All projects are to be done individually. You may discuss the assignment with other students in a general way, but the design and coding of the program is to be done on your own. Copying will not be tolerated, and violators will be punished, possibly by failing the course.

Getting Help: The class E-tutor is available 7 days a week to help out with homework questions. This semester, our class E-Tutor is William Lee (

Submitting Homeworks via Email:

  1. At the top of every program that you submit, include (as a comment) the following info:
    • name
    • student ID number
    • assignment number
  2. E-mail your program to the grader, Richard Chou ( In order to do this correctly, you must follow these steps:
    • First, you must transfer your program from your local computer to your Stern email/UNIX account. This process is known as FTP (File Transfer Protocol), and is described below.
    • Second, you will need to attach your program as a Pine attachment (also described below.)
    • Third, in the subject line of your email, please include the following information in the subject: hwk #no by LastName, FirstName (sec no). For example: Subject: hwk #2 by Lee, John (sec 2)

How to FTP your programs to your Stern email/UNIX Account:

FTP or File Transfer Protocol enables you to easily transfer files from your local computer to your Stern email/UNIX account. Here's how to do it, step by step. If you get stuck, please ask the Stern Lab staff for assistance.

  1. From the Network Application Launcher, double-click on WS_FTP.
  2. Enter the following information:
    • Profile name: enter the host name of your email/UNIX account (This is probably "sales" or "is3".)
    • User ID: this is your login name.
    • Password: your regular password.
  3. Now you see two windows: on the left side, you will see the local file system; on the right side you will see the remote file system.
  4. Either select the A drive (for floppy disks) or H (for your home directory).
  5. Highlight the file you want to upload with the mouse.
  6. Between the two windows are arrows. Click the arrow that points to the right to move your file to the remote system.
  7. You can now use Pine to send your file to the grader (see below.)

Sending files via Pine:

  1. Within Pine, choose Compose message to write an email message, and address your message.
  2. After you address your email message, Hit control J, i.e., depress the J key while holding down the Ctrl key. This is indicated as ^J in computer speak. Note that ^J attach appears at the bottom of the screen as one of the options.
  3. The next screen to appear will have ^T To files at the bottom of the screen. Hit Ctrl T to view the files in your directory.
  4. When the files are displayed, use the arrow keys to select the file you wish to send. This will be called the attached file. As you depress these keys, the selected files will appear shaded. Finally, when you choose the desired file, depress the Enter key.
  5. The next screen will display Attach comment. If you want the email message to indicate a comment describing the attached file, type the comment and then hit Enter.
  6. Next, hit Ctrl X to send the message.
  7. Finally, the computer will display Send Message?. Type Y and the message will be sent.

Receiving files via email:

  1. When you receive mail containing an attachment, hit V to view the attachment. If you forget what key to press, the bottom of the screen includes ^V ViewAttach as an option.
  2. The next screen will have a list of the attachments. Use the down arrow key to select the desired attachment and then hit V to view it. If you want to save the attachment as a file in your home directory, hit the S key.