The correct option is B. Before you can perform a selection sort, the data must be stored in ascending. The given statement is False.
The selection sort method sorts an array by repeatedly selecting the least element from the unsorted portion and inserting it at the beginning while taking into account ascending order. In a given array, the method maintains two subarrays.
<h3>Why it is called selection sort?</h3>
Selection sort is the name given to this algorithm because it repeatedly chooses the next-smallest element and moves it into position.
A straightforward sorting algorithm is the selection sort. The list is split into two sections, the sorted part at the left end and the unsorted half at the right end, in this in-place comparison-based sorting process. The list as a whole is initially in the unsorted half and the sorted part is empty.
Thus, The best choice is B. The information needs to be stored in ascending order in order to perform a selection sort. The assertion is untrue.
Learn more about Selection Sort here:
brainly.com/question/15862081
#SPJ4