(0 Likes)

- The following 3 activities demonstrate the utility of recursion while keeping students interested:
- Ask students to examine simple fractals, such as the Sierpinski triangle, then write a program to create their own fractal.
- Some fractals introductory students can draw are the fractal t-square and the Hilbert curve.
- Assign implementing a recursive flood fill algorithm to change the color of a region.
- This is familiar to most students as the “paint bucket” tool in many programs.
- Have students implement a recursive algorithm to find a path through a maze.

External Source:

Other Tips By:

View the discussion thread.