Answer:
Explanation:
The following code is written in Java and like asked in the question, it is a function that takes in an ArrayList of Integers as a parameter and uses selection sort to sort the array.
public static void selectSort(ArrayList<Integer> list) {
for (int i = 0; i < list.size() - 1; i++)
{
int index = i;
for (int j = i + 1; j < list.size(); j++){
if (list.get(j) < list.get(index)){
index = j;
}
}
int smallerNumber = list.get(index);
list.set(index, list.get(i));
list.set(i, smallerNumber);
}
}
Answer: True
Explanation: Software designing is the designing of the solution regarding the problem in the software field. Software design is built wit the consideration of the SRA(software requirement analysis)
SRA describes about the actual parameter should be used for building the software as per the requirement or demand of the operating system.These specification are implemented and then designing is done.Thus, the statement is true.
Having the right tool is imperative to successful completion of task at hand.