capabilities.work

Build and Grade a Quiz

A 4-step recipe with Google Forms. We can help you get access.

Recipe · 4 steps

Build and Grade a Quiz

Stand up an auto-graded quiz form and harvest the scored submissions.

  1. Create the underlying form with its title. Quiz mode cannot be set at creation and is switched on by the batch update that follows.
  2. Turn on quiz settings and add the graded question in one batch update. The grading block carries the point value, the correct answer used for automatic scoring, and the feedback shown for right and wrong answers.
  3. Publish the quiz and open it for submissions.
  4. List submissions for the quiz. On a quiz form each response carries the total score the service computed at submission time, and each answer carries its own grade, so no scoring logic is needed on this side.
What you'll need to have ready
  • title: The title of the quiz (e.g. "Geography Check").
  • questionTitle: The text of the graded question.
  • correctAnswer: The option value that is the correct answer.
  • distractorOne: The first incorrect option value.
  • distractorTwo: The second incorrect option value.
  • pointValue: Points awarded for a correct answer.
For your developer

Arazzo workflow google-forms:build-and-grade-quiz, 4 operations: createForm → batchUpdateForm → setPublishSettings → listFormResponses. Specs on APIs.io.