Welcome! Log In Create A New Profile

Advanced

Assignment 3 q3

Posted by valkeye 
Announcements Last Post
Announcement : Programming Students at UNISA School of Computing 06/19/2019 02:01PM
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
avatar Assignment 3 q3
June 13, 2008 09:54AM
Hi all,

for question 3 i'm assuming that we don't need to code the functions, but rather just show the process of sorting the list.

Am I correct or are we meant to provide 4 different algorithms?

Thanks

-Valkeye
Re: Assignment 3 q3
June 14, 2008 05:20PM
That is how I read it.
avatar Re: Assignment 3 q3
June 14, 2008 06:34PM
Great. Thanks.

Also, can someone explain to me the difference between question 3c and 3d. I think that they are asking the same question twice.

3c asks for the middle element as pivot.
3d asks for the median(middle value) of the first, last and middle, which is, the way I see it, still the middle element.

Am I correct, or am I going crazy?

Thanks

-Valkeye
Re: Assignment 3 q3
June 14, 2008 08:49PM
Its middle one in magnitude, not position. when you recurse through the sublists, and their sublists...and... the difference in the two approaches will show.
Sorry, only registered users may post in this forum.

Click here to login