CSE 473S - Introduction to Computer Networks - Fall 2004


Home
Syllabus
Instructor
Teaching Assistants
Homework
References

Last Assignment (Assignment 7)

Assignment 7 is posted online. Remember to attach the provided cover page and write your name on it.

Due: Wednesday, December 1, 4:07 pm (before the class starts).

Assignment Policy

Assignments must be done independently. If a student solves a problem by acquiring insights from conversations, publications, web sites, or other sources, the student has to acknowledge all the sources by listing them at the end of the solution. Violations of this policy can result in receiving a debit (negative credit) for the amount of points that the solution would earn if the sources were cited. Repeated violations can result in receiving F as the final grade in the course.

A printed version of solutions is due before the class begins at 4:07 pm on the assigned Wednesday. Solutions are considered to be late if submitted after the instructor starts the lecture. Late solutions that are submitted before the next class begins (i.e., before 4:07 pm on Monday) receive 50% of the credit that these solutions would earn if they were not late. Late solutions that are submitted after the instructor starts the next lecture earn no credit. No exceptions are granted. If a student cannot attend a class or is concerned about a possibility of arriving late to the class, the student can turn in the assignment earlier. Note, however, that the student should plan on submitting solutions in person; if the student relies on alternative means (such as postal services, friends, teaching assistants, faculty members, departmental staff, instructor's mailbox, or crack under the instructor's office door) to submit solutions, it is the responsibility of the student to ensure that the solutions reach the instructor before the submission deadline; if the solutions reach the instructor after the deadline, the solutions are considered late.

Surprise quizzes are not announced in advance and cannot be taken at a different time.

The instructor posts grades outside his office to inform students about their progress throughout the semester. To protect privacy, a student can select an alias to be used for listing the student's grades. The requested alias should be relatively short and generally inoffensive.

Previous Assignments

Assignment 0

  1. Print, read carefully, fill out, and sign the assignment form.
  2. Attach the cover page and write your name on it.
Due: Monday, September 13 (no hard deadlines or late submission penalties for this assignment)

Assignment 1

Assignment 1 is posted online. Remember to attach the provided cover page and write your name on it.

Due: Wednesday, September 22, 4:07 pm (before the class starts).

Assignment 2

Write a web server that maintains two open-access pages for an online bank:

  • Account page account.html. This page shows the amount of money in a bank account. When the server starts, it initializes the amount to $1,000,000.00. Users can request the server to transfer money to and from the account (of course, the assignment does not ask to implement any actual money transfer). The server honors all legitimate requests. However, the amount of money in the account is not allowed to exceed $9,999,999.99 or go below $100.00.
  • Log page log.html. This page keeps records about both successful and unsuccessful transfer requests since the most recent start of the server. Recorded information for each request includes the date and time of the request arrival, IP address of the requesting machine, amount of the requested transfer, status of the request (successful or unsuccessful), and amount of money in the account after processing the request.
You can write the server in C or in JAVA. Make sure that browsers display the account and log pages so that users can easily read and understand the provided information. Due to the large number of students in this class, it is important to follow the following submission guidelines carefully:
  • You should submit BOTH:
    1. Printed copy of the code, brief explanation of your design, and instructions how to compile and run the code. These hard copies are to be submitted in person. Attach the cover page and write your name on it.
    2. Your code by email to cs5@cec.wustl.edu (Chakchai So-In) with the subject line reading "Submit: Assignment 2".
  • All code has to be in ONE archive file in tar.gz format. The extraction of the file has to yield one subdirectory that contains all your files. The subdirectory name should be your name in the following format: Last_First. For example, if your name is Aaron Bream, you should submit a tar.gz file that extracts a subdirectory called Bream_Aaron/.
  • Submit the tar.gz file as an attachment to your email message. The following set of commands should create the tar.gz file correctly:

    mkdir Bream_Aaron
    cp *.* Bream_Aaron
    /pkg/gnu/bin/tar czf Bream_Aaron.tar.gz Bream_Aaron
    
    (The reference platform is hilton.cec.wustl.edu)

  • If you submit the server in JAVA, then the server class should be called Server, and the directory should contain the .class file and the .java file. If you submit the server in C, you have to include a Makefile that compiles the server.
  • Test your design by running it for different scenarios.
  • Observe all policies regarding the Internet usage as given by CEC and Washington University.

Due: Wednesday, October 6, 4:07 pm (before the class starts).

Assignment 3

Assignment 3 is posted online. Remember to attach the provided cover page and write your name on it.

Due: Wednesday, October 20, 4:07 pm (before the class starts).

Assignment 4

Assignment 4 is posted online. Remember to attach the provided cover page and write your name on it. To plot and view the requested graph, you can download and update (for example, to adjust the y-axis range appropriately) file cwnds.gnu and execute:

gnuplot < cwnds.gnu
ghostview cwnds.ps&
(The reference platform is hilton.cec.wustl.edu)

Due: Wednesday, October 27, 4:07 pm (before the class starts).

Assignment 5

Assignment 5 is posted online. Remember to attach the provided cover page and write your name on it.

Due: Wednesday, November 3, 4:07 pm (before the class starts).

Assignment 6

Assignment 6 is posted online. Remember to attach the provided cover page and write your name on it.

Due: Wednesday, November 17, 4:07 pm (before the class starts).


gorinsky@arl.wustl.edu