// Numbas version: exam_results_page_options {"name": "My first question", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Add two numbers. Sometimes one of them is negative.

"}, "functions": {}, "extensions": [], "variable_groups": [{"variables": ["a", "b"], "name": "Randomised things"}, {"variables": ["mammals", "nonmammals", "shuffled_mammals"], "name": "MCQ"}], "variablesTest": {"maxRuns": 100, "condition": "a+b<0"}, "name": "My first question", "advice": "", "variables": {"nonmammals": {"description": "", "group": "MCQ", "templateType": "list of strings", "definition": "[ \"Iguana\", \"Parakeet\", \"Spider\" ]", "name": "nonmammals"}, "b": {"description": "

The second number to be added.

", "group": "Randomised things", "templateType": "randrange", "definition": "random(-10..-1#1)", "name": "b"}, "mammals": {"description": "", "group": "MCQ", "templateType": "list of strings", "definition": "[ \"Dog\", \"Cat\", \"Mouse\", \"Numbat\" ]", "name": "mammals"}, "shuffled_mammals": {"description": "", "group": "MCQ", "templateType": "anything", "definition": "shuffle(mammals)", "name": "shuffled_mammals"}, "a": {"description": "

The first number to be added.

", "group": "Randomised things", "templateType": "randrange", "definition": "random(1..10#1)", "name": "a"}, "c": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "a+b", "name": "c"}}, "statement": "", "tags": [], "parts": [{"mustBeReducedPC": 0, "marks": 1, "showCorrectAnswer": true, "maxValue": "a+b", "showFeedbackIcon": true, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerStyle": "plain", "minValue": "a+b", "variableReplacementStrategy": "originalfirst", "stepsPenalty": 0, "prompt": "

What is $\\simplify[basic]{ {a} + {b} }$?

", "correctAnswerFraction": false, "allowFractions": false, "scripts": {}, "steps": [{"variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "marks": 0, "type": "information", "prompt": "

"}], "mustBeReduced": false}, {"displayColumns": "1", "shuffleChoices": false, "marks": 0, "warningType": "prevent", "showCorrectAnswer": true, "maxMarks": 0, "showFeedbackIcon": true, "type": "m_n_2", "maxAnswers": "2", "variableReplacements": [], "minMarks": "-2", "variableReplacementStrategy": "originalfirst", "matrix": ["1", "1", "-1", "-1"], "distractors": ["", "", "Iguanas are reptiles", "Parakeets are birds"], "scripts": {}, "minAnswers": "2", "choices": ["

{shuffled_mammals[0]}

", "

{shuffled_mammals[1]}

", "

{nonmammals[0]}

", "

{nonmammals[1]}

"], "displayType": "checkbox"}], "rulesets": {}, "ungrouped_variables": ["c"], "preamble": {"css": "", "js": ""}, "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}