What is the difference between 课 and 班级?
班级 is a group of students who started school in the same year and participate in classes together, it's the students themselves. 

课 is a unit of the curriculum, that is held by a teacher, professor and is attended by the students.