Programming exercises （a student's grades management program）