Solved

What Statement Accurately Describes the Strategy Utilized by the Selection

Question 42

Multiple Choice

What statement accurately describes the strategy utilized by the selection sort algorithm?


A) The selection sort algorithm repeatedly swaps elements that are out of order in a list until they are completely sorted.
B) The selection sort algorithm repeatedly swaps the smallest element in an unsorted portion of a list with an element at the start of the unsorted portion.
C) The selection sort algorithm repeatedly inserts the i-th element into its proper place in the first i items in the list.
D) The selection sort algorithm partitions a list around a pivot item and sorts the resulting sublists.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions