MCQs
Suppose the first fibonnaci number is 0 and the second is 1. What
is the sixth fibonnaci number?
a) 5
b) 6
c) 7
d) 8
Which of the following option is wrong?
a) Fibonacci number can be calculated by using Dynamic programming
b) Fibonacci number can be calculated by using Recursion method
c) Fibonacci number can be calculated by using Iteration method
d) No method is defined to calculate Fibonacci number
Explanation:Fibonacci number can be calculated by using Dynamic Programming, Recursion method, Iteration Method.
A sequence of numbers in which each term is obtained by multiplying or dividing the preceding term by a fixed term number is called…………sequence.
a) Harmonic
b) geometric
c) arithmetic
What is the 7th term of the sequence having
an = 3n + 5
a) 21
b) 26
c) 31
d) 8
Solution:put n=7 in an = 3n + 5
a7 = 3(7) + 5 = 21+5 =26