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 Exam Questions and CORRECT Answers

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

COMP212 Distributed Systems UPDATED Exam Questions and CORRECT Answers Distributed System - CORRECT ANSWER appears to its users as a single coherent system - Collection of independent computers that Main goals of a distributed System - CORRECT ANSWER users/resources 2. Transparency 3. Openness 4. Reliability 5. Performance 6. Scalability Transparent Distributed system - CORRECT ANSWER to its users as if it were only a single computer system Scalable Distributed System - CORRECT ANSWER - 1. Easy connection between

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
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COMP212 Distributed Systems UPDATED
Exam Questions and CORRECT Answers
Distributed System - CORRECT ANSWER - Collection of independent computers that
appears to its users as a single coherent system


Main goals of a distributed System - CORRECT ANSWER - 1. Easy connection between
users/resources
2. Transparency
3. Openness
4. Reliability
5. Performance
6. Scalability


Transparent Distributed system - CORRECT ANSWER - A distributed system that appears
to its users as if it were only a single computer system


Scalable Distributed System - CORRECT ANSWER - One that is capable of growing in
size, the maximum distance between its participants (geographical), and the number of
administrative domains in it


Processors - CORRECT ANSWER - Computing entities.


Usually execute the same algorithm


Networks - CORRECT ANSWER - Connects processors.


EX. ring, tree, complete network

,Processors communicate by interchanging messages through the links of the network


What should happen in a round? - CORRECT ANSWER - 1. read incoming messages
2. Update states
3. Generate new messages, put them in transit
4. messages should be transmitted (Could also come first)


What are some distributed tasks/problems? - CORRECT ANSWER - Message sending,
leader election


Distributed algorithm - CORRECT ANSWER - 1. executed by all processors
2. May have some input (ids, other info)and have some initial state
3. Every processor reads incoming messages/updates states/generates out going messages
4. Network delivers the messages
5. Next round begins
6. Processors produce some output


Informal description (of an algorithm) - CORRECT ANSWER - Gives the main idea in
verbal form


Must be clear and concise to provide an accurate highlight/sketch of how the algorithm works


Psuedocode - CORRECT ANSWER - Informal code


A piece of code to be re-executed by all processors in every round


What should be taken into consideration when devising an algorithm? - CORRECT
ANSWER - 1. Convince that it is correct
2. Analyze its performance

, Correctness - CORRECT ANSWER - Proof that the algorithm does as expected



Performance - CORRECT ANSWER - Measured by 3 things:
1. Time Complexity
2. Space complexity
3. Communication Complexity


Time complexity - CORRECT ANSWER - measures the time it takes for an algorithm to
execute (ex # rounds required)


Space complexity - CORRECT ANSWER - A measurement of how much memory is used
by the processors during the runtime of the algorithms


Communication Complexity - CORRECT ANSWER - A measurement of message size
and quantities during the execution of an algorithm


How is a spanning tree of a network given? - CORRECT ANSWER - • Network G = (V,
E)
• Eʹ ⊆ E specifies a spanning tree T = (V, Eʹ)
• Root: u0 (leader)
• Processors know T in a distributed way
• Each u "i" knows: a parent "i", a set children


Time complexity of spanning tree broadcasting - CORRECT ANSWER - Depth d of T



Communication complexity of spanning tree broadcasting - CORRECT ANSWER -n-1
messages

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