Multiple Choice
Although insertion sort and selection sort have generally the same performance, the selection sort has an advantage over the insertion sort. What is this advantage?
A) The selection sort usually makes fewer comparisons.
B) The selection sort usually makes fewer swaps.
C) The selection sort usually makes fewer passes.
D) The selection sort usually makes fewer selections.
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Q25: Code Example Ch 10-1<br>An int array
Q26: Explain how to alter the selection sort
Q27: Demonstrate how the following array is sorted
Q28: The binary search can be used on
Q29: An class reference can refer to any
Q31: An interface reference can refer to any
Q32: Code Example Ch 10-1<br>An int array
Q33: Given the following code, class Aggregate is
Q34: A method's parameter can be polymorphic, giving
Q35: What does the following code do? Assume