CS337
Midterm 2
Ondich
Due in class on Wednesday, March 11, 1998

This exam is open-book, open-notes, open-computer, open-Internet, but closed-other-people. Have fun.

  1. (20 points) Suppose I am logged onto knuth.mathcs.carleton.edu, and I type (as I often used to before the Web) "ftp ftp.apple.com". Suppose further that ftp.apple.com is not in my DNS cache, that my IP routing table is as you will find it by logging onto knuth and typing "netstat -r", that my ARP cache is empty (by some bizarre and disturbing Act of the Test Writer), and that there exist on knuth some sort of software "entities" corresponding to and named after IP and TCP.

  2. (12 points) The protocol ICMP is described in RFC 792. Answer the following questions about ICMP.

  3. (3 points) It occurred to me recently that for the last ten or fifteen years, I have been completely out of touch with popular culture (except, of course, for that portion of popular culture whose audience is 2- to 8-year-olds). For example, I don't think I could name a chart-topping song from the nineties, an MTV host, or a cast member from Melrose Place. So help me out here. Tell me something I should read or watch or listen to if I hope to get caught up before my children start rolling their eyes at me.

  4. (6 points) The following is an adjacency table for a 10-node weighted graph, with nodes numbered 0 through 9.

    
        0 1 2 3 4 5 6 7 8 9
       ---------------------
    0 | 0 1 0 0 2 0 0 5 0 0
    1 | 1 0 1 0 0 0 0 0 0 0
    2 | 0 1 0 2 0 2 0 0 0 0
    3 | 0 0 2 0 0 0 1 0 0 1
    4 | 2 0 0 0 0 1 0 0 0 0
    5 | 0 0 2 0 1 0 3 0 0 0
    6 | 0 0 0 1 0 3 0 2 1 0
    7 | 5 0 0 0 0 0 2 0 0 0
    8 | 0 0 0 0 0 0 1 0 0 2
    9 | 0 0 0 1 0 0 0 0 2 0
    



  5. (8 points) Consider distance vector routing, link state routing, and fixed table routing. Explain the advantages and disadvantages of each, and describe typical situations in which each would be a good choice.




Jeff Ondich, Department of Mathematics and Computer Science, Carleton College, Northfield, MN 55057, (507) 646-4364, jondich@carleton.edu