The number in parentheses at the end of an exercise refers to the learning objective listed at the beginning of the chapter.
Mark the following statements as true or false.
a. A recursive solution of a problem reduces the problem into smaller versions of itself. (1)
b. Every recursive definition must have one or more base cases. (2)
c. The general case stops the recursion. (2, 3)
d. In the general case, the solution to the problem is obtained directly. (2, 3)
e. It is not necessary for a recursive function to have a base case because the general case provides the solution. (2, 4)
f. A recursive function always returns a value. (4)
g. Every call to a recursive function has its own code and its own set of parameters and local variables. (4)
h. A function that calls itself is called directly recursive. (5)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.