Skip to main content
How to auto-grade your quizzes

Guide to grading quizzes: Add a variable field, set logic for different grades, and use answer piping to show grades on the success page.

Updated over a month ago

Graded quizzes evaluate responses and assign scores based on correctness.

When you create a quiz and you calculate the total score for each student, you can also use logic to grade your quiz.

Follow this step-by-step guide to grade your quiz;

1- Add a variable field at the end of your questions

The Variable field allows the storage of calculated data, enabling efficient organization and analysis of user input.

Add a variable field at the end of your questions

It's important to assign an ID to this field.

2- Set logic to determine different grades

Open the advanced logic and scroll down to the end of the logic page.

Now, on the "Submitting the form" section, determine grades based on the scores.

For example, your score is out of 100 and you want to grade scores in 12 grades:

A+ (score > 95 and equal to 95), A ( 90<score<95 and equal to 90), A- ( 85<score<90 and equal to 85)

B+( 80<score<85 and equal to 80), B ( 75<score<80 and equal to 75), B- ( 70<score<65 and equal to 70)

etc.

Set logic to determine different grades

Use this logic for each score like this:

If the total score is greater than or equal to 95

then Add A+ to Grade

If the total score is greater than or equal to 90

And

If the total score is less than 95

then Add A to Grade

If the total score is greater than or equal to 85

And

If the total score is less than 90

then Add A- to Grade

And continue this logic for other grades.

Add the last logic for the failed grade:

Add the last logic for the failed grade

At the end of the logic section, click on the otherwise:

Otherwise, +Add Failed to Grade.

3- Use answer piping to show the grade on the success page

With answer piping, you can pipe the grade into the success pages.

Use answer piping to show the grade on the success page

In the form editor, add @grade to your success message and let the users see their grades after submission.

Also, you can see these grades on the result page:

result page

Did this answer your question?