CS 5 Submitting Assignments


First, submit only the source code (.java files). Do not submit the executables (.class files). Only submit other types of files (e.g. text files) when the assignment explicitly requests them.

Make sure that your filenames match your classnames, and they both match the class/file names specified in the assignment. Check upper vs. lower case. I am not naturally so picky, but variation in class or file names makes the job of the graders (often your friends) much harder.

Except for homework 1, homeworks (at least problems consisting of java code) must be submitted electronically. This will allow us to run your programs and test whether they work properly.

To submit a file of code named foo.java, type


    /home/cs/cs5/bin/cs5submit foo.java

Eventually, we hope to set things up so you can abbreviate this to just "cs5submit foo.java." For the moment, however, you have to type the full filename.

The submit program will ask you for the assignment number and problem number, and then send the code to the CS 5 grader account. Soon afterwards, you should receive an email confirmation of your submission. Keep this as evidence of your submission, in case there is any issue later (e.g. we somehow think you didn't submit your homework on time).

When your homework has been graded, you will receive your grade and comments by email.

If you accidently submit an extra file, a wrongly named file, or submit with the wrong assignment or problem number, just resubmit the correct items. If all the correct items are in the correct place, we will usually have no problems working around extra items.


This page is maintained by Margaret Fleck.