Siemens Interview Question

Everything was expected an inline.Though one question on TRY CATCH exceptions was a tad difficult.