Exam 18: Recursion

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

The operands of an operator are evaluated ________.

Free
(Multiple Choice)
4.7/5
(39)
Correct Answer:
Verified

B

After a fractal's pattern is applied several times, the shape of the fractal will generally become ________.

Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
Verified

B

Recursion is often less efficient than iteration because ________.

Free
(Multiple Choice)
4.7/5
(32)
Correct Answer:
Verified

A

A recursive method .

(Multiple Choice)
4.8/5
(39)

Each time a fractal's pattern is applied to it, the fractal is said to be at a new ________.

(Multiple Choice)
4.9/5
(34)

When a recursive method is called to solve a problem, the method actually is capable of solving only the simplest case(s), or_______ .

(Multiple Choice)
4.9/5
(36)

The recursion step should:

(Multiple Choice)
4.8/5
(41)

When the recursion step executes:

(Multiple Choice)
4.8/5
(34)

Fractals that yield an exact copy of the original when a portion of the original image is magnified are called___________________ fractals.

(Multiple Choice)
4.8/5
(47)

The current method executing is always the method whose activation record is ________.

(Multiple Choice)
4.8/5
(37)

In recursive backtracking, if one set of recursive calls does not result in a solution to the problem, what happens?

(Multiple Choice)
4.9/5
(29)

The number of calls to recursively calculate the Fibonacci value of 7 is:

(Multiple Choice)
4.9/5
(29)

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

(Multiple Choice)
4.9/5
(36)

Which of the following is false?

(Multiple Choice)
4.7/5
(37)

Recursion often is preferable to iteration because ________.

(Multiple Choice)
4.9/5
(32)
close modal

Filters

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