Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 16 pages
Exam (elaborations)

COMP212-DISTRIBUTED SYSTEMS EXAM QUESTIONS WITH 100%VERIFIED ANSWERS

Document preview thumbnail
Preview 3 out of 16 pages

COMP212-DISTRIBUTED SYSTEMS EXAM QUESTIONS WITH 100%VERIFIED ANSWERS

Content preview

COMP212-DISTRIBUTED SYSTEMS EXAM
QUESTIONS WITH 100%VERIFIED
ANSWERS
What is a distributed system? - ✔✔A collection of independent computers that appears to its
users as a single coherent system


What are some main goals of distributed systems? - ✔✔Transparency
Openness
Reliability
Performance
Scalability
Connect users & resources


What is a transparent distributed system? - ✔✔It appears to its users as if it were only a single
computer system


What is a scalable distributed system? - ✔✔One that is capable of growing



List some graph topologies - ✔✔Ring
Tree
Complete network


What is an undirected network - ✔✔A network that you can go in either direction down along
an edge


What is a directed network - ✔✔A network that you can only go in the specified direction
down along an edge

,What are the 4 steps of a synchronous round? - ✔✔1. all nodes read incoming messages
2. all nodes update their state
3. all nodes generate new messages and put them in transit
4. all messages are transmitted over the channels and the next round begins


Which step(s) of a synchronous round are handled locally? - ✔✔1, 2, 3



Which step(s) of a synchronous round are handled by the network? - ✔✔4



What are two algorithms used for leader election in directed ring networks? - ✔✔LCR
HS


What are a few ways we measure the performance of a distributed algorithm? - ✔✔Time
Complexity (#rounds required)
Space Complexity (memory used)
Communication Complexity ( total #messages transmitted, size of messages)


What is the time complexity of LCR? - ✔✔n rounds



What is the worst case communication complexity of LCR? - ✔✔O(n^2) messages



What algorithm can we use to elect a leader in a general network? - ✔✔Flooding/FloodMax



How does LCR work? - ✔✔all nodes send their initial id clockwise
upon receiving an incoming id, compare it to your own
-if incomingID > ownID, forward incomingID
-if incomingID < ownID, discard incomingID
-if incomingID = ownID, declare self leader

, What is the diameter of a network - ✔✔the greatest shortest path between nodes



How does FloodMax work? - ✔✔diameter = D


all processors store the greatest id that they have seen


in every round send the greatest id to all out-neighbours


after D rounds compare the greatest stored id and own id, if the are equal declare self the leader


What is the time complexity of FloodMax? - ✔✔O(D+1)



What is the communication complexity of FloodMax? - ✔✔D*m
m is the number of direct links in the network


What type of protocol is IP? - ✔✔network protocol



What type of protocol is TCP? - ✔✔transport protocol



What type of protocol is HTTP? - ✔✔application protocol



What type of protocol is FTP - ✔✔application protocol



What are the main properties of TCP? - ✔✔connection oriented
reliable but slow

Document information

Uploaded on
April 18, 2025
Number of pages
16
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
KenAli
2.6
(18)
Sold
114
Followers
5
Items
23897
Last sold
2 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions