CSC 216 F09/Sorting: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 9: Line 9:
Too often, we teach beginning programming students how to sort.  It is better if they discover how to sort on their own.  We should encourage them to try sorting methods with cards and blocks and then have them develop written procedures..
Too often, we teach beginning programming students how to sort.  It is better if they discover how to sort on their own.  We should encourage them to try sorting methods with cards and blocks and then have them develop written procedures..


===Participants and props===
===Props===


How many students will participate? What else do you need (e.g., old tennis ball, Powerpoint slides, software).
This can be accomplished by two blocks cut out with slots: the “ARRAY” block has five slots numbered 0 to  4, and the “HOLD” block has one slot.  They also need five cards with numbers on them. Refer to the Figure 1.


===The script===
===The script===


Describe how to do your exercise.
Describe how to do your exercise.

Revision as of 21:28, 17 November 2009

Sorting

[1]

Background

Give the title of your exercise, which may include the name of the topic you are covering, or some other catchy title.

Discovering A Sorting Procedure

Too often, we teach beginning programming students how to sort. It is better if they discover how to sort on their own. We should encourage them to try sorting methods with cards and blocks and then have them develop written procedures..

Props

This can be accomplished by two blocks cut out with slots: the “ARRAY” block has five slots numbered 0 to 4, and the “HOLD” block has one slot. They also need five cards with numbers on them. Refer to the Figure 1.

The script

Describe how to do your exercise.