Siemens interview question

API level programming, design focused