The principal of the locality of reference justifies the use of

2007

The principal of the locality of reference justifies the use of

  1. A.

    virtual memory

  2. B.

    interrupts

  3. C.

    main memory

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

Explore the full course: Isro