// Numbas version: exam_results_page_options {"name": "Add two numbers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "

This is a really hard arithmetic question.

", "ungrouped_variables": ["ns", "a", "b", "sum_ab", "gcd", "possible_numbers"], "functions": {}, "rulesets": {}, "parts": [{"notationStyles": ["plain", "en", "si-en"], "marks": 1, "type": "numberentry", "maxValue": "a+b", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "variableReplacements": [], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "mustBeReduced": false, "minValue": "a+b", "showCorrectAnswer": true, "correctAnswerStyle": "plain", "scripts": {}, "allowFractions": false, "prompt": "

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

", "unitTests": []}, {"notationStyles": ["plain", "en", "si-en"], "marks": 1, "type": "numberentry", "maxValue": "sum_ab-1", "variableReplacementStrategy": "alwaysreplace", "customMarkingAlgorithm": "", "variableReplacements": [{"variable": "sum_ab", "part": "p0", "must_go_first": false}], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "extendBaseMarkingAlgorithm": true, "mustBeReduced": false, "minValue": "sum_ab-1", "showCorrectAnswer": true, "correctAnswerStyle": "plain", "scripts": {}, "allowFractions": false, "prompt": "

What's one less than the answer to part a?

", "unitTests": []}], "metadata": {"description": "

Asks the student to add two single-digit numbers, one of which might be negative.

", "licence": "Creative Commons Attribution 4.0 International"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "advice": "

Imagine the number line.

", "variables": {"sum_ab": {"group": "Ungrouped variables", "templateType": "anything", "definition": "a+b", "description": "

The sum of a and b.

", "name": "sum_ab"}, "ns": {"group": "Ungrouped variables", "templateType": "anything", "definition": "shuffle(possible_numbers)", "description": "", "name": "ns"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "definition": "ns[1]", "description": "", "name": "b"}, "possible_numbers": {"group": "Ungrouped variables", "templateType": "anything", "definition": "[1,2,3,5,8,13]", "description": "", "name": "possible_numbers"}, "gcd": {"group": "Ungrouped variables", "templateType": "anything", "definition": "gcd(a,b)", "description": "", "name": "gcd"}, "a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "ns[0]", "description": "", "name": "a"}}, "name": "Add two numbers", "variable_groups": [], "extensions": [], "preamble": {"js": "", "css": ""}, "tags": [], "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/"}]}