Hearst interview question

Find the errors in this code snippet (there are a least 5).