Based on the given scenario above, I can say that what the teacher has done was not an example of punishment because despite the teacher's reprimand, Johnny still throws his toys. In fact, he just threw his toys four times after he was reprimanded. Hope this answer helps.