This repository was archived by the owner on Jul 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Quiz
Edward Smale edited this page Apr 7, 2020
·
2 revisions
Represents a quiz assignment.
Extends Assignment
.random_order (Boolean)
Whether or not the quiz questions are to be shown in random order.
.time_limit (Number)
How long the user has to answer each question in seconds.
.completed (Boolean)
Whether or not the the quiz has been completed.
.answered_by_students (Boolean)
Whether or not the quiz is to be answered by students.
.question_ids (Array<Number>)
An array of question IDs for the quiz.
Get your own submission to the assignment. Returns Promise<QuizSubmission>
-
[...ids](Number) A list of all submission IDs to retrieve. Leave out to retrieve all.
Get a list of submissions to the assignment. Returns Promise<Array<QuizSubmission>>
-
[...ids](Number) A list of all question IDs to retrieve. Leave out to retrieve all.
Get a list of questions to the quiz. Returns Promise<Array<QuizQuestion>>