Xero interview question

mutiple choices and coding test