Question
When performing a recursion, how do you describe the act of a function calling itself?(1 point)
Responses
base case
base case
recursive case
recursive case
backward phase
backward phase
forward phase
Responses
base case
base case
recursive case
recursive case
backward phase
backward phase
forward phase
Answers
GPT-4o mini
The correct response is **recursive case**. This refers to the situation when a function calls itself in order to divide the problem into smaller subproblems. The **base case** is a condition under which the recursive function stops calling itself.