Multiple Choice
Which of the following statements is NOT true about infinite recursion?
A) In theory, infinite recursion executes forever.
B) In reality, infinite recursion will lead to a computer running out of memory and abnormal termination of the program.
C) Methods that are indirectly recursive always lead to infinite recursion.
D) If recursive calls never lead to a base case, infinite recursion occurs.
Correct Answer:

Verified
Correct Answer:
Verified
Q19: Every recursive definition can have zero or
Q20: Using a recursive algorithm to solve the
Q21: A recursive method in which the first
Q22: In the recursive algorithm for the nth
Q23: Every recursive call has its own code.
Q25: In reality, if you execute an infinite
Q26: The following is an example of a
Q27: If you are building a mission control
Q28: The body of a recursive method contains
Q29: Consider the following definition of a recursive