This function takes a data frame containing student submissions and a data frame containing the answers and evaluates/grades. The specific grading depends on the type of question.

grade_quiz(submission, solution)

Arguments

submission

The data frame containing the student submission

solution

The data frame containing the solution is to be created

Value

If things went well, a data frame containing "Correct" or "Not correct" for each question. Otherwise an error message is returned.