GATE XE (Engineering Sciences) 2023 - Question 7

All GATE XE (Engineering Sciences) papers | GATE XE (Engineering Sciences) 2023

Section: General Aptitude | Marks: 2

Ankita has to climb 5 stairs starting at the ground, while respecting the following rules: 1. At any stage, Ankita can move either one or two stairs up. 2. At any stage, Ankita cannot move to a lower step. Let 𝐹(𝑁) denote the number of possible ways in which Ankita can reach the 𝑁𝑡ℎ stair. For example, 𝐹(1) = 1, 𝐹(2) = 2, 𝐹(3) = 3. The value of 𝐹(5) is _______.

  • A. 8
  • B. 7
  • C. 6
  • D. 5

Answer: A. 8

| | All questions of GATE XE (Engineering Sciences) 2023