Checkpoint 5.18.1.
- base case
- branch of the conditional statement in a recursive function that does not give rise to further recursive calls.
- recursion
- The process of calling the function that is already executing.
- recursive call
- The statement that calls an already executing function.
- recursive definition
- A definition which defines something in terms of itself.
- stack frame
- A stack that contains a group of data.
- tuple
- Data type that contains a sequence of elements of any type, like alist, but is immutable.
- tuple assignment
- An assignment to all of the elements in a tuple using a single assignment statement.
- data structure
- An organization of data for the purpose of making it easier to use.
- dynamic programming
- To solve complex problems by breaking them up, solving the smaller portions, and storing the results to avoid re-calculating them.
- exception
- An error that occurs at runtime.
- handle an exception
- To prevent an exception from terminating a program by wrapping the block of code in a try / except construct.
- immutable data type
- A data type which cannot be modified.
- infinite recursion
- Function that calls itself recursively without ever reaching the base case, and will cause a runtime error.
- mutable data type
- A data type which can be modified.
- raise
- To cause an exception by using the raise statement.
Drag the word on the left to its corresponding definition
incorrect