impression logo

Impression Learning Content Framework

Support Article
Last modified: 26 Jan 2015

Supporting Multiple-Select Questions in the CCT

The January 2015 release of the AS3 RTE DevKit includes a new Multiple-Select question type player.

The impression.players.MultipleSelectPlayer class supports "multiple-choice, multiple-select" type questions, where the learner must select one or more responses (think Which of the following is a valid response? type questions). Although the Content Creation Tool does not directly support these question types, you can create a custom Command storyboard that does.

Creating a Basic Multiple-Choice/Multiple-Select Player

Begin by turning on support for the Command storyboard type in the Main tab of the Project Properties dialog, if it's not already enabled. Create a new command on the type-specific tab and give it a good descriptive name (e.g., "Multiple-Select Text"). If you wish to use the shared remediation options shown on the General Tab that the integrated question types support, select "question integration" and specify that this command type is a question.

Add the following fields:

Field NameCaptionField TypeDescription
question Question: Multiline text (spellcheck) (optional, ignored by the player) The question text.
response1 Response 1: Multiline text (spellcheck) The first selectable response.
response1correct Is Correct Boolean (yes/no) Indicates whether "response1" is a correct response or not.
response2 Response 2: Multiline text (spellcheck) The second selectable response.
response2correct Is Correct Boolean (yes/no) Indicates whether "response2" is a correct response or not.
response3 Response 3: Multiline text (spellcheck) The third selectable response.
response3correct Is Correct Boolean (yes/no) Indicates whether "response3" is a correct response or not.
response4 Response 4: Multiline text (spellcheck) The fourth selectable response.
response4correct Is Correct Boolean (yes/no) Indicates whether "response4" is a correct response or not.
response5 Response 5: Multiline text (spellcheck) The fifth selectable response.
response5correct Is Correct Boolean (yes/no) Indicates whether "response5" is a correct response or not.
response6 Response 6: Multiline text (spellcheck) The sixth selectable response.
response6correct Is Correct Boolean (yes/no) Indicates whether "response6" is a correct response or not.

Variations

 for (var i = 1; i <= MultipleSelectPlayer.maximumResponses; i++) {
    sb.properties.setNumber("response" + i + "index", i);
}