OBJECT

QuizTask

A quiz (multiple choice) question. Only returned by the 'quizTask' query; other queries and mutations return quiz questions as 'SingleEnvironmentTask'.

link GraphQL Schema definition

1type QuizTask implements CommonTask {
2
3# Unique identifier.
4id: ID!
5
6# The question's name, shown in the question library and question editor.
7name: String!
8
9# The question's legacy display title, or its name when no title is set. Prefer
10# 'name'.
11title: String!
12
13# The text of the question that will be shown to the user.
14description: String!
15
16# The question type
17generalType: GeneralType!
18
19# The question overview type
20overviewType: String!
21
22# The question mode
23mode: TaskMode!
24
25# The labels associated with this question.
26labels: [String]!
27
28# Max score of the question.
29maxScore: Int!
30
31# [*Internal use only*]
32# The question sets associated with this question.
33sets: [String]!
34
35# Whether the question was used within the configured threshold.
36isRecentlyUsed: Boolean!
37
38# The options for this quiz question, in the order they were authored.
39options: [QuizTaskOption!]!
40
41# Whether the question allows selecting more than one option.
42multipleSelect: Boolean!
43
44# Whether options appear in the order given. When false, options are shuffled for
45# each test-taker.
46preserveOptionOrder: Boolean!
47
48}

link Required by