Question Types

Multiple Choice

A multiple-choice question type.

Question Type

The block questionType is "multiple-choice".

Data

Key

Value

Description

answerChoices

Array of Strings

Possible answer choices, including the correct answer (key) and the incorrect answers (distractors)

answerKey

Integer

Index of the correct answer (key), starting at 0

randomOrder

Boolean

Randomly order the answer choices if set to 'true'

{
    "type": "question",
    "data": {
        "questionType": "multiple-choice",
        ...
        "answerChoices": [
            "4",
            "145",
            "0",
            "78"
        ],
        "answerKey": 2,
        "randomOrder": false,
    }
}

Text Response

A text response question type.

Question Type

The block questionType is "text-response".

Data

Key

Value

Description

lines

Integer

Number of lines provided for the student's written answer

Last updated

Was this helpful?