Overview
The problems in previous chapters have been solved using an iterative technique.
Chapter 15 introduces another technique for problem solving called recursion. In some
cases, recursion provides a less complicated solution than iteration. Students will learn
about the base case and general case of a recursive definition and explore how to
implement recursive functions.
Objectives
In this chapter, the student will:
• Learn about recursive definitions
• Explore the base case and the general case of a recursive definition
• Discover what a recursive algorithm is
• Learn about recursive functions
• Become familiar with direct and indirect recursion
• Explore how to use recursive functions to implement recursive algorithms
• Become aware of recursion vs. iteration
Teaching Tips
Recursive Definitions
1. Define recursion as a process of solving a problem by reducing it to smaller versions of
itself.
Recursion is a conceptually difficult topic. Ask your students if they have had
experience with recursive techniques in other classes. If there are students who
are new to this topic, plan to spend some additional time working through
examples in class. Encourage students to speak up if they have any questions.