ABB interview question

All were pretty straight forward