I think that is the point - coursework was cut and paste of badly written code from t'internet. So, as they can't prove the students work is original, they are resorting to a closed exam at the end of the course.
Computer Science has always been a weird subject to teach in schools - when I was in school (1980s) we all knew more about it than the teachers. The course was a complete farce as we had to demonstrate we knew how to write a For Next loop (when I say write I literally mean it - on paper with a pen) and the rest of the course was identifying a Mouse, a Keyboard etc as input devices and a Monitor and printer as output devices.
Looking at what my kids are taught today it isn't much further forward and as ever, the kids know more than the teachers.