IBM interview question

Questions asked were from the final year project