Skip to content
Related Articles

Related Articles

Improve Article

GATE | GATE CS 2008 | Question 79

  • Last Updated : 28 Jun, 2021

The value of X5 is
(A) 5
(B) 7
(C) 8
(D) 16

Answer: (C)
Explanation:

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.

Quiz of this Question

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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :