Graded quizzes evaluate responses and assign scores based on correctness.
Once you have created your quiz and assigned scores, you can grade the quiz automatically based on the responses and display the grades using logic and answer piping.
📝 Additional Insights:
Before setting up auto-grading, you need to create your quiz, assign scores to questions, and calculate the total score. Once that’s done, follow these steps to grade your quiz.
Follow these steps to set up auto-grading for your quiz.
1- Add a variable field at the end of your questions
To calculate and store the grades, you need to add a variable field to your quiz.
This field will hold the calculated grades and scores.
Add a variable field at the end of your questions to store the total score or grade.
Assign an ID to the variable field (e.g.,
grade
ortotal_grade
) for easy reference in logic.
2- Set logic to determine different grades
To automatically assign grades based on the total score, you'll need to set up advanced logic in the form editor.
This logic will evaluate the score and assign the appropriate grade based on predefined conditions.
Follow these steps to configure the grading logic:
Open the Advanced logic settings in your form editor.
Scroll to the "Submitting the form" section at the end of the page, where you will define the conditions that trigger different grades.
You’ll need to set conditions based on score ranges. For example:
A+: If the total score is greater than or equal to 95, assign A+.
A: If the total score is greater than or equal to 90 but less than 95, assign A.
A-: If the total score is greater than or equal to 85 but less than 90, assign A-.
B+: If the total score is greater than or equal to 80 but less than 85, assign B+.
B: If the total score is greater than or equal to 75 but less than 80, assign B.
B-: If the total score is greater than or equal to 70 but less than 75, assign B-.
Continue defining the grades for other ranges (e.g., C+, C, C-, D+, D, etc.) in the same way.
Here’s an example of how the logic will look for each grade:
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 less than 95, then Add A to Grade.
If the total score is greater than or equal to 85 and less than 90, then Add A- to Grade.
Continue with similar logic for each grade.
For a failing grade (e.g., below 50), add the following logic:
Otherwise, Add Failed to Grade.
This step will ensure that every quiz submission is graded automatically based on the conditions you define.
3- Use answer piping to show the grade on the success page
Once you’ve set the logic, use answer piping to display the grade to the user on the success page after they submit the quiz.
Insert the grade in the success message by using @grade
to show the result of the grading logic.
Also, you can see these grades on the result page:
This setup ensures your quiz is automatically graded and the results are displayed to the user immediately after they submit their answers.