How to prepare your assignments for submission

Assignments are always due at 17:45 on the due date, both for paper submission and for electronic submission. A submission at 17:46 is considered late.

Rules for electronic submission

These rules may be overridden for particular assignments. Any such changes will be announced in class and/or on the web site.

A: How to submit

  1. Electronic submission must be carried out with the submit command from your user account on CDF, with arguments -N Az csc270h, where z is the number of the assignment. This will automatically copy your files into the correct submission directory (/u/csc270h/submit/xxxxxxxx/Az/, where `xxxxxxxx' is your login ID, and `z' is the number of the assignment). You will be submitting a total of five assignments and their names will be A0, A1, A2, A3 and A4.
    For example, if you were submitting Assignment 3, the correct command would be
    submit -N A3 csc270h filenames
    
    where "filenames" is the list of source files you want to submit, separated by spaces.
    Submit only SOURCE files, not compiled code. Do not put your files in subdirectories that you create.
  2. Capitalization matters in filenames just as it does in C and C++ programs. Name your files exactly as required by handouts and starter code.
  3. If you do not follow rules 1 and 2, our automarking program will not be able to find your assignment. Therefore, if you violate either of them you will be given a zero. The submit routine should prevent you from submitting an incorrectly named file.
  4. If you resubmit a file, that is the only copy we will have. Your old submission will be overwritten, including the timestamp, which means that we will have no way of verifying that you submitted on time.
  5. It's okay to submit extra files as long as all files are in the CORRECT directory. We will ignore all files that we didn't ask for.
  6. Paper submissions are not considered to have been received until the physical paper has arrived in the class drop box. Fax, e-mail, FTP, hand-submitted disk, or other electronic submissions will not be accepted.
  7. Be certain to include a comment at the top of each file which includes the file name, your name, and your student number.

You can find instructions for submitting electronically by typing man submit on any CDF workstation. To submit from home, you will have to learn how to use scp or secure FTP to transfer your files to your CDF account, and then log in to CDF remotely to run the "submit" command. You can find more information on this process by clicking on "Working at Home" from the CDF homepage.

It is not possible to submit files directly into the submission directory by secure FTP or scp. You must first transfer the files to your user account, and then run the submit command from your account.

B: How to make your program look right

In addition to following the style guidelines, you should ensure that each line is not more than 80 characters long, after tabs have been expanded. Lines longer than 80 characters are not completely illegal, but your TA is entitled to disagree with your judgement about over-long lines. You may lose style marks if the word wrap makes your printout look particularly messy, or if lines of code are cut off.


Tristan Miller
Last modified: Fri May 10 19:21:03 EDT 2002