Test: Computer Science

1.

Which of the following statements explains insertion sort?

The list is broken apart into smaller lists that are sorted and merged back together.

The list is iterated through multiple times until it finds the desired first number, then repeats the process for all numbers.

It removes one element from the list, finds where it should be located, and inserts it in that position until no more elements remain.

None of these are insertion sort.

All numbers less than the average are inserted on the left, and the rest is inserted at the right. The process is then repeated for the left and right side until all numbers are sorted.

1/2 questions

0%
Learning Tools by Varsity Tutors