April 2000 QUESTION 4 Total Marks: 15 Marks |
Click here to access other
questions
Click to access |
(a)(i)Briefly describe the selection sort algorithm.[2 marks ] (b)The procedure SelectionSort takes an unsorted list x and sorts
the list into (c)Define the procedure SelectionSort the signature of which is given
below,which takes a list x which is an array of integers of length
ListSize and performs a selection sort on x such that the items are
placed in ascending order. |