Top

Discussion

Which of the following concepts make extensive use of arrays?

  • A.Binary trees
  • B.Scheduling of processes
  • C.Caching
  • D.Spatial locality

Answer: D

Whenever a particular memory location is referred, it is likely that the locations nearby are also referred, arrays are stored as contigous blocks in memory, so if you want to access array elements, spatial locality makes it to access quickly.

No comment is present. Be the first to comment.
Loading…

Post your comment