GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 1.6

Locality and the memory hierarchy

Computer Organization & Architecture · Cache Memory · Full GATE CSE 1995 paper

GATE 1995, Q1.6 1 mark · MCQ
Report issue

Cache Memory

Question 1.6, GATE 1995: Which mechanism is directly justified by locality: interrupts, DMA, polling, or cache memory?
Question 1.6, GATE 1995: Which mechanism is directly justified by locality: interrupts, DMA, polling, or cache memory?
Tap to enlarge
Your answer
Answer & solution

Answer: D (no official key was published)

Temporal locality means a recently accessed item is likely to be accessed again. Spatial locality means nearby addresses are likely to be accessed soon. A cache retains recent blocks in fast storage, exploiting both kinds of locality to avoid slower memory accesses. Interrupts and polling concern detecting events; DMA concerns moving data without the CPU handling every transfer. None depends on locality in the same direct way, so cache memory is the relevant mechanism.

Original paper, page 1