Turnin Instructions


Assume that

Then follow the instructions below to turn in your program files for grading:

To turnin your programs electronically, use the following command:

	/usr/bin/turnin assignment@class "list-of-files"

"list-of-files" is a space seperated list of "source" files you wish to
submit. If a Makefile is used, it must be turned in.  

For example if my first homework consists of one .h file (def.h), two
.c files and a Makefile (Makefile):

	-rw-------   1 yfwang   faculty        1 Sep 13 14:39 Makefile
	-rw-------   1 yfwang   faculty        1 Sep 13 14:39 def.h
	-rw-------   1 yfwang   faculty        1 Sep 13 14:39 func.c
	-rw-------   1 yfwang   faculty        1 Sep 13 14:39 main.c


Then, in this case I will execute the following command:

	/usr/bin/turnin prog1@cs281b Makefile def.h func.c main.c

After a few seconds the computer responds with the following:

	These are the regular files being turned in:
	
           Last Modified   Size   Filename
            -------------- ------  -------------------------
         1: 09/13/99 14:39      1  Makefile
         2: 09/13/99 14:39      1  def.h
         3: 09/13/99 14:39      1  func.c
         4: 09/13/99 14:39      1  main.c

	*******************************************************************

	You are about to turnin 4 files [4KB] for prog1 to cs281b

	*** Do you want to continue? y
	a Makefile 1K
	a def.h 1K
	a func.c 1K
	a main.c 1K

	*** TURNIN OF prog1 TO cs281b COMPLETE! ***

The directory argument 'prog1' is for the first programming assignment.
So 'prog2' will be for the 2nd programming assignment and so on.

When you invoke the 'turnin' program it will report back to you which
files have been submitted succesfully.  Duplicate submissions for the
same assignment will result in earlier versions being overwritten
by  newer files. 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.

You can also zip (tar, rar, gzip, etc.) all your files into one archive and turn in
a single arcive file if you like. 

Do not turn in compiled binaries but do include a Makefile (if you use one). 
If your program needs resources, such as images, data files, etc., 
to run correctly, do include the resource files with your program. 

For more detailed information, try

	% man turnin

Back to the Course Home Page