COS1501
Assignment 3 2024
Detailed Solutions, References & Explanations
Unique number: 532267
Due Date: 22 July 2024
Terms of use
By making use of this document you agree to:
• Use this document as a guide for learning, comparison and reference purpose,
• Not to duplicate, reproduce and/or misrepresent the contents of this document as your own work,
• Fully accept the consequences should you plagiarise or misuse this document.
Disclaimer
Extreme care has been used to create this document, however the contents are provided “as is” without
any representations or warranties, express or implied. The author assumes no liability as a result of
reliance and use of the contents of this document. This document is to be used for comparison, research
and reference purposes ONLY. No part of this document may be reproduced, resold or transmitted in any
form or by any means.
, COS1521-24-Y Welcome Message Assessment 3
QUIZ
Started on Thursday, 11 July 2024, 4:54 PM
State Finished
Completed on Thursday, 11 July 2024, 5:52 PM
Time taken 57 mins 31 secs
Question 1
Complete
Marked out of 1.00
Suppose a list contains the following elements:
71 47 73 17 77 27 37 7
What is the order of the elements in the list after three passes when selection sort is used?
a. 7 17 73 47 77 27 37 71
b. 7 17 27 71 47 73 77 37
c. 7 17 27 47 77 73 37 71
d. 7 17 27 37 77 73 47 71
Question 2
Complete
Marked out of 1.00
Which of the following statements regarding sorting algorithms is TRUE?
a. Insertion sort is the most efficient sorting algorithm.
b. Selection sort is more efficient than bucket sort.
c. Heap sort is less sufficient than bubblesort.
d. Merge sort is more efficient that selection sort.