Exam 20: Recursion

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The programmer must ensure that a recursive function does not become

(Multiple Choice)
4.9/5
(29)

Select all that apply. Which of the following problems can be solved using recursion?

(Multiple Choice)
4.9/5
(34)

A problem can be solved with recursion if it can be broken down into successive smaller problems that are the same as the overall problem.

(True/False)
4.8/5
(32)

To solve a problem recursively, you must identify at least one case in which the problem can be solved without recursion.

(True/False)
4.9/5
(34)

When a recursive function directly calls itself, this is known as direct recursion.

(True/False)
4.9/5
(38)

The __________ of recursion is the number of times a recursive function calls itself.

(Multiple Choice)
4.7/5
(27)

When function A calls function B which, in turn, calls function A, this is known as

(Multiple Choice)
4.8/5
(22)
Showing 21 - 27 of 27
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)