Sie sind auf Seite 1von 2

DISTRIBUTED SYSTEM

QUIZ -2
BSCS-7TH (A,B)
Department: CS & IT
Course Instructor: Ms. Maryam Total Marks: 10

Instructions:
Name: __________________
1. Take Care of Time Management.
Roll No: ________________ 2. Manage your time don’t give irrelevant details. Just write to the point,
otherwise you will not be able to attempt complete paper.
Time Allowed: 20 Minutes
3. Explain with diagrams where necessary.

Q1: Give the answer of the following questions (5*2=10)


1. Describe how connectionless communication between a client and a server
proceeds when using sockets.
Solution:
Listen () primitive is excluded from socket deployment and Read() and Write () change
into Send () and Receive(). UDP protocol is responsible from this communication
2. Explain the difference between the primitives MPIbsend and MPIisend in MPI.
Solution:
MPIBsend: Appending the outgoing message to a local send buffer
MPIIsend: Pass reference to outgoing message and continue.
3. What is the purpose of fork off processes in client server call in case of RPC? Also mention
why this will use and which side will generate fork off call either client or server.
Solution:
To create copy of processes for multiple other processes, it will help to run parallel process at
a time. It will run at server side.
4. Construct full RPC layers and working by graphically representation. Also mention
the name of the processes of transferring of data over the network layer by OS
call.
Solution:

5. Scenario is given below which is describe how mail is stored and sorted to be sent out
depending on destination through pony and rider, when pony and rider available to stored
and sorted it. It also responsible to forward it to post office. Each pony and rider link with
other post office and take permission before transmission. Write your assumption which
one communication transmission are used over here.

Department of Computer Sciences & Information Technology, Superior University, Lahore 1


Solution:
Persistent and synchronization

 Good Luck 

Department of Computer Sciences & Information Technology, Superior University, Lahore 2

Das könnte Ihnen auch gefallen