The following algorithm represents the logic of a(n) ____.For maxElement = ARRAYSIZE - 1 To 1 Step - 1 For index = 0 To maxElement - 1 If someNums[index] > someNums[index + 1] Then temp = someNums[index] someNums[index] = someNums[index + 1] someNums[index + 1] = temp End If End ForEnd For
A. selection sort
B. insertion sort
C. bubble sort
D. merge sort
Answer: C
Computer Science & Information Technology
You might also like to view...
Which protocol is utilized by the ping command to determine whether a host is active on a network?
a. UDP b. ICMP c. FTP d. IP
Computer Science & Information Technology
Information contained on devices is protected by three layers: Two of the layers are products and policies and procedures. What is the third layer?
A. people B. systems C. applications D. tools
Computer Science & Information Technology