Operating Systems Concepts - Engineering

Q1:

The principle of locality of reference justifies the use of

A reenterable

B non reusable

C virtual memory

D cache memory

E None of the above

ANS:D - cache memory

This principle is used in many occasions, not just in cache memory. It is worth noting that it was discovered during the "invention" of virtual memory. The principle is used to try to predict which address the processor wants next.

Some examples of applications are: cache memory, virtual memory, TLB and DRAM-FPM construction.