225k views
5 votes
A list based on a simple array (standard array implementation) is preferable to a dynamically allocated list for the following reasons.

A. Insertions and deletions require less work.
B. You are guaranteed a space to insert because it is already allocated.
C. You can take advantage of random-access typically.
D You can mix and match the types of the items on the list. E. (b) and (c).
F. All of the above.

User Awalias
by
8.1k points

1 Answer

3 votes

Answer:

A. Insertions and deletions require less work.

C. You can take advantage of random access typically

D. You can mix and match the types of the items on the list.

Step-by-step explanation:

Standard array implementation is a process in which number of items are of same type and index is restricted at a certain range. This is preferable to dynamic allocated list because it requires less work in insertion and deletions. A dynamically allocated array does not use the fixed array size declaration.

User Juraj Kocan
by
8.1k points