Search Header Logo

(CPDS) Time and Global States - Clocks

Authored by Jordi Guitart

Computers

University

Used 70+ times

(CPDS) Time and Global States - Clocks
AI

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?

It is used in systems without a UTC receiver to synchronize nodes with one another within a given bound
At every resynchronization interval, the time server obtains the local clock time from every node and updates it according to the estimated latency with the node
The time server uses always the local clock time of all the nodes to calculate an average time, independently of their current value
The time server reports back to every node the adjustment to be made relative to their present time to synchronize with the calculated average time

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?