Answer:
Option(a) is the correct answer to the given fill in the blank of #2
Step-by-step explanation:
The values[indexOfMin] returns the minimum element in the particular array As in the given question we have to implement the selection sorting .In the selection sorting we have choose the element and compare them others minimum index that's why we have choose the values[indexOfMin] function.
- The index of min is not the correct function So we have not used in the given fill in the blanks that's why option(b) is incorrect .
- The values[startIndex] represent the starting index only that is not suitable for the given question that's why it is incorrect option.