CSC 216 F09/Sorting: Difference between revisions
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.. | ||
=== | ===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=== | ===The script=== | ||
Describe how to do your exercise. | Describe how to do your exercise. |
Revision as of 21:28, 17 November 2009
Sorting
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.