Infosys interview question

Basic question and scenario based questions