TOOLS AND TECHNIQUES FOR COMPILER DESIGN
MISCELLENOUS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Memory locations in which program accesses are likely to be accessed again within a short period of time is called
|
Spatial locality
|
|
Temporal locality
|
|
Referential locality
|
|
Cache memory
|
Explanation:
Detailed explanation-1: -Temporal locality This type of optimization includes bringing in the frequently accessed memory references to a nearby memory location for a short duration of time so that the future accesses are much faster.
Detailed explanation-2: -Definition. The term locality of reference refers to the fact that there is usually some predictability in the sequence of memory addresses accessed by a program during its execution. Programs are said to exhibit temporal locality if they access the same memory location several times within a small window of time.
There is 1 question to complete.