3: Chapter 12 Flashcards

1
Q

Iteration (iterative)

A

A programming technique in which you describe actions to be repeated using a loop.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Recursion (recursive)

A

A programming technique in which you describe actions to be repeated using a method that calls itself.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Call stack

A

The internal structure that keeps track of the sequence of methods that have been called.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly