Get premium membership and access revision papers, questions with answers as well as video lessons.

Comp 414: Distributed Computing Question Paper

Comp 414: Distributed Computing 

Course:Computer Science

Institution: Chuka University question papers

Exam Year:2012



CHUKA UNIVERSITY
COLLEGE
UNIVERSITY EXAMINATIONS
FOURTH YEAR EXAMINATION FOR THE AWARD OF
DEGREE IN BACHELOR OF SCIENCE IN COMPUTER SCIENCE
COMP 414: DISTRIBUTED COMPUTING
STREAM: COMP SCI (Y4S1) TIME: 2 HOURS
DAY/DATE: MONDAY 10/12/2012 2.30 P.M. - 4.30 P.M.
INSTRUCTIONS:
? Answer question 1 and any other TWO from the FIVE questions set
? Marks are awarded for clear and concise answers
Section A: Compulsory
Question 1 (30 Mks)
a. Discuss the five types of hardware resource and five types of data or software resource
that can usefully be shared. Give examples of their sharing as it occurs in distributed
systems.
[15mks]
b. Explain how clocks in two computers that are linked by a local network be synchronized
without reference to an external time source? What factors limit the accuracy of the
procedure you have described? How could the clocks in a large number of computers
connected by the Internet be synchronized? Discuss the accuracy of that procedure.
[15mks]
Section B: Answer any two questions from this section
Question 2 [20 mks]
a. Describe and illustrate the client-server architecture of one or more major Internet
applications (for example the Web, email or netnews). [10mks]
b. For the applications discussed in Q2 (a) above, discuss how the servers cooperate in
providing a service. [10 mks]
Question 3 [20 mks]
A client sends a 200 byte request message to a service, which produces a response containing
5000bytes. Estimate the total time to complete the request in each of the following cases, with
theperformance assumptions listed below:
i) Using connectionless (datagram) communication (for example, UDP);
ii) Using connection-oriented communication (for example, TCP);
iii) The server process is in the same machine as the client.
[Latency per packet (local or remote, incurred on both send and receive):
5 milliseconds Connection setup time (TCP only):5 milliseconds
Data transfer rate:10 megabits per second
MTU:1000 bytes
Server request processing time:2 milliseconds
Assume that the network is lightly loaded.]
Question 4(20 mks)
Define a class whose instances represent remote object references. It should contain information
and should provide access methods needed by the requestreplyprotocol. Explain how each of the
access methods will be used by that protocol. Give ajustification for the type chosen for the
instance variable containing information about theinterface of the remote object.
Question 5 (20 mks)
Discuss each of the tasks of encapsulation, concurrent processing, protection, name resolution,
communication of parameters and results, and scheduling in the case of the UNIX file service (or
that of another kernel that is familiar to you).






More Question Papers


Popular Exams



Return to Question Papers