The big difference between this episode and today is what these kids would do. It was harmless back then but, today - they'd probably physically torture the teacher!
Cox, meanwhile, plays his normal role as a nerdy character. He made "Mr. Peepers," a similar type of guy, famous on television from 1952-55. For a man who only lived to be 49, Cox had a long career on television and was a big star and well-liked. In his last years, he was one of the most popular panelists on "Hollywood Squares." His death, of a heart attack and perhaps because of an accident overdose of sedatives, was a shock to millions of people.
It's interesting that in real life, he was anything but the kind of reserved guy he played so often on film. He loved riding motorcycles and hung out a lot with Marlon Brando, who wasn't exactly a nerdy guy, either!