SYSC 5800: Network
Computing
Final Exam, Winter 2006
Duration: 90
minutes
Instructor: T.
Kunz
Name:
Student number:
Answer all questions on this
exam paper. Each explanation should be as brief as possible; you may also want
to use diagrams where appropriate.
Question 1. Sockets (10 marks)
1. What is the difference between a streaming socket and a datagram socket?
2. Which type of sockets would you choose for the following applications (assume that the corresponding server/partner in the communication would choose the same socket type)? Explain you choice.
a. FTP client
b. VoIP client
c. DNS lookup
d. Videoconference application:
i. The control channel
ii. The data (i.e., video and voice) channels
Question 2. RMI/Corba (10
marks)
1. Describe how RMI and Corba are similar to and different from RPC.
2. What are the differences between RMI and Corba?
Question
3. XML (10 marks)
1. Why did the world need another markup language (other than HTML) and what are some of the key features of XML?
2. What are the relative advantages and disadvantages of using SAX and DOM for parsing XML documents?
Question
4. Web Services (10 marks)
What are the main standards that enable Web Service? What is their role/how do they interact?
Question
5. P2P Computing (10 marks)
Explain what a distributed hash table is and how such distributed hash tables form the foundation of modern P2P systems.