Multiple Choice
What does the first pass of selection sort do?
A) Splits the array into two approximately equal pieces.
B) Orders the first two elements of the array.
C) Partitions the array into two unequal pieces depending on whether each element in the array is greater or less that some pivot element.
D) Locates the smallest element in the array and swaps it into the zeroth position.
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Which of the following statements is true?<br>A)
Q4: is the efficiency of linear search?<br>A) O(1).<br>B)
Q5: What does each iteration of the insertion
Q6: Which of the following sorting algorithms is
Q7: What is the efficiency of merge sort?<br>A)
Q9: Big O highlights _ factors and ignores
Q10: The linear search algorithm runs in _time.<br>A)
Q11: What is the base case for the
Q12: Big O notation is concerned with the
Q13: An O(n) algorithm is referred to as