+1 vote
in Data Structures & Algorithms I by (110k points)
Which of the following concepts make extensive use of arrays?

(a) Binary trees

(b) Scheduling of processes

(c) Caching

(d) Spatial locality

Enquiry is from Array and Array Operations topic in portion Abstract Data Types of Data Structures & Algorithms I

The question was asked in exam.

1 Answer

+1 vote
by (550k points)
selected by
 
Best answer
Correct answer is (d) Spatial locality

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

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...