Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 3 fuera de 16 páginas
Examen

COMP212 - Distributed Systems UPDATED ACTUAL Exam Questions and CORRECT Answers

Document preview thumbnail
Vista previa 3 fuera de 16 páginas

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

Vista previa del contenido

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

Información del documento

Subido en
8 de abril de 2025
Número de páginas
16
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
STANFORDGRADESS
4.0
(238)
Vendido
1582
Seguidores
108
Artículos
114633
Última venta
3 horas hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes