In sorting bulk data in computer databases, we have different ways to help sort it out including shell sort and algorithm selection sort. In this quiz, we focus our attention to the former type of sorting data.
10, 20,15,18 -- 10,15,20,18 -- 10,15,18,20
15,20,10,18 -- 15,10,20,18 -- 10,15,20,18 -- 10,15,18,20
15,18,10,20 -- 10,18,15,20 -- 10,15,18,20 -- 10,15,18,20
15,10,20,18 -- 15,10,18,20 -- 10,15,18,20
Two separate for loops
Three for loops, all separate
Two for loops, one nested in the other
A for loop nested inside a while loop
The minimum value in the list is found
The maximum value in the list is found
Adjacent elements are swapped
11
9
20
25
Array_size*2
Array_size+1
Array_size-1
None of the above
Wait!
Here's an interesting quiz for you.