Domanda di colloquio di Cognizant

What is a database? Write a program for prime numbers.