Section 21.11 Vocabulary
- iterative:
- A function or algorithm that repeats steps by using one or more loops.
- recursive:
- A function or algorithm that invokes itself one or more times with different arguments.
- base case:
- A condition that causes a recursive function to return without making another recursive call.
- general (recursive) case:
- A condition that causes a recursive function to make another recursive call.
- factorial:
- The product of all the integers up to and including a given integer.
- stack overflow:
- A condition that occurs when there is no more space in the call stack, often due to excessive recursion.
- segmentation fault:
- When a program attempts to access a memory location that itβs not allowed to access.
- functional programming:
- A programming paradigm that treats computation as the evaluation of mathematical functions and avoids mutable (changeable) data.
You have attempted of activities on this page.