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.


Answer: C

Computer Science & Information Technology

You might also like to view...

Attributes of a class are also known as:

a. Constructors. b. Local variables. c. Data members. d. Classes.

Computer Science & Information Technology

Available on the Move Tool options bar, the _________________________ check box causes Photoshop to display transformation controls on the selection.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

If the primary goal of a firewall is to block unauthorized access, the emphasis needs to be on restricting rather than enabling connectivity

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

Computer Science & Information Technology

The ___________________ command allows hidden fields to be redisplayed.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology