![]() Princeton University |
Computer Science 461 |
|
Programming, like composition, is an individual creative process. Individuals must reach their own understanding of the problem and discover a path to its solution. During this time, discussions with friends are encouraged. However, when the time comes to write the code that solves the problem, such discussions are no longer appropriate; the program must be your own work.
Do not, under any circumstances, copy another person's program. This includes relevant Linux source. Writing code for use by another or using another's code in any form is academic fraud and will be dealt with harshly. You are also responsible for ensuring that the code you write for the assignments is not readable by others.
The assignments will be implemented on the Linux machines in Friend 010. You will have root access to these machines since your assignments will require direct access to the ethernet device. One consequence of having root access is that you will not be able to NSF-mount the department's file server. Your files on the department server can be accessed via Samba or CVS, however.
Submit your solutions to the programming assignments electronically on the CIT Sparc machines using the following command.
/u/cos461/bin/submit number fileswhere number is the assignment number and files is the list of files for that assignment. For example,
/u/cos461/bin/submit 31 readme makefile main.c strings.csubmits the files readme, makefile, main.c, and strings.c for a fictitious assignment 31.
The submit command copies your files to the directory /u/cos461/submit/login/number and lists all the files that you have submitted for assignment number. login is your user account name. If you execute submit after the assignment deadline, your files are placed in directory number-late. You can run submit more than once, and you can submit partial lists of files.
There's also an unsubmit command that allows you to undo a submit of one or more files. For example,
/u/cos461/bin/unsubmit 31 main.cremoves main.c from the submission directory.
Assignment 1: measuring performance
Assignment 2: implement IP and ICMP
Assignment 3: TBD