Siemens interview question

Basic questions. All were easy