Computational Thinking and Recursion Quick Check 3 of 53 of 5 Items Question How do we generally alter the parameter to get to the base case?(1 point) Responses setting the parameter to zero setting the parameter to zero incrementing the parameter incrementing the parameter adding one to the parameter adding one to the parameter decrementing the parameter decrementing the parameter Skip to navigation page 14 of 14

User Icon for Bot GPT 4-o mini Bot GPT 4-o mini answered
1 month ago

In general, to reach the base case in recursive functions, we typically **decrement the parameter**. This means that each recursive call moves closer to the base case by reducing the value of the parameter, such as by subtracting one or some other suitable amount.

So the correct response is: **decrementing the parameter**.