Programming Assignments
Make sure that you read the following instructions completely before turning your program assignments
To turnin your programs electronically, use the following command:
/usr/bin/turnin <assignment>@cs20 <the-directory-which-contains-all-your-homework-files>
<the-directory-which-contains-all-your-homework-files> is the name of the directory which contains
all your homework files and subdirectories.
For example, for programming assignment 1, let's say I have 3 files,
a Makefile, main.c and main.h in a directory called "hwdir". So the ls -l within the hwdir
directory will give me the following output:
~myhomeworks/hwdir % ls -l
-rw------- 1 user ugrad 1043 Apr 6 16:40 main.c
-rw------- 1 user ugrad 1043 Apr 6 16:40 main.h
-rw------- 1 user ugrad 1043 Apr 6 16:40 Makefile
Go one level up in the directory structure using "cd .." and type the following command
~myhomeworks/hwdir % cd ..
~myhomeworks % turnin prog1@cs20 hwdir
After a few seconds the computer will respond with the following message:
These are the regular files being turned in:
Last Modified Size Filename
-------------- ------ -------------------------
1: 04/06/03 16:40 1043 hwdir/main.h
2: 04/06/03 16:40 1043 hwdir/main.c
3: 04/06/03 16:40 1043 hwdir/Makefile
****************************************************************************
You are about to turnin 3 files [6KB] for prog1 to cs20
*** Do you want to continue? y
hwdir/main.h
hwdir/main.c
hwdir/Makefile
*** TURNIN OF prog1 TO cs20 COMPLETE! ***
It is very important that you use the corresponding <assignment> in the turnin.
For example for programming assignment 1 use prog1, for programming assignment 2,
use prog2 and so on.
When you invoke the 'turnin' program it will report back to you which
files have been submitted succesfully.
Again, all turnins must be done before the deadlines.
Duplicate submissions of the
same assignment will result in earlier versions being overwritten by the
newer files submitted.
Therefore if you make changes/improvements
to your assignment you can simply do a new turnin before the deadline.
But do turn in ALL the files each time, instead of just those you
modified after the previous turnin. Simply return everything again as you did the first time.
Turnin does not accept binary files. So only program source, makefile,
README, etc. files should be turned in. Do turn in everything that is needed to
get your program compiled (but do not turn in compiled version of your
program). If you absolutely need to have binary files for grading (e.g.
special image files), email those to your TA intead.
For more detailed information, try "% man turnin" or go to Manual Page of turning