Infosys Interview Question

Questions from college project and some basic technical question