When we add a task for a period, all the students from that period are assigned the task. When we add  new student for a period, the student is assigned all the tasks from the period. Now we can give points for a student for a task and see the total achieved and required points for a student for a period.