Design an experiment for a paged system to demonstrate the phenomena of temporal and spatial locality.

What will be an ideal response?


What we want to demonstrate is that a page used in the recent past is likely to be used
again in the near future (temporal locality), and that if one page is used, then nearby pages
are likely to be used. The system could form a page-reference string, i.e., a list of each of the
pages referenced over some reasonable time interval. The string could then be analyzed to
see if pages tend to be rereferenced in the near future, and if adjacent pages tend to be referenced
regularly.

Computer Science & Information Technology

You might also like to view...

Which of the following would not return string::npos when used on the string s which contains "rack":

a. s.find_first_not_of("crackling"); b. s.find_first_not_of("packrat"); c. s.rfind("car"); d. s.find("ack");

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

IPv4 and IPv6 use the same packet format.

Computer Science & Information Technology

The overwhelming majority of dial-up connections use either PSTN or _______________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Explain how to check the USB power usage in Windows.

What will be an ideal response?

Computer Science & Information Technology