Infosys interview question

Basic computer science questions only.