To mark assignment or exam as completed and enter your grade tap a square checkbox left it's name when on iOS.

On Mac - check a checkbox left to assignment's name to mark it as completed.
To complete your exam, go to the Planner > Semester > Course > Schedule > open exam entry to edit the details > check a checkbox left to exam's name to mark it as completed.