// Numbas version: exam_results_page_options {"name": "Johan's copy of Collecting like terms-3 linear variables", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "preamble": {"css": "", "js": ""}, "variables": {"g": {"group": "Ungrouped variables", "definition": "shuffle(list(-10..10))[0..2]", "description": "", "templateType": "anything", "name": "g"}, "a": {"group": "Ungrouped variables", "definition": "shuffle(list(-10..10))[0..3]", "description": "", "templateType": "anything", "name": "a"}, "f": {"group": "Ungrouped variables", "definition": "shuffle(list(-10..10)+[0,0])[0..2]", "description": "", "templateType": "anything", "name": "f"}, "b": {"group": "Ungrouped variables", "definition": "shuffle(list(-10..10)+[0,0])[0..3]", "description": "", "templateType": "anything", "name": "b"}, "d": {"group": "Ungrouped variables", "definition": "shuffle(list(-10..10))[0..2]", "description": "", "templateType": "anything", "name": "d"}, "c": {"group": "Ungrouped variables", "definition": "shuffle(list(-10..10)+[0,0,0,0])[0..3]", "description": "", "templateType": "anything", "name": "c"}}, "variable_groups": [], "statement": "

Simplify the following by collecting like terms.

", "parts": [{"variableReplacementStrategy": "originalfirst", "variableReplacements": [], "prompt": "

$\\simplify{{a[1]}x+{b[1]}y+{c[1]}z+{b[2]}y+{a[2]}x+{c[2]}z+{a[0]}x+{c[0]}z+{b[0]}y}$ = [[0]]

", "type": "gapfill", "gaps": [{"variableReplacementStrategy": "originalfirst", "scripts": {}, "vsetrangepoints": 5, "expectedvariablenames": [], "showCorrectAnswer": true, "answer": "{sum(a)}*x+{sum(b)}*y+{sum(c)}*z", "showpreview": true, "vsetrange": [0, 1], "variableReplacements": [], "marks": 1, "checkvariablenames": false, "checkingaccuracy": 0.001, "type": "jme", "checkingtype": "absdiff"}], "scripts": {}, "showCorrectAnswer": true, "marks": 0}], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "extensions": [], "showQuestionGroupNames": false, "advice": "", "name": "Johan's copy of Collecting like terms-3 linear variables", "ungrouped_variables": ["a", "b", "c", "d", "f", "g"], "functions": {}, "type": "question", "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}], "contributors": [{"name": "Johan Maertens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1301/"}]}]}], "contributors": [{"name": "Johan Maertens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1301/"}]}