[Year 12 SofDev] Selection / quick sort and SNAP

John Pasztor John.Pasztor at galen.vic.edu.au
Fri Jul 29 10:39:30 AEST 2016


Have been playing with SNAP as a great resource for 7- 11 IT programming. Preparing a lesson on selection and quick sorts using SNAP. Has anyone done this?
Regards
______________________________________________

John Pasztor
SIMON Co-ordinator

[cid:1F6C19F2-C202-4461-99F7-78C83202D0BC at gateway]




Ph: (03)5721 6322  Fax: (03)5721 6466 Mob: 0400 593835
Address: P.O. Box 630, Wangaratta Vic 3676
Email: john.pasztor at galen.vic.edu.au<mailto:john.pasztor at galen.vic.edu.au>



On Jul 28, 2016, at 5:19 PM, David Dawson <David.Dawson at wesleycollege.net<mailto:David.Dawson at wesleycollege.net>> wrote:


Curiously, while I am not sure what each of my students will do with the sort requirement - other than doing one; I have advised them to study what the programming language actually does.
I was very interested myself to see that Java arrays.sort utilises three different sorts according to how it is used. Selection, quick or merge.
The PHP inbuilt sort merely uses quick sort apparently.
So I would suggest that any student who does not use hand-coded sorts (which are actually redundant unless you are programming your own specialist binary tree or something - and WHO does that? - possibly some google experts) should be able to tell us in their report - to outline WHY the sort they use is good for their data and more efficient and better than a bubble sort which is easy to program.
Dave


____________________________________________________________________________

Sapere Aude - Dare To Be Wise

Wesley College Melbourne is a world class coeducational independent school developing
the whole person through timeless principles of learning:
- to know
- to do
- to live with
- to be
with innovation and wisdom

ABN 38 994 068 473  CRICOS00354G
____________________________________________________________________________

This email is intended only for the use of the individual or entity named above and may
contain information that is confidential and privileged. If you are not the intended recipient,
you are hereby notified that any dissemination,  distribution or copying of this email is
strictly prohibited. If you have received this email in error, please email a reply to
Wesley College and destroy the original message.

From: sofdev-bounces at edulists.com.au<mailto:sofdev-bounces at edulists.com.au> [sofdev-bounces at edulists.com.au<mailto:sofdev-bounces at edulists.com.au>] on behalf of Paragreen, Chris J [paragreen.chris.j at edumail.vic.gov.au<mailto:paragreen.chris.j at edumail.vic.gov.au>]
Sent: 28 July 2016 17:08
To: Year 12 Software Development Teachers' Mailing List
Subject: Re: [Year 12 SofDev] Query about marking SAT 2 criteria 6

“but it is easy to demonstrate that quicksort is usually more efficient than selection sort”

Yes, but if you add an item to the end of a sorted list, a selection sort will be more efficient to re-sort the list than quicksort. So if student’s maintained their data in a sorted state, I’d happily accept them to justify using a selection sort rather than a quicksort on this basis.

Oh, and I’ve encouraged my students to code their own sorting algorithm to give them access to more marks in the other coding criteria of the SAC. Of course, if they want to use the built in sort, they’re welcome to!

Chris

From: sofdev-bounces at edulists.com.au<mailto:sofdev-bounces at edulists.com.au> [mailto:sofdev-bounces at edulists.com.au] On Behalf Of Robert Hallworth
Sent: Thursday, 28 July 2016 3:25 PM
To: Year 12 Software Development Teachers' Mailing List <sofdev at edulists.com.au<mailto:sofdev at edulists.com.au>>
Subject: Re: [Year 12 SofDev] Query about marking SAT 2 criteria 6

This is my spin on this

“Skills in using a programming language ” this to me is a coding criteria so ..

Documentation is the internal documentation
Complex. I have told my students Quicksort

Sorting is a Science in itself and reasons for which sort to use get very complicated but it is easy to demonstrate that quicksort is usually more efficient than selection sort

I think this list pointed out  http://sorting.at/ does a good job of visually comparing sorts.

kind regards

Robert K Hallworth
Director of Learning Technology
Mobile:0431 892 398
Ext 640
<image002.png>


From: sofdev-bounces at edulists.com.au [mailto:sofdev-bounces at edulists.com.au] On Behalf Of Tran, Vi V
Sent: Thursday, 28 July 2016 2:55 PM
To: Year 12 Software Development Teachers' Mailing List <sofdev at edulists.com.au>
Subject: [Year 12 SofDev] Query about marking SAT 2 criteria 6

Hi all,
  I'm not sure if it has been answered on this edulist, but I have a question about marking Criteria 6 where it states "Documents the efficient use of a complex sorting algorithm in the solution".

From my interpretation does this mean that students HAVE to use a sorting algorithm (they can choose from insertion, bubble, selection or quick sort? )

Complex means - they can only choose from selection and quick sort ( and not insertion or bubble sort)?
Document means - they need to explain and justify why they used the particular sorting algorithm? In terms of time complexity and usage of memory space?

I was wondering how others are marking this criteria.

Thank you.

From Vi.
Mullauna College.


Scanned by the Netbox from Netbox Blue
IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.



Scanned by the Netbox from Netbox Blue
 IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.















_______________________________________________
http://www.edulists.com.au - FAQ, Subscribe, Unsubscribe
IT Software Development Mailing List kindly supported by
http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment Authority and
http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html
http://www.vitta.org.au  - VITTA Victorian Information Technology Teachers Association Inc
http://www.swinburne.edu.au/ict/schools - Swinburne University



THIS E-MAIL IS CONFIDENTIAL.If you have received this e-mail in error, please
notify me by return e-mail and delete the document. If you are not the intended
recipient you are hereby notified that any disclosure, copying, distribution or
taking any action in reliance on the contents of this information is strictly
prohibited and may be unlawful. Galen Catholic College is not liable for the
proper and complete transmission of the information contained in this
communication or for any delay in its receipt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20160729/289ce42b/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 11350 bytes
Desc: image001.gif
Url : http://www.edulists.com.au/pipermail/sofdev/attachments/20160729/289ce42b/image001-0001.gif 


More information about the sofdev mailing list