Tenth graders meet recursion — a function that solves a problem by calling itself on a smaller version, until it reaches a base case that stops it. Think Russian nesting dolls, or factorial. They test the idea, then trace and write a recursive function.
Students will be able to…
How can a function solve a problem by calling itself?
Project each item and have students answer about recursion.
Tap any phase to open the teacher moves and student actions.
How do you open a stack of nesting dolls?
Students use the idea.
Students modify.
Students create.
Students close.
Aligned to the CSTA K-12 Computer Science Standards and the ISTE Standards for Students.
Iteratively develop programs using control structures.
Decompose problems into smaller same-shaped parts.
Use procedures to reduce complexity.
Decompose problems recursively.
Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students.
Have students describe a recursive function and its base case. A printable recursion worksheet is in the Computer Science library.
Tap a card to flip it, then rate whether you knew it. Built from this lesson’s vocabulary.
A quick self-check with instant feedback, drawn from this lesson’s key terms.
A print-and-go review sheet with a built-in answer key. Tap “Show answer key” to reveal answers, or print the clean version for students.