Cognizant interview question

questions from os oops and sql queries and 3 apti ques