CPSC 211: Introduction to Software Development
The handin command


All assignments for CPSC 211 will be handed in electronically using the handin program. In order to use handin, you must place all the files for the given assignment in the directory whose name is:


where NAME is the name of the assignment (e.g. part1, part2, ...).

For instance, student e3a3 would first create a directory called cs211 in his/her home directory by typing the following commands at the prompt in the Xterm window:

cd ; mkdir cs211

He/she would then create the part3 subdirectory by typing the commands

cd ; mkdir cs211/part3

After placing the files containing his/her solutions for assignment number 3 in the directory


created in the previous steps, the student would then run the handin command while in his/her home directory:

handin cs211 part3

After you have submitted your assignment, you are strongly advised to always verify that the handin was successful using the -c option to handin.

handin -c cs211 part3

If you want to overwrite an already submitted copy of your assignment, you can do it using the -o option:

handin -o cs211 part3

You can use the -o option as many times as you like. We strongly recommend that you submit your work well in advance of the deadline, even if it is not yet finished, and then overwrite the submission regularly until you are ready to handin the final copy. This will prevent you from getting in trouble if your computer or the network connection dies right before you submit your assignment. Note that you can not overwrite your submission after the assignment deadline has passed, although you will be allowed to hand it in once (and only once) if you had never handed it in before.

Please make sure that files required for the given assignment are in the working directory before using handin. Also, all files submitted must be text files that are readable by the marker without the use of specialized or proprietary software. This means, for instance, that files in Microsoft Word format are not acceptable. You may be penalized for submitting files that are not in an appropriate format.

For every assignment, you should hand in:

  • All of the .java files that you wrote or modified.
  • Any additional diagrams required by the assignment, or images needed by your code.
  • Copy and fill in the assignment cover page with your name, student number, and any additional information that you feel the person grading your assignment needs to know about.
You must not hand in:
  • The .class files generated by the Java compiler.
  • Any .jar files that we gave you to help you with your assignment.
  • The directories generated by Eclipse (i.e. .project, .settings, etc).
  • Any other extraneous files.


Handing in from home?

The best way is to ftp your files to your undergrad Unix account, log into that account from home and run the handin program.  If you have problems with this procedure, you may try Web Handin.   Web handin is not as reliable as the regular handin.  Use it only when you cannot use the regular handin and use "Check submissions" to verify that your files have been properly submitted.