Question: 4. In the makeRoom method of an array-based implementation of the ADT list a. entries are shifted toward the end of the array beginning with

4. In the makeRoom method of an array-based implementation of the ADT list a. entries are shifted toward the end of the array beginning with the last entry b. entries are shifted toward the beginning of the array beginning with the last entry C. entries are shifted toward the beginning of the array beginning with the first entry d. entries are shifted toward the end of the array beginning with the first entry 5. In the makeRoom method of an array-based implementation of the ADT list no shift is necessary if a new entry is to be placed at a. numberOfEntries + 1 b. numberOfEntries - 1 C. numberOfEntries d. none of the above 6. In the array-based implementation of the ADT list, the removeGap method a. moves each entry to its next lower position b. moves each entry to its next higher position c. swaps the first entry with the specified entry to remove d. swaps the last entry with the specified entry to remove
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
