3: Chapter 12 Flashcards
1
Q
Iteration (iterative)
A
A programming technique in which you describe actions to be repeated using a loop.
2
Q
Recursion (recursive)
A
A programming technique in which you describe actions to be repeated using a method that calls itself.
3
Q
Base case
A
A case within a recursive solution that is so simple that it can be solved directly without a recursive call.
4
Q
Recursive case
A
A case within a recursive solution that involves reducing the overall problem to a simpler problem of the same kind that can be solved by a recursive call.
5
Q
Call stack
A
The internal structure that keeps track of the sequence of methods that have been called.