Capgemini interview question

Basic coding and Architecture Questions