Question: Algorithm , Hello i need the correct answer with justification please Question 6: Which of the following algorithms we have seen uses recursion? a. Selection


Algorithm , Hello i need the correct answer with justification please
Question 6: Which of the following algorithms we have seen uses recursion? a. Selection Sort b.Insertion Sort c.Shell Sort d.Merge Sort e.None of the answers Question 7: Consider the following array: {1,5,7,9, 10, 16, 27}, what is the exact number of exchange operations that will be executed using selection sort algorithm: a.0 b.1 c.6 d.7 e. None of the answers Question 8: Consider the following array: {7, 10, 5, 3, 8, 4, 2, 9, 6}; trace the Selection Sort algorithm and specify the last exchange that occurs between two distinct items: a.8 and 10 b.7 and 6 c.10 and 2 d.9 and 6 e. None of the answers Question 9: Consider the following array: {7, 10, 5, 3, 8, 4, 2, 9, 6}; trace the Insertion Sort algorithm and specify the last exchange that occurs: a.6 and 7 b.9 and 10 c.10 and 2 d.9 and 6 e. None of the answers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
