Siemens Interview Question

A few case questions