ELECTRONIC SUBMISSION Fall Term CSCI-E26

Electronic Submission

You will submit your work by computer. The steps are described below:

1. A Working Directory
All your work for a particular assignment must be in one directory. That includes all the source code, Makefiles, explanatory documents. Do not include copies of the homework question or random bits of code copied from lectures.

2. Make a typescript file
You MUST create a simple file called typescript that contains sample runs of your programs.

3. Make a README file
You MUST create a simple file called README that serves as a cover page for your submission. That document should contain your name, the homework number, a description of what files you are submitting and any notes to the person grading the assignment.

4. Change into the Directory
You need to be in the directory with the material to submit.

5. handin your work
Type: ~dce-lib113/handin

You will be prompted to specify the name of the homework assignment. Answer the question.

Due Date

Homework is due by midnight on Sunday. There is a 10 point penalty for each day late.

Creating Sample Runs

Use the script command to capture the sample runs of your program. script will record everything you type in and everything that gets printed out, and save it all in a file. To make a script, type in script. The computer will print a message and give you your regular prompt. Now compile your program and then run it. Type "exit" at the prompt when you wish to stop recording. Unless you specify some other name, script will save everything in a file called "typescript", so submit that file. A sample session is shown below:

	$ script
	Script started, file is typescript
	$ gcc -Wall -W -O2 -o foo foo.c
	 . . .
	$ ./foo
	 . . .
	$ exit
	Script done, file is typescript
	

You can specify a different name for the script file by entering "script filename".

Academic Honesty

The work you submit must be your own work. You may build your code on samples from class or examples from texts, and we encourage students to discuss problems and techniques. Your homework should be all your own work or a combination of your own work and your synthesis and extension of examples. Please quote sources of chunks of code.