Other mistake: When Cory throws the CD out of his bedroom window, if you listen closely, you can hear the CD land in a soft terrain. However, the next day at school, Mr. Feeny pulls the CD out of his suit pocket and says that it sailed through his living room window and landed on his walnut credenza. If the CD managed to make all the way into Feeny's house, then the sound of it landing would not be audible.
Other mistake: When Eric and the other security guard discover Mr. Feeny entering the school, Feeny expresses that Eric snuck up on him. Eric was five feet away from Feeny when he first saw him, and was also talking loudly when making his approach towards him. There's no way Feeny couldn't have heard him.
Chosen answer: In the present day, with the United States abiding by more stricter school health laws, for the most part this wouldn't be in school cafeterias as many cannot even have carbonated beverage machines now. However, in the 90s when the show takes place, it wasn't unheard of for there to be coffee machines in the cafeteria of small schools where the teachers eat with the students as we see them do often in the show. The idea being that the cafeteria was small enough so a teacher or hall monitor could catch a student before they could drink the coffee.