CS2211 Assignment
Submission Guidelines
Your assignments
are to be submitted electronically.
Online submissions may be checked for similarity.
An assignment
may contain two parts.
1. Conceptual Questions: The TA's will mark the pdf file submitted for this part of your assignment. See the submission details below.
2. Progarmming Questions:
The TA's will check your assignment code on
the course linux VM cs2211
(cs2211.gaul.csd.uwo.ca) in GAUL network.
You should ensure that everything works
properly in the
course linux VM cs2211
before submitting your assignment.
What to Submit Electronically
Please follow these directions
precisely
:
- in your home directory, create a subdirectory
called cs2211
- in that subdirectory, create a subdirectory for
each assignment. For example, create a subdirectory called
asn1
- in the subdirectory for the assignment (e.g.
asn1), put the following files:
- the assignment submission form
SubmForm.txt
(download from our web page and then fill)
- the answer.pdf file, if any,
for the conceptual questions
- 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 shell script program files required in the
UNIX shell exercises
- the output files from unix script command
of screen captures of
unix shell exercises and C exercises
(see Screen Capture and Scriptfix
information below)
- to submit your assignment files,
get to your cs2211 subdirectory
and then type the following commands (for Assignment 1)
tar cvf asn1.tar asn1
gzip asn1.tar
This will generate a file called
asn1.tar.gz that contains
all of the files in your
asn1 subdirectory.
You will submit this file to the cs2211a assignment submission area
in OWL.
(You should delete any unnecessary files from your subdirectory
before generating asn1.tar.gz,
especially a file named
core!)
Notes.
Online Submission:
- You may resubmit your online copy a second or
third time if you decide to revise it; only the last one will be
used.
- You will get an email receipt of your submission,
so that you know it arrived at its destination safely.
Please keep all the confirmation emails until the end of this term.
Screen Capture: To capture screen output, type
script filename
...
...
(type your commands as usual)
exit
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.
For each screen capture, before the commands for the exercise, type
the following three commands:
- the pwd
command (to show the directory path to your assignment subdirectory)
- the date
command (to show the date and time of your run)
- the who am i
command (to show your user name)
Note that backspaces will show up in the script file;
see the section on the
Scriptfix
utility below.
Scriptfix utility
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