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...

By pressing the ________ keys simultaneously you can scroll through open apps

A) Ctrl and Alt B) Alt and Enter C) Tab and Ctrl D) Alt and Tab

Computer Science & Information Technology

Which of the following classes is not used for file input?

a. FileInputStream b. FileReader c. ObjectInputStream d. Formatter

Computer Science & Information Technology