Question: 7. According to the sorting algorithm answor the following questions [12 marks] a. Consider using the Solection Sort Aporithm to sort the below list of

 7. According to the sorting algorithm answor the following questions [12

7. According to the sorting algorithm answor the following questions [12 marks] a. Consider using the Solection Sort Aporithm to sort the below list of numbers. How many times the swap instruction will be executed? [35,25,10,40,30,36] b. Consider using the Bubble Sort Algorithm to sort the below list of numbers. How the list will look like after the first Swap Pass? [35,25,10,40,30,36] c. List the name of the fastest Sorting Algorithms? d. Consider using the Selection Sort Agorithm to sort the below list of numbers. Which pair of elements will be swapped first? [89,70,55,45,90,85,66]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!