Here's why:
* "Her" is the indirect object. It tells us who is receiving the direct object, which is the "high grade".
* The verb "gave" is a verb that can take both a direct and indirect object.
* The direct object "high grade" is the thing being given.
Let me know if you'd like to see more examples!