
(CPDS) Time and Global States - Clocks
Authored by Jordi Guitart
Computers
University
Used 70+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
We define the clock skew as ...
The difference in time values between any two clocks
The period of time between two consecutive clock synchronization actions
The rate by which the value of a clock drifts from the ideal time
The adjustment that needs be made to a clock so that its value achieves the average time
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
We define the clock drift as ...
The difference in time values between any two clocks
The period of time between two consecutive clock synchronization actions
The adjustment that needs be made to a clock so that its value achieves the average time
The rate by which the value of a clock separates gradually from the ideal time
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about physical clocks in distributed systems is false?
Algorithms can synchronize physical clocks externally or internally
Algorithms can provide perfect synchronization of physical clocks
Physical clocks need to be synchronized due to clock skew and clock drift
Physical clocks need to be synchronized every R time units, where R < δ / 2ρ, being δ the maximum allowed clock skew and ρ the clock drift
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How often is clock synchronization required in a distributed system to ensure that the skew between any two clocks is always less than δ time units?
Synchronization is not needed, as there is only a single source of time in the system
Synchronization is required only once, as clocks will keep the same value after that
Synchronization is required every R time units, where R < δ / ρ, being ρ the maximum clock drift rate
Synchronization is required every R time units, where R < δ / 2ρ, being ρ the maximum clock drift rate
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In a distributed system, the maximum clock drift rate from the perfect time is 10-6. i) What could be the maximum difference between the readings of any two clocks 24 hours after they have been synchronized? ii) What should be the maximum resynchronization interval, so that their clock skew does not exceed 3 ms?
i) 172.8 ms ii) 3000 s
i) 172.8 ms ii) 1500 s
i) 86.4 ms ii) 3000 s
i) 86.4 ms ii) 1500 s
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about the Berkeley's algorithm to synchronize physical clocks in distributed systems is false?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about the Cristian's algorithm to synchronize physical clocks is false?
Each client asks the time to the server at every resynchronization interval
Each client sets its time to TS + RTT, being TS the time within the message received from the server and RTT the round-trip time (i.e. the elapsed time between the client's request and the server's response)
Accuracy of client's clock is ±(RTT/2 - Min), being RTT the round-trip time and Min the minimum latency between the client and the server
The resynchronization interval must be lower than δ / 2ρ, being δ the maximum allowed clock skew and ρ the clock drift
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?