Back to Unit

Unit 10: Recursion

AP Computer Science A — Note Packet

0 of 14 blanks filled

Key Terms

Recursion

A programming technique where a method solves a problem by calling _.

Base Case

The condition under which a recursive method _ calling itself and instead returns a direct answer. It's the exit strategy.

Stack Overflow Error

An error that occurs when a recursive method lacks a base case, leading to too many method calls and running out of _.

Recursive Step

The part of a recursive method where it calls itself with a _ version of the problem, making progress towards the base case.

Binary Search

An efficient search algorithm that works on _ data by repeatedly dividing the search space in half.

1 / 5