Capgemini Interview Question

Few technical questions