Cognizant Interview Question

questions from os oops and sql queries and 3 apti ques