Military reserve and national guard personnel who are students attending a state institution of higher education shall receive excused absences for classes missed for documented mandatory military service in the same manner as the institution would excuse attendance from a class for an official school function or other unavoidable event.