[Solved] Which of the following is an advantage of parallel arrays?

Which of the following is an advantage of parallel arrays?

a) Poor locality of reference for non-sequential access
b) Very little direct language support
c) Expensive to shrink or grow
d) Increased Locality of Reference

Answer: d
Explanation: Elements in the parallel array are accessed sequentially as one array holds the keys whereas the other holds the values. This sequential access generally improves the Locality of Reference. It is an advantage.

Comments