Mark As Completed Discussion

Let's test your knowledge. Click the correct answer from the options.

In recursive functions, what is the purpose of the base case?

Click the option that best answers the question.

  • To determine when the recursion should stop
  • To modify the input for the next recursive call
  • To break down the problem into smaller subproblems
  • To handle any exceptions that occur during recursion