Cognizant interview question

MVC concepts, OOPS, JavaScript and SQL Query