ISRO | ISRO CS 2007 | Question 14
The principal of the locality of reference justifies the use of
(A) virtual memory
(C) main memory
(D) cache memory
Explanation: Spatial Locality of reference – this says that there is chance that element will be present in the close proximity to the reference point and next time if again searched then more close proximity to the point of reference.
Temporal Locality of reference – In this Least recently used algorithm will be used. Whenever there is page fault occurs within word will not only load word in main memory but complete page fault will be loaded because spatial locality of reference rule says that if you are referring any word next word will be referred in its register that’s why we load complete page table so complete block will be loaded.
Principle of locality of reference justifies the use of cache.
Option (D) is correct.
Quiz of this Question