This depends on resources and the size of your classroom. If your class is only small, you may find it more cost-effective to purchase the single licenses for each student, and if you have a larger classroom, it may be more cost-effective to purchase the site license.
The site license also has the added benefit that students can be added and taken away if the classroom changes.