Fair Grading Algorithms for Randomized Exams