Skip to content

Recursion

Introduced
Handout Watch lesson
Vocabulary
English Meaning
recursive/rɪˈkɜːsɪv/Defined in terms of earlier values or smaller instances of the same process.
base case/beɪs keɪs/A version of the problem small enough to answer directly, with no further call.
recursive case/rɪˈkɜːsɪv keɪs/The part of a recursive definition or algorithm that reduces a problem by invoking the same process on a smaller or simpler case.
call stack/kɔːl stæk/A stack that records active function calls and their return information.
stack frame/stæk freɪm/An area of a call stack holding information for one routine invocation, such as parameters, local variables and return information.
stack overflow/stæk ˌəʊvəˈfləʊ/A condition in which a program needs more call-stack space than is available, often because of excessive recursion.
memoisation/ˌmeməʊaɪˈzeɪʃn/Saving the results of function calls so repeated calls with the same inputs can reuse an earlier result.

Handout

Log in or create account

IGCSE, A-Level & AP