The principle of locality justifies the use of:
1995
The principle of locality justifies the use of:
- A.
Interrupts
- B.
DMA
- C.
Polling
- D.
Cache Memory
Attempted by 2487 students.
Show answer & explanation
Correct answer: D
The principle of locality states that programs tend to access the same data and instructions repeatedly (temporal locality) and nearby memory locations (spatial locality).
Cache memory exploits this behavior by storing frequently and recently used data close to the CPU, thereby reducing memory access time.
Hence, the principle of locality justifies the use of Cache Memory.
A video solution is available for this question — log in and enroll to watch it.