Continuity mistake: When Cory is getting food for Shawn, he's piling meat loaf onto his plate. There are three pieces, one on top of the other two, then they cut to a wide shot and back to a close up of Cory, and it's just one larger piece.
Continuity mistake: When Alan is talking to Cory in his room, telling him that he can always come home, he is pointing his finger at him. He has his right arm rested on his legs and is pointing with the left arm. Just before the shot changes to face Cory, Alan stops pointing. In the next shot, facing Cory, Alan has his left arm resting, and is pointing with his right arm.
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.