[Solved] Which of the following is a disadvantage of the parallel arrays over the traditional arrays?

Which of the following is a disadvantage of the parallel arrays over the traditional arrays?

a) When a language does not support records, parallel arrays can be used
b) Increased locality of reference
c) Ideal cache behaviour
d) Insertion and Deletion becomes tedious

Answer: d
Explanation: Insertion and deletion of elements required moving every element from their initial positions. This will become tedious. For Record collection, locality of reference, and Ideal Cache behavior we can use parallel arrays.

Comments