Compare and contrast spatial locality with temporal locality.
What will be an ideal response?
Temporal locality refers to the observation that once a particular memory location has been accessed the probability that it will be accessed again is high.
Spatial locality refers to the observation that once a particular memory location is accessed the probability that locations in close proximity to that location will be accessed is high
You might also like to view...
Margins can be set by either typing in the desired value or using the ________
A) vertical scroll bar. B) spin arrows. C) align menu. D) horizontal scroll bar.
Answer the following questions true (T) or false (F)
1. If, in a class, one uses the keyword public:, it affects only the member that immediately follows the keyword public, making this member accessible to any other function defined anywhere. 2. There is no access to private members of a class by any function defined outside the class.