Which one of the following statements is correct?
A. Spatial locality means instructions must be stored together.
B. Spatial locality means, if a memory location, say x, is accessed now, then x’s nearby locations are likely to be accessed in the near future.
C. Temporal locality means temporary variables must be stored at the bottom of the memory stack.
D. Temporal locality slows down the execution of programs.