Computer Science : Recursion

Study concepts, example questions & explanations for Computer Science

varsity tutors app store varsity tutors android store

Example Questions

2 Next →

Example Question #10 : Recursion

The Fibonacci sequence is a classic example of: _________

Choose the best answer.

Possible Answers:

Recursion

None of the above

Selection

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. 

2 Next →
Learning Tools by Varsity Tutors