Infosys interview question

Basic questions from projects and fundamentals of computer programming