Multiple Choice
When sorting an array of objects, if the values in the data member being sorted on are out of order for two objects, it is necessary to
A) swap the entire two objects.
B) examine a different data member.
C) swap one- by- one all data members in the two objects.
D) swap these two data values.
E) stop the sort.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: When an array is sorted from highest
Q3: If the item being searched for is
Q4: To locate a value in an ordered
Q5: A sorting algorithm can be used to
Q6: If algorithm A requires 2n + 1
Q9: If a binary search is used to
Q10: A _search uses a loop to sequentially
Q11: To determine that a value is not
Q13: When searching for an item in an
Q35: Any sorting algorithm, such as bubble sort