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

Distributed Systems Exam UPDATED ACTUAL Exam Questions and CORRECT Answers

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

Distributed Systems Exam UPDATED ACTUAL Exam Questions and CORRECT Answers Slices - CORRECT ANSWER - - Dynamic arrays. - Special structure with three values: Length, Capacity, and Pointer to the head of an actual static array. - Use make and append to respectively allocate array space and adding elements to an existing slice. - Main data structure in Go. Functions - CORRECT ANSWER - - Use when possible. - Similar to Java methods, but does not need to be part of a class.

Show more Read less
Institution
Distribution Systems
Course
Distribution Systems










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

Written for

Institution
Distribution Systems
Course
Distribution 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

Distributed Systems Exam UPDATED
ACTUAL Exam Questions and CORRECT
Answers
Slices - CORRECT ANSWER - - Dynamic arrays.
- Special structure with three values: Length, Capacity, and Pointer to the head of an actual static
array.
- Use make and append to respectively allocate array space and adding elements to an existing
slice.
- Main data structure in Go.


Functions - CORRECT ANSWER - - Use when possible.
- Similar to Java methods, but does not need to be part of a class.
- Can use recursion.


Channels - CORRECT ANSWER - Communication tool that enables safe data exchange
and synchronisation between goroutines.


goRoutines - CORRECT ANSWER - A lightweight thread of execution managed by the
Go runtime, aka. concurrently executing functions.


gRPC - CORRECT ANSWER - gRemote Procedure Call developed by Google. Uses
protocol buffers for serializing structued data.
- IDL(interface definition language), define messages
- Both synchronous and asynchronous support
- Unary / Serverside / Client / Bidirectional streaming


Pointers - CORRECT ANSWER - used to 'point' to specific things in Go. E.g. *int =
"pointer to an int)", and &x = "address of x".

,sync.Mutex - CORRECT ANSWER - - Special structure for guarding access
- Declare a variable sync.Mutex
- Use methods to Lock() and Unlock() for guarding access


A Distributed System - CORRECT ANSWER - A distributed system is one in which
components located at networked computers communicate and coordinate their actions only by
passing messages.


Network - CORRECT ANSWER - A (computer) network is a collection of entities that can
execute software and interact by exchanging information and sharing resources.


Node - CORRECT ANSWER - Each entity in the network is usually called a node.
Depending on the level of abstraction of the network, a node can be a physical device or more
abstract entities.


Communication - CORRECT ANSWER - The nodes of a network can interact with each
other by means of communication. In this course, we always assume that the network provides
some sort of communication means through which nodes can exchange messages.


Concurrency - CORRECT ANSWER - In a concurrent system, two or more activities
(processes or programs) progress in some manner parallel to each other. E.g. execution of a set of
multiple instruction sequences at the same time.


Parallelism - CORRECT ANSWER - Concurrent execution of multiple tasks or processes
to achieve improved performance and efficiency.


Global Clock - CORRECT ANSWER - An agreed upon time and place, that usually all
nodes and the network follows, leading to perfect alignment.


Interaction - CORRECT ANSWER - Interaction(i)

, - Latency (from start of transmission to beginning of receipt)
- Bandwidth (e.g. bits/second)
- Jitter (a variation of delivery time)


Interaction (ii)
- Synchronous
- Asynchronous


Interaction(iii)
- Event ordering - no global time


Asynchronous - CORRECT ANSWER - - No bounds on execution steps
- No time bound on transmission
- Arbitrary clock drift


Synchronous - CORRECT ANSWER - - Bounds on execution steps
- Guaranteed transmission in bounded time
- Clock drift bounds


Failures - CORRECT ANSWER - A deviation of a system or component from its expected
behaviour.


Faults - CORRECT ANSWER - A fault is the underlying cause of a failure.



Call-by-value - CORRECT ANSWER - Functions take values as input and return other
values as output.


Call-by-reference - CORRECT ANSWER - Pointers take a reference, and return that
reference.

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