Infosys interview question

Application based Mostly, with some code and all