Question d’entretien chez Cognizant

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