Your programming assignments
are to be submitted in two ways:
1. Paper Copy to the Locker: The TA's will mark the paper
copy of your assignment. See the handin details below.
2. Electronic Submission: Online
submissions will be checked for similarity. Also, the TA's will need to check your online submission
when marking the assignment. If there is no online submission, the assignment
will receive a mark of zero. See the submission details below.
What to Hand In to the Locker (Paper
Submit the following five
- the Assignment Submission
Form (download from our web page, print, read,
- for each C exercise, a printed copy of the
- for each C exercise a printed copy of the
.h file(s), if any.
- for each UNIX shell exercise a printed copy of
scrpt program file(s), if any
- for each UNIX shell exercise, a printed copy of
the script file which shows a screen
capture (see directions below) of the following:
pwd command (to show the directory path to your
date command (to show the date and time of your
(3) the whoami command (to show your user name)
(4) ls -lt
(to show the directory listing of your assignment subdirectory;
note that these are lower-case letter L's in both instances, not the digit
commands required by the exercise.
Screen Capture: To capture screen output, type
... (type your commands as
This will create a printable file with the name that you specified
(as filename) that contains everything that appeared on
the screen between the time that you typed the command script
and the command exit.
You may also append to an existing script file by using the command
script -a filename.
Note that backspaces will show up in the script file; see the section on the
Scriptfix utility below.
Remarks for the Paper Submission:
- Your paper copies may be printed
at home (make sure they are clear enough for the TA to mark; pale or blurred
output will not be marked), or on the laser printers in the Computer Science
- The paper submission must be submitted in a large
envelope (at least 8.5 x 11) clearly marked with the following information
in the top right hand corner (with
the envelope held with the narrower side at the top):
- your name and student number
- CS2211b and the assignment
- Do not use Campus Mail Envelopes, and please do
not seal your envelope.
The paper submission
is due in the CS2211 locker (on the ground floor of Middlesex College)
at the due time of the due date. Late penalties are calculated from your handin
time to the locker and online.
The TA's will mark the paper copy of your assignment
What to Submit Electronically
Please follow these directions exactly
- in your home directory, create a subdirectory
- in that subdirectory, create a subdirectory for
each assignment. For example, create a subdirectory called
- in the subdirectory for the assignment (e.g.
Asn2), put the following files:
- the .c file(s), if any, for the C exercises
- the .h file(s). if any, for the C exercises
- the Makefile and README, if any, for the C exercises
- the script program files required in the
UNIX shell exercises
- the script file (see Scriptfix
- to submit your assignment files
, get to your CS2211 subdirectory
and then type the following command (for Assignment 1)
submit cs2211 Asn2
This will submit all of the files in your
Asn2 subdirectory to the cs2211b submission area. (You should
delete any unnecessary files from your subdirectory before submitting,
especially a file named core !)
Notes. Online Submission:
- The online copy of your files must
be the same as the hard copy (the TA's will need to compile
and run your program as well as marking the paper copy).
- You may resubmit your online copy a second (or
third ...) time if you decide to revise it; only the last one will be
- You will get an email receipt of your submission,
so that you know it arrived at its destination safely.
- You do not need to do your online submission on
the same day as your paper submission; however the late penalties apply
to the latest submissions between the hard copy and the online copy.
There is a handy program called scriptfix on
GAUL, that will clean up your script files by taking out backspaces and the
characters that precede them. A clean looking script file will make your TA
happy! Use it as follows:
scriptfix script.ugly > script.nice
Thanks to Aija for this page!