// Numbas version: exam_results_page_options {"name": "Collecting like terms-quadratics", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g"], "name": "Collecting like terms-quadratics", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

$\\simplify{{d[1]}x^2+{f[1]}x+{g[1]}+{d[0]}x^2+{f[0]}x+{g[0]}}$ = [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{sum(d)}x^2+{sum(f)}x+{sum(g)}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme", "maxlength": {"length": "16", "message": "", "partialCredit": 0}}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Simplify the following by collecting like terms.

\n

(Remember to use ^ for powers, so you'd enter $x^2$ as x^2)

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "shuffle(list(-10..10))[0..3]", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "shuffle(list(-10..10)+[0,0,0,0])[0..3]", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "shuffle(list(-10..10)+[0,0])[0..3]", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "shuffle(list(-10..10))[0..2]", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "shuffle(list(-10..10))[0..2]", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "shuffle(list(-10..10)+[0,0])[0..2]", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}}, "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}]}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}