Assignment 1 is ready ... checkout the "Assignments" tab.
Start early and do not hesitate to ask if you face any problems.
Enjoy!
Update: It seems that the E-Learning website at PSUT is down. I have added an alternative link just in case you are facing problems in downloading this assignment
Start early and do not hesitate to ask if you face any problems.
Enjoy!
Update: It seems that the E-Learning website at PSUT is down. I have added an alternative link just in case you are facing problems in downloading this assignment
hello Dr ...
ReplyDeletei know am late... but i need your help..
how can we modify the insertion sort algorithm such that it uses binary search instead of linear search....when the binary search must be used on already sorted arrays ??
Insertion sort works by dividing the array into sorted and unsorted parts. At each iteration one element from the unsorted part is inserted into the sorted part. Binary search can be used to find the position at which the element should be inserted into the sorted part.
Deletei didn't get what you said...but thanks so much :D another question
Deletehow are we suppose to submit the 5 tables ??
Review how insertion sort works. You will find that in each step there is always part of the array that is sorted.
DeleteFor submitting the assignment, zip all of your work and upload it here:
http://psut.jo/elearning/mod/assignment/view.php?id=12282