Wipro interview question

Fibonacci series snippet,dbms query,oops concepts