Welcome to the Apple Community.
Yes it works with the Apple TV, however you would need to ensure your projector works with HDMI and 720p. Additionally being in a classroom environment you would be best checking with your IT people to make sure that the network doesn't have any restrictions that might stop AirPlay working. i.e. the Apple TV doesn't work with enterprise networks.