CS2 Practical Submissions

Here are some things about practicals that you must remember:

Deadlines and Lateness

The normal deadline for practicals is 5pm on Monday of the week they are due, although some practicals may deviate from his. Late submissions are not allowed.

The "handin" command

The "handin" command, used for submitting code, works in the following way:

If you make a submission for any part of the practical more than once, only the very last submission will be retained. This means that it is important to remember to submit exactly one file for each part, and to make sure that the file contains everything that you want to put in it.

The "handin" program will tell you whether or not your submission was accepted.

Rules and tips for electronic submission

When submitting code, make sure that the file you submit compiles as it is.

Please format your files so that the line lengths are at most 80 characters long. This means that your files will be easy to read when printed.

Always follow the instructions in the practical handout. In particular, make sure that you give files the names specified in the handout.

Normally you will be asked to submit each part of the practical separately. Only the very last submission for each part is retained, so take care not to unintentionally overwrite an earlier part when submitting a later part.

Any submissions that you try to make just before the deadline are "unsafe," please allow yourself enough time to login because that is usually when the system tends to be heavily loaded.

Common problems

If the computer you are using does not recognise the handin command then this may be because:

If handin tells you that your file cannot be accepted because it is not a text file, then type "less filename" and you should see that your file contains control characters. (The usual reason for this is having transferred the file from a home PC.) In such cases, simply edit out the control characters and resubmit.

If handin wrongly tells you that it is too late to submit then it is possible that the computar you are using has its clock set incorrectly. Type "date" to see if this is indeed the case. If it is then report the problem to faults@dcs.ed.ac.uk, giving the name of the computer you are using. Submit again from another computer, whose clock is correct.


Alex Simpson, CS2CO