The recursion step should:

a. check for the base case.
b. call a fresh copy of the recursive method to work on a smaller problem.
c. make two calls to the recursive method.
d. iterate until it reaches a termination condition.

B

Computer Science & Information Technology

You might also like to view...

Most of the lines in the program discussed in this chapter have the same basic structure: ____.

A. message.object; add detail(value) B. object.add detail (message, value) C. message(object).add detail(value) D. object.message(value); add detail

Computer Science & Information Technology

How many checkpoints can be created for a single VM?

A. 16 B. 30 C. 50 D. 64

Computer Science & Information Technology