If you want to take an exam then you should attend class the day exams are scheduled.