Which of the following is a disadvantage of parallel array over the…

2023

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

  1. A.

    When a language does not support records, parallel arrays can be used

  2. B.

    Increased locality of reference

  3. C.

    Ideal cache behaviour

  4. D.

    Insertion and Deletion becomes tedious

Attempted by 111 students.

Show answer & explanation

Correct answer: D

Answer: d

Explanation: Insertion and deletion of elements require to move every element from their initial positions. This will become tedious. For Record collection, locality of reference and Ideal Cache behaviour we can use parallel arrays.

Explore the full course: Lti Mindtree Preparation