100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COMP212 - Distributed Systems UPDATED ACTUAL Exam Questions and CORRECT Answers

Rating
-
Sold
-
Pages
16
Grade
A+
Uploaded on
08-04-2025
Written in
2024/2025

COMP212 - Distributed Systems UPDATED ACTUAL Exam Questions and CORRECT Answers What is a distributed system? - CORRECT ANSWER - A collection of independent computers that appears to its users as a single coherent system What are some main goals of distributed systems? - CORRECT ANSWER Openness Reliability Performance Scalability Connect users & resources What is a transparent distributed system? - CORRECT ANSWER as if it were only a single computer system What is a scalable distributed system? - CORRECT ANSWER growing List some graph topologies - CORRECT ANSWER Tree Complete network What is an undirected network - CORRECT ANSWER either direction down along an edge What is a directed network - CORRECT ANSWER specified direction down along an edge - Transparency - It appears to its users

Show more Read less
Institution
Distributed Systems
Course
Distributed Systems










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Distributed Systems
Course
Distributed Systems

Document information

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

Subjects

Content preview

COMP212 - Distributed Systems UPDATED
ACTUAL Exam Questions and CORRECT
Answers
What is a distributed system? - CORRECT ANSWER - A collection of independent
computers that appears to its users as a single coherent system


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


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


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


List some graph topologies - CORRECT ANSWER - Ring
Tree
Complete network


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


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

,What are the 4 steps of a synchronous round? - CORRECT ANSWER - 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? - CORRECT ANSWER - 1, 2,
3


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


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


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


What is the time complexity of LCR? - CORRECT ANSWER - n rounds



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


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

, How does LCR work? - CORRECT ANSWER - 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 - CORRECT ANSWER - the greatest shortest path
between nodes


How does FloodMax work? - CORRECT ANSWER - 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? - CORRECT ANSWER - O(D+1)



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


What type of protocol is IP? - CORRECT ANSWER - network protocol



What type of protocol is TCP? - CORRECT ANSWER - transport protocol



What type of protocol is HTTP? - CORRECT ANSWER - application protocol

Get to know the seller

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.
MGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
1070
Member since
1 year
Number of followers
102
Documents
68976
Last sold
4 hours ago
MGRADES (Stanford Top Brains)

Welcome to MGRADES Exams, practices and Study materials Just think of me as the plug you will refer to your friends Me and my team will always make sure you get the best value from the exams markets. I offer the best study and exam materials for a wide range of courses and units. Make your study sessions more efficient and effective. Dive in and discover all you need to excel in your academic journey!

3.8

169 reviews

5
73
4
30
3
44
2
8
1
14

Recently viewed by you

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

Frequently asked questions