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.
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");
Answer the following statement(s) true (T) or false (F)
IPv4 and IPv6 use the same packet format.
The overwhelming majority of dial-up connections use either PSTN or _______________.
Fill in the blank(s) with the appropriate word(s).
Explain how to check the USB power usage in Windows.
What will be an ideal response?