CS442 -- The Final of the Year

  1. When will your final project be turned in?
    1. Tomorrow
    2. Yesterday
    3. I'm not doing one
  2. For each circumstance, which technology (CGI, Corba, or RMI) would be best.  You may use each answer once.
    _________  A web page that searches a HUGE database.
    _________  A internetted credit card verifiication system, for many many clients.
    _________  A multi-user tic-tac-toe over the internet, loaded from a web page.
  3. For a CGI program, what gets sent over the network connection between client and server.  (Circle all the apply)
    1. The CGI program
    2. The input data
    3. The output data
  4. (Yes/No) Is the data between the client and server normally encrypted when using CGI?
  5. Can the output of a CGI program be a picture?  Is so, how?  If not, why not?





  6. I want to write a CGI program involves multiple web pages.  On the first page, they log in.  On the second page, they are shown a customized news page.  How can I have their login result in their customized news page?
  7. What was the harder crisis?
    1. Going from 1900's to 2000's.
    2. Going from 900's to the 1000's.
    3. Going from BC to AD.  It's hard to get computers to count the other way.
  8. Assume that NMU has the topology below, and uses distance-vector routing.  What one failed link would lead to 'counting towards infinity'.
  9.                  A ---------------\
                    /\                \
            C -----/  \------ B--------D

              \              /
               \-----E------/
  10. Which type of routing requires the exchange of the least amount of information?
    1. Distance Vector
    2. Link-State
    3. Heirarchical
  11. Consider the web site www.Xpahqwgq.au.  It's up and running fine.  In terms of routing, what do you know for sure about it?




  12. Under what circumstances would an IPv6 header be smaller than an IPv4 header?



  13. What's the 'flow control' header field for?





  14. Beyond the bigger address space, what other advantage does IPv6 have over IPv4.




  15. What does an IPv6 router do with a header it does not recognize?




  16. Suppose I pass the head of a linked list to a remote RMI function.  The remote function adds items to the tail of the list.  What do I (the caller) notice?
    1. List is the way I sent it.
    2. The list is longer
    3. The list is corrupted
    4. You cannot send linked lists using RMI.
    5. None of the above
  17. Suppose I pass the head of a linked list to a remote CORBA function.  The remote function adds items to the tail of the list.  What do I (the caller) notice?
    1. List is the way I sent it.
    2. The list is longer
    3. The list is corrupted
    4. You cannot send linked lists using CORBA.
    5. None of the above
  18. Write me an IDL coresponding to the following C++ class:
    class y2kcrisis {
         short howManyDie(short year);
         string nameOfPresident(short year)
         void setPresName(string name)
    }
  19. Define'Corba Language Binding'
    1. How to translate an IDL to an IOR
    2. How to translate an IOR to an IDL
    3. How to marshal CORBA objects -- the on-the-wire representation of a corba object
    4. How to call CORBA functions in the language in question
  20. (True/False) Can CORBA programs use callbacks?
  21. In RMI, which of the following can be passed as an argument to a remote function.  Choose ALL that apply.
    1. A string
    2. An integer
    3. A boolean
    4. A thread
    5. An interface
    6. None of the above
  22. How much CPU time does a remote CORBA object use when NOT fielding method calls?  Assume an ethernet, and a Pentium style computer
    1. Almost none
    2. Maybe 1/3 the computer's CPU
    3. Maybe 2/3 the computer's CPU
    4. Almost all the computer's CPU
  23. In CGI, if two clients make calls to a remote object at the same time, what happens?
    1. The first client gets in, the second client waits.
    2. One client gets in, the other client waits.  Order is random.
    3. Neither client gets in ... The system cannot handle this
    4. None or all of the above
  24. On the current Internet as a whole, how long is the average dialog (# of packets in a single TCP session)?
    1. About 0.1 packets
    2. About 10 packets
    3. About 100 packets
    4. About 1000 packets