GATE | GATE CS 2008 | Question 79
The value of X5 is
Since, X(n) = X(n – 1) + X(n – 2)
X5 = X4 + X3
X4 = X3 + X2 = 5 + 3 = 8
Therefore, X5 = 8 + 5 = 13
Thus, only option (C) is close to the answer.
Please comment below if you find anything wrong in the above post.
Attention reader! Don’t stop learning now. Practice GATE exam well before the actual exam with the subject-wise and overall quizzes available in GATE Test Series Course.
Learn all GATE CS concepts with Free Live Classes on our youtube channel.