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

Student is given two whole numbers to add, they have to give the sum.

\n

The numbers are in the range -9 to 9.

", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"correctAnswerStyle": "plain", "type": "numberentry", "prompt": "

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

", "showFeedbackIcon": true, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "scripts": {}, "customMarkingAlgorithm": "", "variableReplacements": [], "unitTests": [], "allowFractions": false, "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "minValue": "a+b", "showCorrectAnswer": true, "maxValue": "a+b", "marks": 1}], "preamble": {"css": "", "js": ""}, "functions": {}, "variable_groups": [], "extensions": ["random_person"], "variables": {"name": {"description": "", "name": "name", "group": "Ungrouped variables", "templateType": "anything", "definition": "person[\"name\"]"}, "a": {"description": "", "name": "a", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(1..9#1)"}, "b": {"description": "", "name": "b", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(-9..9#1)"}, "person": {"description": "", "name": "person", "group": "Ungrouped variables", "templateType": "anything", "definition": "random_person()"}}, "tags": [], "advice": "

A picture of a number line here

\n

A video

", "statement": "

Jill wants to know the total price of her shopping.

", "ungrouped_variables": ["a", "b", "person", "name"], "variablesTest": {"maxRuns": 100, "condition": ""}, "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/"}]}