166k views
0 votes
Which of the following statements are true?

Sorting algorithms are used to find a particular element in the list

None of the above

Searching algorithms can be used to sort a list

Sorting algorithms can only sort lists in ascending order​

1 Answer

1 vote
None of the above statements are true.

Sorting algorithms are used to sort a list in a particular order, not to find a particular element.
Searching algorithms are used to find a particular element in a list, not to sort a list.
Sorting algorithms can sort a list in ascending or descending order, depending on the implementation.
User Laura Paakkinen
by
8.3k points