So I thought I would give ChatGPT last year's exam question 0 from my programming course (yes the questions are numbered from zero :) ) The students are given code littered with errors, both logical and syntactical.