Infosys interview question

Just basic questions on core concepts.