Infosys Interview Question

They asked me to write a basic program on Notepad, like the Fibonacci series and checking a number is a prime number or not.