Multiple Choice
Although insertion sort and selection sort have generally the same O(n²) performance, selection sort has an advantage of insertion sort. What is this advantage?
A) Selection sort usually makes fewer comparisons
B) Selection sort usually makes fewer swaps
C) Selection sort usually makes fewer passes
D) Selection sort usually makes fewer selections
E) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q5: Polymorphism is achieved by<br>A) overloading<br>B) overriding<br>C) embedding<br>D)
Q17: The fact that the System.out.println() method is
Q60: What is printed? <br><br> public class Inherit<br> {<br><br> class Figure<br> {<br> void
Q61: Which of the following GUI components would
Q62: Which of the following is a listener
Q63: Why is it almost always a good
Q66: The type of the reference, not the
Q67: What does the following code do? Assume
Q68: Comparing the performance of selection sort and
Q69: What is printed by the following code?<br> public