method to qualify student by subject done