Attendance of same students for two distinct components of their course