Lesson 1~42 min6 exercisesContinue here
Theory and practice
Base cases, how recursion runs and recursive algorithms.
Python · Topic 17 of 20
This topic builds on:
In the recommended order, “Modular programs” comes before this topic. Modular programs
Work through them in order – each builds on the one before.
Lesson 1~42 min6 exercisesContinue here
Base cases, how recursion runs and recursive algorithms.
Lesson 2~48 min4 exercises
Recursive functions without loops: sums, digits, the maximum and generating all words.
The goal of this topic
Once the lessons are behind you, prove you really know the topic. Three levels – easy, hard and expert.
Mastery test
Questions about programs from the topic Recursion: what they print, what they return and why. You type the answer - no options to pick from.
Three levels. Only 100% unlocks each one.
0 of 3 levels mastered
Basic understanding
20 questions · 100% to master
Advanced understanding
20 questions · 100% to master
Score 100% on Easy Mastery to unlock this level.
Deep understanding
20 questions · 100% to master
Score 100% on Hard Mastery to unlock this level.
The concepts of this topic. Each is practised by the tasks that need it - in other topics and in exam preparation too.