Siemens Interview Question

Write positive and negative test case for given scenario.