Grading
import type { Grading } from "https://googleapis.deno.dev/v1/forms:v1.ts";
Grading for a single question
interface Grading {
correctAnswers?: CorrectAnswers;
generalFeedback?: Feedback;
pointValue?: number;
whenRight?: Feedback;
whenWrong?: Feedback;
}§Properties
§
correctAnswers?: CorrectAnswers
[src]Required. The answer key for the question. Responses are automatically graded based on this field.
§
The feedback displayed for all answers. This is commonly used for short answer questions when a quiz owner wants to quickly give respondents some sense of whether they answered the question correctly before they've had a chance to officially grade the response. General feedback cannot be set for automatically graded multiple choice questions.
§
pointValue?: number
[src]Required. The maximum number of points a respondent can automatically get for a correct answer. This must not be negative.