Recursion
1. What is recursion in computer programming?
2. Which of the following is essential for a recursive function to work correctly?
3. What will happen if a recursive function does not have a base case?
4. Which of the following problems is best solved using recursion?
5. What is the base case in the recursive computation of factorial(n)?
6. Which of the following best describes the call stack in recursion?
7. Which of the following is a disadvantage of recursion?
8. Which of the following is an example of a divide-and-conquer algorithm that uses recursion?
9. What is tail recursion?
10. Which of the following problems can be solved using recursion?