In a recursive solution to a problem, we solve a problem P(n) by solving another problem P(k) where

a. P(k) is the hardest part of P(n)
b. P(k) is a larger problem than P(n)
c. P(k) is smaller than P(n)
d. P(k) is the same problem as P(n) apart from size.


c), d)
Explanation: Recursion involves doing part of the task, P(n), leaving a smaller version of the same problem, P(k). There must be a stopping case, though this isn’t mentioned in this problem.

Computer Science & Information Technology

You might also like to view...

Select a recommendation for mobile web design from the choices listed below.

a. Use a single column page layout b. Use large images c. Use pt units for font sizes d. None of the above are best practices for mobile web design.

Computer Science & Information Technology

Trimming a video can reduce the length of a video

Indicate whether the statement is true or false

Computer Science & Information Technology

A customer with an older computer that has not had any hardware upgrades wants to install a newer, faster optical drive. What would you advise?

A) The customer should purchase the fastest drive that uses minimal hard drive caching. B) The newer, the faster, the better. C) An external drive is always better for older machines. D) A faster drive may not help because the system resources may limit its performance. E) None of these are advice you should give.

Computer Science & Information Technology

A strictly black-and-white image has greater storage requirements than an image represented using a gray scale.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology