Recursion Quiz
Check what you learned in the Recursion lesson. Every question explains the answer, so even a wrong answer teaches you something.
- 12 questions, picked from a pool of 48
- About 9 minutes
- Instant feedback
What this quiz covers
- A first example: countdown (opens in a new tab)
- Factorial (opens in a new tab)
- Seeing the calls (opens in a new tab)
- Recursion on strings and lists (opens in a new tab)
- Nested data (opens in a new tab)
- Forgetting the base case (opens in a new tab)
- Fibonacci and the cost of repeated work (opens in a new tab)
- Recursion or a loop? (opens in a new tab)
Output