Test 2 Flashcards

1
Q

Number of times a recursive function is called

A

Depth of recursion

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

The breaking point in a recursive function

A

Base case

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

Functions that call themselves directly are

A

Directly recursive

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

A function that calls a other function that calls the original function is

A

Indirectly recursive

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

A recursive function is

A

A function that calls itself

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