
Chapter 13A: Prelab Assignment
Recursion | 313
Name __________________________________________ Date _______________________
Section _________________________________________
Exercise 1: Fill in the following chart showing the value of the variable n at the beginning of
each execution of function Factorial, starting with the nonrecursive call Factorial(5). Fill in
the third column with the function value returned at the completion of the execution of that call.
Call n Function Value Returned
Nonrecursive Call ___________ ____________________
1st Recursive Call ___________ ____________________
2nd Recursive Call ___________ ____________________
3rd Re