Question : Cache memory works on the principle of ____________.
Option 1: locality of data
Option 2: locality of reference
Option 3: locality of Memory
Option 4: locality of memory and reference
Correct Answer: locality of reference
Solution : The correct answer is the locality of reference.
Cache memory functions based on temporal and spatial locality. This implies that it makes use of the fact that data that is accessed once is likely to be accessed again shortly (temporal locality) and data that is located near previously accessible data is also likely to be accessed (spatial locality) in many programs and applications.
SSC CGL Complete Guide
Candidates can download this ebook to know all about SSC CGL.