Exam 14: Recursion

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

A stack exhibits what behavior?

(Short Answer)
4.8/5
(43)

Not all recursive definitions may be written iteratively.

(True/False)
4.9/5
(34)

In a recursive power function that calculates some base to the exp power, what is the recursive call?

(Short Answer)
4.9/5
(39)

The recursive definition of a Fibonacci Number is Fn) = Fn-1) + Fn-2), where F0)=1 and F1)=1. What would be the recursive function call in a recursive implementation of this?

(Multiple Choice)
4.8/5
(31)

A definition that defines a concept or a formula in terms of the concept or formula is called

(Multiple Choice)
4.7/5
(39)

You may have at most 1 recursive call in a recursive function.

(True/False)
4.9/5
(43)

The recursive definition of a Fibonacci Number is Fn) = Fn-1) + Fn-2), where F0)=1 and F1)=1. What is the value of Fib3)?

(Multiple Choice)
4.8/5
(32)

The operating system uses a stack to control recursion.

(True/False)
4.8/5
(33)
Showing 41 - 48 of 48
close modal

Filters

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