COMPILER DESIGN

TOOLS AND TECHNIQUES FOR COMPILER DESIGN

MISCELLENOUS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The idea of cache memory is based ____
A
On the property of locality of reference
B
On the heuristic 90-10 rule
C
On the fact that references generally tend to cluster
D
On all the above
Explanation: 

Detailed explanation-1: -The ability of cache memory to improve a computer’s performance relies on the concept of locality of reference. Locality of reference refers to the tendency of the computer program to access the same set of memory locations for a particular time period.

Detailed explanation-2: -The effectiveness of the cache mechanism is based on a property of computer programs called locality of reference. Analysis of programs shows that most of their execution time is spent on routines in which many instructions are executed repeatedly.

Detailed explanation-3: -Cache memory is faster than main memory. It consumes less access time as compared to main memory. It stores the program that can be executed within a short period of time. It stores data for temporary use.

There is 1 question to complete.