Capgemini interview question

Basic programs pattern fibbo prime number oop concepts