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 Name | Caption | Field Type | Description |
---|---|---|---|
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
- You can create a "Multiple-Select Graphics" command by changing the type of the response[n] values from Multiline text to Graphic.
- To add more responses, create additional response[n] and response[n]correct fields. Note that the default number of responses supported by the MultipleSelectPlayer is 9—change this value in your runtime if needed.
- Like the Multiple-Choice and Matching players, the Multiple-Select player will automatically randomize the display indexes if the index properties aren't found when the storyboard is initialized. You may wish to use "fixed positions" for some multiple-select questions (responses like Both C and D, or All of the above). To set fixed positions, create number properties for the storyboard of the form response[n]index, where [n] is the index of the response, and the value is the index to use. You can do this for all multiple-select storyboards after the lesson is loaded, or you can do it "on demand" when the storyboard is loaded for display. Some sample code is:
for (var i = 1; i <= MultipleSelectPlayer.maximumResponses; i++) { sb.properties.setNumber("response" + i + "index", i); }