The principal of the locality of reference justifies the use of
2007
The principal of the locality of reference justifies the use of
- A.
virtual memory
- B.
interrupts
- C.
main memory
- D.
cache memory
Attempted by 438 students.
Show answer & explanation
Correct answer: D
The principle of locality of reference states that programs tend to access a relatively small portion of their address space at any given time. This behavior includes temporal locality (recently accessed items are likely to be accessed again) and spatial locality (items near recently accessed items are likely to be accessed soon). These patterns justify the use of cache memory, which stores frequently used data closer to the CPU for faster retrieval.
A video solution is available for this question — log in and enroll to watch it.