V22.0380 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 (wql0354@acf5.nyu.edu). When submitting questions, please include the word "Cerami" as the first word in the email's subject. This will better help William filter out questions from this class, as opposed to his regular email.

Running Borland C++ in the Stern Labs: Because the local hard drives in the Stern labs are "protected", you must do the following to get your C programs to run (using Borland C++ version 3.1).

  1. Go to the options menu
  2. Select "Directories"
  3. In the bottow two fields (Output and Source), change the drive to H:
  4. Click on OK, and you should be able to run your programs.

    Additional Notes regarding Borland C++ Version 3.1:

    • To compile and run your program, select Run from the Run menu. Or press CTRL-F9.
    • When you run your program, you will see a quick flash, and then Borland will return you to main Editor. To view the output of the program, you will need to toggle back and forth between edit and run mode by pressing ALT-F5.

    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 (chou7770@cs.nyu.edu.) 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. Where is says "profile name", enter the host name of your email/UNIX account (This is probably "sales" or "is3".)
      3. Where it says "User ID", enter your user name.
      4. Where is says "Password", enter your e-mail password.
      5. Now you see two windows; in the left one, the local system, either select the A drive (for floppy disks) or H (for your home directory).
      6. Highlight the file you want to upload with the mouse.
      7. Between the two windows are arrows. Click the arrow that points to the right to move your file to the remote system (the right-hand window).
      8. You can now use Pine to send your file to the grader (see below.)

        Sending files via email:

        1. On the pine menu, 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. So, even if you forget which keys to depress, the computer will guide you.
        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. Then hit E to exit the viewing mode, and then E to exit the view index and finally M and Q, as usual, to quit pine.