GE interview question

What are errors in this code?