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)
Q6: Which of the following sorting algorithms is
Q7: What is the efficiency of selection sort?<br>A)O(n2).<br>B)O(n
Q8: What is the term used for binary
Q10: A searching algorithm that's O(1)_.<br>A)requires one comparison<br>B)does
Q11: Big O notation is concerned with the
Q14: How many comparisons will the linear search
Q17: Using a binary search, what is the
Q19: Different sorting algorithms on a particular array
Q20: Which of the following is not a