At the end of the schoolyear in Chamber of Secrets Dumbledore cancelled all the exams as a school treat and in celebration of the successful recovery of the petrified students and whatnot. Stupid question probably, but this presumably didn't include OWL or NEWT exams, did it? Else when woudl have the students that were due to graduate that year taken their qualifications?