CS 107, "Mid"-term 2
Ondich
Due 11:10AM Monday, June 2, 2003

For this exam, you may use your notes, your books, the Internet, and divine guidance (if any is available to you). You may not speak or write to other people about this exam, except that you may ask Jeff Ondich questions.

Have fun.

  1. (7 points) Create a web page that asks the viewer to specify a year, and then displays all the performers who acted in movies that were made in that year. Hand in your source code on paper.

  2. (6 points) Create a web page that uses a cookie to report how many times you have visited the page. Hand in your source code on paper.

  3. (6 points) The PHP portion of my authors example contains my MySQL password. Can a visitor to that page figure out my password? If so, how? If not, why not?

  4. (4 points) What are the ISOC and the IETF?

  5. (4 points) Briefly describe the process that a new protocol has to go through to become an official Internet protocol (usually culminating in its being published as an RFC). You should be able to find helpful information on the ISOC web site.

  6. (8 points) IP addresses and domain names.

  7. (5 points)

    On avian carriers and the Internet.

  8. (4 points) A recent paper on spalm filters described a new statistics-based approach to filtering spam. One of the interesting things the author discovered with his approach was that if an e-mail message contains the string "FF0000", it has a very high probability of being spam. Why?

  9. (8 points) Suppose you travel far away to wherever home is, and you sit down at a computer with an Internet connection, launch a web browser (Mozilla, say), go to http://www.mathcs.carleton.edu/faculty/jondich/cs107/other/form_get.html, fill out the form, and click the Enter button. Describe in as much detail as you can what happens next. Include explanations of which physical machines are involved, what software is involved, what sorts of communications take place between the various programs, etc. Tell me the story of this small client/server interaction.

  10. (8 points) For this task, you may work with a partner. Do this lab exercise, in which you will install a network interface card in a computer. Follow the instructions carefully and you should have no trouble. This (and only this) part of the exam is due by 11:10AM Wednesday, June 4.