Question: QUESTION 3 (20 marks) a) Create a pseudo code for insertion sort using an array. (6 marks) b) Detail out the proceeds of the processes

QUESTION 3 (20 marks) a) Create a pseudo code for insertion sort using an array. (6 marks) b) Detail out the proceeds of the processes by explaining with the help of a state table of a 5 element (1-5) array as shown below. Round Timer = timer-1 2 Comment 79103 Key 1 2 3 4 5 79 10379 30 61 123 (7 marks) c) Identify three (3) advantages and disadvantages of insertion sort. (3 marks) d) Identify a pair of advantage and disadvantage of Memory based Sorting. (2 marks) e) Identify any two (2) faster sorting algorithm and the technique used. (2 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
