Distributed Computing Question Bank for DC PT1 (Feb_25)
DC TECHMAX
Q 1) What are the issues in designing a distributed system?
Q.2) Explain services offered by middleware.
Q. 3) Explain various types of Middleware.
Q.4 ) Explain Grid and Cluster computing models.
Q. 5) What is Remote procedure call? Explain how
transparency is achieved in RPC.
lect 5
Q. 6) Differentiate between message oriented communication
and stream oriented communication.
Difference Between Message-Oriented and Stream-Oriented
Communication
Feature Message-Oriented Stream-Oriented Communication
Communication
Definition Communication where data is Communication where data is sent
sent as discrete messages. as a continuous stream.
Data Handling Data is divided into independent Data is transmitted as a continuous
messages. flow of bytes.
Structure Each message has a distinct No clear message boundaries; data
boundary. flows sequentially.
Examples Email, SMS, MQTT, Message Video streaming, Voice over IP
Queues (RabbitMQ, Kafka). (VoIP), live data feeds.
Delivery Messages are sent, queued, and Data is processed in chunks and
Mechanism received as a whole. may require buffering.
Reliability Often requires acknowledgment Data loss may occur if not handled
to ensure message delivery. properly (e.g., in live streaming).
Use Cases Messaging apps, IoT Video calls, music streaming,
communication, financial real-time gaming.
transactions.
Example
● Message-Oriented Communication: Sending a WhatsApp message – it is a
complete unit of communication that is delivered once and does not change.
● Stream-Oriented Communication: Watching a YouTube live stream – the data is
continuously received and displayed in real-time.
Q.7) Write short notes on RMI.
[Link]
d.p18
Q.8) What do mean by Clock Synchronization? Explain the
Berkeley Algorithm with example.
[Link]
Q.9) What do mean by Clock Synchronization? Explain the
Cristian Algorithm with example
[Link]
Q 10) What is logical clock? How does Lamport synchronize
logical clock?
[Link]
Pg 32
Q 11) What is the requirement of election algorithm in
distributed system? Explain Bully election algorithm?
[Link]
Pg 58