All of the following are true for both recursion and iteration except ________.

a. they have a base case.
b. they can cause infinite loops or infinite recursion.
c. they are based on a control statement.
d. both gradually approach termination.

a. they have a base case.

Computer Science & Information Technology

You might also like to view...

The expression following the switch keyword is called a

a) guard condition b) controlling expression c) selection expression d) case expression

Computer Science & Information Technology

Which of the following is a disadvantage of installing a GUI?

A. Ease of use B. Functionality C. Familiarity D. Stability

Computer Science & Information Technology