The student, Sham Moinuddin, was rushed to hospital where he was given four stitches, the sources said.
He was taken back to the examination centre and would be given extra time to complete his answer script, they said.
The police visited the school to inquire how the incident occurred.