When I was in university, I had a math teacher that brought extra chalk to class everyday because if he saw you on your phone, he'd snap a piece off and throw it at you pretty damn hard. Maybe that wouldn't exactly work in a high school but damn if Dr Murphy didn't have me paying attention in that class.
That being called "literal violence" is one thing, but now a teacher telling a student "you should be ashamed with yourself" is also called "literal violence."