Siemens interview question

Multiple choices and coding questions