Multiple Choice
Look at the following pseudocode algorithm: Algorithm Test3(int a, int b)
If (a < b)
Return 5
Else if ( a == b)
Return -5;
Else
Return (a + Test3(a - 1, b)
End Test3
What is the recursive case for the algorithm?
A) a < b
B) a == b
C) a > b
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Q10: Any problem that can be solved recursively
Q11: Recursive algorithms are usually less efficient than:<br>A)
Q12: Like _, a recursive method must have
Q13: This term is used for methods that
Q14: Look at the following pseudocode algorithm: Algorithm
Q16: Look at the following pseudocode algorithm: algorithm
Q17: The depth of recursion is:<br>A) the number
Q18: Look at the following method: public static
Q19: Look at the following pseudocode algorithm: algorithm
Q20: Unlike a loop, a recursive method does