Ages 16–18 · A Level · Foundation
Base domain
Apply recursion to justify a solution to the base domain task.
Understand the idea
Recursive algorithms require smaller subproblems and well-defined stopping cases.
Your challenge
Factorial recursion has base n=0 and decrements n. What input needs rejection or extra handling?
- Negative integer
- Positive integer
- Zero
How to explore
- Identify the inputs, goal or constraint in this recursion situation.
- Work through the stated rule or operation without adding assumptions.
- Check your proposed response against every relevant detail in the question.
Open the activity to work with its controls and check your reasoning. Progress stays in this browser.
Keep exploring
DON’T LET THE QUESTION END HEREGive that curiosity
Open the learning space