Homework Assignment 3

Question 1 (NFS, 20%)

Use the 'mount' call on a Unix system and show the output of this call. Describe the output (each component). Further, explain what a file handle is, why it is needed in NFS Version 3 and explain how file handles would be used to access /users/stevie/music/coolsong.mp3.

Question 2 (P2P, 40%)

Try out two different peer-to-peer file-sharing systems. Explain all the differences you notice, e.g., types of files shared, software used to share them, ease of use, selection, etc., all issues you can think of that may be important to a consumer. If possible try to use one of the systems we discussed (e.g., Gnutella, Kazaa) plus one we did not discuss (Morpheus, eDonkey, etc.). Note that the instructor does not condone the illegal sharing of copyrighted materials!

Question 3 (Dynamic Content, 40%)

Think of a simple game or tool to implement using PHP (calculator, number guessing game, conversion tool, etc.). The only requirement is that at least one parameter has to be passed to your PHP script. Put the code in a public directory (your www directory) and specify the URL to access this file. A user should be able to pass parameters both with the URL and with an HTML form that you have to provide.

Submission

The due date for this homework is April 15th, 2005, 11.59pm EST. You will use the drop-off boxes, make a directory called "homework3" and place one single file (.ps, .pdf, .doc, or .txt) into this directory. Your file should clearly relate the answers to the questions.
Late submissions: Late homeworks will absolutely NOT be accepted!