Multiple Choice
What does each iteration of the insertion sort algorithm do?
A) Each iteration takes the next smallest element and inserts it at the beginning of the array.
B) Each iteration takes the next element in the unsorted portion of the array and inserts it into the sorted portion.
C) Sorted subarrays are inserted into the larger array.
D) Each iteration determines the location of a pivot and inserts it into place.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Which of the following is a way
Q2: Which of the following is a negative
Q14: How many comparisons will the linear search
Q15: The linear search algorithm runs in _time.<br>A)quadratic<br>B)O(n)<br>C)constant<br>D)nonlinear
Q16: Big O highlights _ factors and ignores
Q17: How much faster is insertion sort with
Q17: Using a binary search, what is the
Q18: What is the base case for the
Q19: Different sorting algorithms on a particular array
Q20: What is the efficiency of merge sort?<br>A)O(log