Free November promotion: everything is free until 30 November 2026 — every subject, unlimited practice.
Subjects / LC Computer Science / Strand 2: Core concepts

Recursion

Functions that call themselves, base cases and tracing recursive calls.

In review 6th Year Higher
Helps to know first: Functions and modular code
15practice questions

Multiple choice: 7 · Select all that apply: 1 · Numeric answer: 4 · Short answer: 2 · Written answer (self/teacher assessed): 1

Each question has up to three hints, a worked explanation, and is tracked in your progress and review plan.

Practise this topic

Try a question

Short answer
What is the name for the condition in a recursive function that returns a result directly, without making another recursive call?
Hint 1

Without it, the function would keep calling itself until Python stops it with an error.

Create a free account to save your progress.