640 views

1 Answer

2 votes
2 votes
There is two type of locality of reference

1: temporal locality

2: spatial locality

In simple words,

Temporal locality: The concept that a resource that is referenced at one point in time will be referenced again sometime in the near future.

Spatial locality: The concept that the likelihood of referencing a resource is higher if a resource near it was just referenced.

Related questions

2 votes
2 votes
1 answer
2
Akriti sood asked Dec 8, 2016
12,159 views
Which of the following symbol table implementation is based on the property of locality of reference? Self-organizing list Hash tree Search tree Array
1 votes
1 votes
1 answer
3
gate_forum asked Jun 25, 2016
744 views
State True/False:"Some programs do not exhibit locality of reference."
0 votes
0 votes
0 answers
4
Anshul kumar singh asked Jul 18, 2022
706 views
Quantify the effect on performance that results from the use of a cache in the case of a program that has a total of 500 instructions, including a 100-instruction loop th...