There are several common fixes for sound issues on a Macintosh in a classroom setting:
If connected via HDMI or MiniDisplayPort cable, be sure that the proper sound output is selected: