The teacher was a moron, and this kid is a mewling lil' girlieman.
That class is really going to help him make change, read, or otherwise be productive. So his disruption of the class was a tragic loss to Education, and no doubt robbed his classmates of a critical educational experience.
I'm with you - the teacher is a moron. The kid seems to be a simp that may have found a way to get out of a bad grade for lack of preparation for the test. I would have had fun with it if one of my teahcers had reacted similarly.