QuizQuestion
Individual quiz question
Extends
AssessmentItem<string|number|boolean>
Properties
correctAnswer
correctAnswer: string | number | boolean;
Correct answer
Inherited from
correctAnswers?
optional correctAnswers: string[];
Correct answers for multi-select questions (all must be selected)
explanation?
optional explanation: string;
Optional explanation shown after answering
Inherited from
id
id: string;
Unique identifier
Inherited from
options?
optional options: string[];
Answer options (for multiple-choice, true-false, and multi-select)
points?
optional points: number;
Points awarded for correct answer
Inherited from
question
question: string;
Question or test description
Inherited from
type
type: QuizQuestionType;
Type of question