The principle of locality justifies the use of:

1995

The principle of locality justifies the use of:

  1. A.

    Interrupts

  2. B.

    DMA

  3. C.

    Polling

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

Explore the full course: Gate Guidance By Sanchit Sir