A possible exercise (still a bit vague): print an algorithm with, say, 100 steps, one step per page. Pass the pages out to students in random order and without numerical sequencing. Have them think about how to execute the algorithm so as to obtain the desired result.

The cost of executing an algorithm is its complexity, usually time or space.

[TOC]

CS1104 Main Page
Last Updated 01/05/2000
© L.Heath, 2000