To solve the problem of the speed mismatch between CPU and primary memory.
B.
An implication of locality is that we can predict with reasonable accuracy what instructions and data a program will use in the near future based on its accesses in the recent past.
C.
The principle of temporal locality and spatial locality offer us reasons to get instructions and data before they are executed.