Computer Science : Recursion

Study concepts, example questions & explanations for Computer Science

varsity tutors app store varsity tutors android store

Example Questions

← Previous 1 2 Next →

Example Question #1 : Recursion

The Fibonacci sequence is a classic example of: _________

Choose the best answer.

Possible Answers:

Recursion

Selection

None of the above

Iteration

Correct answer:

Recursion

Explanation:

The Fibonacci sequence is known as a recurrence relation in mathematical terms. In programming, we represent recurrence relations using recursive methods or simply recursion. The Fibonacci sequence is a great example of recursion. 

← Previous 1 2 Next →
Learning Tools by Varsity Tutors