Answear sheet - Recursion Test
- Question 1: A case that returns a value directly without making other recursive calls(1p)
- Question 2: 6 (1p)
- Question 3: Finding the greatest common divisor of two numbers (1p)
- Question 4: A recursive process that never stops(1p)
- Question 5: The function will enter an infinite loop (1p)
- Question 6: 3(1p)
- Question 7: Display the numbers from n to 0 and then "Done" (1p)
- Question 8: Recursion can replace loops in some problems (1p)
- Question 9: 15 (1p)