Multiple Choice
In the bubble sort algorithm,the two arguments sent into the swap module are ___________.
A) array[index] and array[index-1]
B) array[index+1] and array[index-1]
C) array[index-1] and array[index+1]
D) array[index-1] and array[index]
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q17: The _ search algorithm locates an item
Q18: For an array of n items,the maximum
Q19: As the _sorting algorithm makes passes through
Q20: Computer programming languages are only able to
Q21: In a binary search,if the search fails
Q23: Which searching algorithm requires the array to
Q24: What does the variable middle represent in
Q25: In a selection sort,which variable holds the
Q26: To order an array of strings in
Q27: When the elements in an array are