[Year 12 SofDev] Quick Sort Code

Ben Hines b.hines at ccg.vic.edu.au
Sun Jun 15 14:22:39 EST 2014


You need to swap the order of the pop s off the stack. Otherwise the start will get an end index and the end will get a start index. Hope that helps.


Sent from Samsung Mobile


-

Ben Hines
Mathematics and ICT Teacher
Senior Campus
(03)5241 1577

[Christian College Geelong]

[https://www.ccg.vic.edu.au/email/images/Enviro.jpg] Please consider the environment before printing this email.

------- Original message --------
From: Anthony Sullivan
Date:15/06/2014 14:15 (GMT+10:00)
To: sofdev at edulists.com.au
Subject: [Year 12 SofDev] Quick Sort Code

I’m trying to code the Quick Sort algorithm from the textbook (page 126) into Visual Basic – but having a few problems

If anybody has a working example of this algorithm would it be possible to ask for a copy of the code?

Anthony



Anthony Sullivan
Head of Information Technology


20 Wooralla Drive, Mt. Eliza, Vic, 3930


T: 03 9788 7796 | F: 03 9787 7646 | asullivan at tps.vic.edu.au | www.tps.vic.edu.au<http://www.tps.vic.edu.au>
[cid:_com_android_email_attachmentprovider_1_1599_RAW at sec.galaxytab]

[cid:_com_android_email_attachmentprovider_1_1600_RAW at sec.galaxytab]<http://www.facebook.com/pages/The-Peninsula-School/118935504829400?ref=hl> [cid:_com_android_email_attachmentprovider_1_1601_RAW at sec.galaxytab] <http://https://twitter.com/TPSMtEliza>  [cid:_com_android_email_attachmentprovider_1_1602_RAW at sec.galaxytab] <http://www.youtube.com/user/ThePeninsulaSchool>



Please consider the environment before printing this email, you will save 5g of paper, 250mL of water and at least 35gm of CO2

This message, including any attachments, is provided without responsibility in law for its accuracy or otherwise and without assumption of a duty of care by the school. Whilst every attempt has been made to ensure material in this e-mail message is free from computer viruses or other defects, the attached files are provided, and may only be used, on the basis that the user assumes responsibility for the use of the material transmitted. This e-mail is intended for the use of the named individual or entity and may contain confidential and privileged information. Any dissemination, distribution or copying by anyone other than the intended recipient of this e-mail is strictly prohibited. If this e-mail has been received in error then please notify The Peninsula School immediately and destroy the original message.











________________________________
Message protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au

Report this message as spam<https://login.mailguard.com.au/report/1JN3WkINQF/WmFTiRBq5qYEePT1Kp1TH/0.003>

-- 
This e-mail is intended for the use of the named individual or entity and may contain confidential and privileged information. Any dissemination, distribution or copying by anyone other than the intended recipient of this e-mail is strictly prohibited. If this e-mail has been received in error, then please notify Christian College or the author of this email immediately and destroy the original message. We have made every attempt to ensure this e-mail message is free from computer viruses however the attached files are provided on the basis that the user assumes all responsibility for use of the material transmitted. Views, opinions, etc. expressed reflect those of the author and not Christian College nor its associated companies and campuses which includes Eden Quality Services Pty Ltd.

Message  protected by MailGuard: e-mail anti-virus, anti-spam and content filtering.
http://www.mailguard.com.au


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20140615/98696830/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pos-ed85903b
Type: application/octet-stream
Size: 9796 bytes
Desc: pos-ed85903b
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20140615/98696830/pos-ed85903b-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook1b3b05f
Type: application/octet-stream
Size: 2566 bytes
Desc: facebook1b3b05f
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20140615/98696830/facebook1b3b05f-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter1fc1ac9
Type: application/octet-stream
Size: 2578 bytes
Desc: twitter1fc1ac9
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20140615/98696830/twitter1fc1ac9-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: youtube1ce57b6
Type: application/octet-stream
Size: 2695 bytes
Desc: youtube1ce57b6
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20140615/98696830/youtube1ce57b6-0001.obj 


More information about the sofdev mailing list