Computer Science Paper 2 > Recursion > Flashcards
What is recursion?
Recursion is where a procedure or function calls itself. It is another way of producing iteration.
When does a stack overflow error is produced
when a terminating condition is not built in or not met before you run out of memory.