Is that a trick question?
Grades reflect the concept of knowledge and learned skills. A 'teaching/learning' institute must have some method of gaging just how much a student has learned or IF the student has learned anything at all, to know they have gained the knowledge offered to them, and to prove that they are ready to move forward ...whether that means to a higher grade or even out into the 'real' world.