Skip to content

Instantly share code, notes, and snippets.

@cormac-work
Created February 5, 2018 15:24
Show Gist options
  • Save cormac-work/0087942d358e024c2ad8ebad484471e5 to your computer and use it in GitHub Desktop.
Save cormac-work/0087942d358e024c2ad8ebad484471e5 to your computer and use it in GitHub Desktop.
QCM.json
{
"_id":"c-B2RDV",
"_parentId":"b-B2RDV",
"_type":"component",
"_component":"mcq",
"_classes":"",
"_layout":"left",
"_attempts":1,
"_shouldDisplayAttempts": false,
"_questionWeight":1,
"_isRandom":false,
"_selectable":1,
"_canShowModelAnswer": true,
"_canShowFeedback": true,
"_canShowMarking": true,
"_recordInteraction":true,
"title": "Q2",
"displayTitle": "Question 2",
"body": "<i>Select the <b>opposite </b>of this sentence.</i><br><br><b>You are married.</b>",
"instruction": "Tick all possible answers",
"_items": [
{
"text": "Are you married?",
"_shouldBeSelected":true
},
{
"text": "You are not married.",
"_shouldBeSelected":true
},
{
"text": "You're married.",
"_shouldBeSelected":false
},
{
"text": "You're not married.",
"_shouldBeSelected":true
}
],
"_feedback":{
"correct":"Congratulations, this is the correct feedback.",
"_incorrect": {
"notFinal": "",
"final": "This feedback will appear if you answered the question incorrectly."
},
"_partlyCorrect": {
"notFinal": "",
"final": "This feedback will appear if you answered the question correctly."
}
},
"_comment": "You only need to include _buttons if you want to override the button labels that are set in course.json",
"_buttons": {
"_submit": {
"buttonText": "Submit",
"ariaLabel": "Select here to submit your answer."
},
"_reset": {
"buttonText": "Reset",
"ariaLabel": ""
},
"_showCorrectAnswer": {
"buttonText": "Correct Answer",
"ariaLabel": ""
},
"_hideCorrectAnswer": {
"buttonText": "My Answer",
"ariaLabel": ""
},
"_showFeedback": {
"buttonText": "Show feedback",
"ariaLabel": ""
},
"remainingAttemptsText": "attempts remaining",
"remainingAttemptText": "final attempt"
},
"_pageLevelProgress": {
"_isEnabled": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment