are to be submitted electronically.
Online submissions may be checked for similarity.
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 UNIX servers in GAUL network. You should ensure that everything works
properly in your GAUL account before submitting your assignment.
What to Submit Electronically
Please follow these directions
- 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.
asn1), put the following files:
- the assignment submission form
(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 script program files required in the
UNIX shell exercises
- the script files of screen captures of
unix shell exercises and C exercises
(see Screen Capture and Scriptfix
- to submit your assignment files,
get to your cs2211 subdirectory
and then type the following commands (for Assignment 1)
tar cvf asn1.tar asn1
This will generate a file called asn1.tar.gz that contains
all of the files in your
You will submit this file to the cs2211b assignment submission area in OWL.
(You should delete any unnecessary files from your subdirectory
before generating asn1.tar.gz, especially a file named
- 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.
Please keep all the confirmation emails until the end of this term.
Screen Capture: To capture screen output, type
(type your commands as usual)
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:
Note that backspaces will show up in the script file;
see the section on the
- 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)
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