Which of the following statements about recursion is false?
A. It is a looping process.
B. It requires a base case to terminate the recursion.
C. Its solution is generally shorter than a non-recursive solution.
D. It is more efficient than iterative solutions.
E. It is not available in all languages.
Answer: D
You might also like to view...
A file ____________________ is a set of characters that indicates the file type.
Fill in the blank(s) with the appropriate word(s).
You create a ____ statement using the if keyword, which tests a condition.
A. assignment B. comparison C. conditional D. formula
A program or software that uses and manipulates the objects of a class is called a(n) ____________________ of that class.
Fill in the blank(s) with the appropriate word(s).
The keyword that specifies the criteria that records must match to be included in the results.
What will be an ideal response?