Siemens interview question

all of the basic questions