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 2 out of 10 pages
Exam (elaborations)

DISTRIBUTED SYSTEMS- MIDTEM QUESTIONS WITH 100%VERIFIED ANSWERS

Document preview thumbnail
Preview 2 out of 10 pages

DISTRIBUTED SYSTEMS- MIDTEM QUESTIONS WITH 100%VERIFIED ANSWERS

Content preview

DISTRIBUTED SYSTEMS-
MIDTEM QUESTIONS WITH
100%VERIFIED ANSWERS
What does the Network Layer do? - ✔✔Routes packets between networks. eg. IP, ATM



What does the Data Link Layer do? - ✔✔Coordinate the transmission between connected
hosts or local area networks. Also collision detection. Eg. Ethernet, MAC


What does the Physical Layer do? - ✔✔Transmit bits over transmission medium. eg. cables



What is packet encapsulation? - ✔✔a technique to pack data packets between layers,
marking where headers and and data starts and ends


What is a router? - ✔✔a device that forwards packets between networks



What are routing algorithms? - ✔✔an algorithm used to determine routes for transmission
packets. Has 2 steps: determine next hop for packet, dynamically update information to other
routers



What is distance vector algorithm? - ✔✔A algorithm used to find best path in network
by each node calculating their next hop costs and propagating that information through it's
neighbors. Each router has a routing table with next hop costs.



What protocol is used to send new next hop information? - ✔✔RIP - router
information protocol



What is the pesudocode for RIP - ✔✔For an incoming routing table, for each row if the link is
not the same as the recv link, then increment the cost by 1 (b/c path uses recv link) and also set
link start to next hop recv link. If destination not in current table, add new path. Else loop
through current table and update based on lower cost and if new information(cur_table_rows.link
== recv link)

, What is UDP? - ✔✔Stands for user datagram protocol. It's connectionless
communication. Each message is encapsulated into a packet called datagram. No guarantee
order


What is TCP? - ✔✔Stands for transmission communication protocol. It's provides:
connection-oriented communication (Sessions), reliability, and congestion control.


What is connection-oriented communication? - ✔✔Two features:

Sender and reciever will handshake to setup connection,
Provides in order transmission of data.



How does TCP be reliable? - ✔✔Each requests waits for ACK from receiver if no ACK,
send packet again



How is congestion control handled? - ✔✔If router detects congestion, sends out a
explicited congestion notificaiton (ECN) and senders should lower TCP packets rate



What is packet switching? - ✔✔User divides their data into small chunks called packets to
get sent over the network.


What are the two main architectures of distributed systems - ✔✔Master/slave and Peer to peer



What characteristics make a master/slave architecture? - ✔✔- nodes are unequal ( hierarchy)
- master acts as a central coordinator
- underlying systems cannot scale out indefinitley (bottlenecked by master)


What characteristics make a peer 2 peer architecture? - ✔✔- all nodes are equal
- a central coordinator is not needed
- underlying system can scale out indefinitely

Document information

Uploaded on
May 1, 2025
Number of pages
10
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.
QUINTER
3.6
(73)
Sold
413
Followers
105
Items
40085
Last sold
6 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