Multiple Choice
Which of the following is a precondition for a method that accepts a number n and computes the nth Fibonacci number?
A) n is a negative integer
B) n is a positive integer
C) n is greater than 1
D) n is an even integer
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: The midpoint of a sorted array can
Q5: What is the base case for the
Q6: When is the base case value ==
Q7: What is a pivot item?
Q8: An iterative method always calls itself.
Q10: A recursive solution can have more than
Q11: A recursive binary search algorithm always reduces
Q12: The factorial of n is equal to
Q13: Which of the following is a base
Q14: Suppose a program contains a recursive method