Correct Answer
verified
Short Answer
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) n = 0
B) n = 1
C) n > 0
D) The factorial of a number cannot be solved with recursion.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) never required to solve a problem
B) required to solve certain mathematical problems
C) sometimes required to solve string problems
D) required to solve some problems
Correct Answer
verified
Multiple Choice
A) the length of the algorithm
B) the number of function calls
C) the number of times the function calls itself
D) the number of times the function goes to the base case
Correct Answer
verified
True/False
Correct Answer
verified
Short Answer
Correct Answer
verified
Short Answer
Correct Answer
verified
True/False
Correct Answer
verified
Short Answer
Correct Answer
verified
Multiple Choice
A) Identify at least one case in which the problem can be solved without recursion.
B) Determine a way to solve the problem in all circumstances using recursion.
C) Identify a way to stop the recursion.
D) Determine a way to return to the main function.
Correct Answer
verified
Multiple Choice
A) loops
B) decisions
C) objects
D) recursion
Correct Answer
verified
Multiple Choice
A) a case in which the problem can be solved without recursion
B) the case in which the problem is solved through recursion
C) the way to stop the recursion
D) the way to return to the main function
Correct Answer
verified
Showing 21 - 35 of 35
Related Exams