A clock is reading 10:27:54.0. (hr:min:sec) when it is discovered to be 4 seconds fast. Explain why
it is undesirable to set it back to the right time at that point and show (numerically) how it should
be adjusted so as to be correct after 8 seconds has elapsed.

What will be an ideal response?


Some applications use the current clock value to stamp events, on the assumption that clocks always advance.
We use E to refer to the ‘errant’ clock that reads 10:27:54.0. when the real time is 10:27:50. We assume that H
advances at a perfect rate, to a first approximation, over the next 8 seconds. We adjust our software clock S to
tick at rate chosen so that it will be correct after 8 seconds, as follows:
S = c(E - Tskew) + Tskew, where Tskew = 10:27:54 and c is to be found.
But S = Tskew+4 (the correct time) when E = Tskew+8, so:
Tskew+ 4 = c(Tskew + 8 - Tskew) + Tskew, and c is 0.5. Finally:
S = 0.5(E - Tskew) + Tskew (when Tskew ð E ð Tskew+8).

Computer Science & Information Technology

You might also like to view...

To create a fill for a shape created with merged lines, click the inside of the shape with the ____ Tool.

a. Paint Bucket b. Stroke c. Fill d. Color

Computer Science & Information Technology

Wyatt is thinking about purchasing his first computer. He wants to make sure that he buys a computer that fits his lifestyle. Wyatt decides that it is a good idea to password protect his computer. His user name is TMWyatt. He decides that the most secure password he can use is ____.

A. TMWyatt B. his birthday C. T7Wya8tt D. his dog's name

Computer Science & Information Technology

Which of the following is NOT a type of memory?

A) Cache B) CPU registers C) RAM D) ALU

Computer Science & Information Technology

______________ questions are usually used for formative research to help guide design decisions, whereas ______________ questions are better suited for summative research to support or confirm design solutions

Fill in the blank(s) with correct word

Computer Science & Information Technology