grading is based in part on class attendance or participation, the student should be allowed to earn the credits