// Numbas version: exam_results_page_options {"name": "1.3.1. Task: Collect like terms 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "1.3.1. Task: Collect like terms 1", "tags": [], "metadata": {"description": "

Collect like terms to simplify an algebraic expression. Part of HELM Book 1.3

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Simplify $\\var{q1expr}$.

", "advice": "

By collecting like terms, $\\var{q1expr} = \\var{q1ans}$

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"q1expr": {"name": "q1expr", "group": "question1", "definition": "simplify(expression(q1ints[0] +\"*\"+ q1letter1 + \"+\" + \n q1ints[1] +\"*\"+ q1letter2 + \"+\" + \n q1ints[2] +\"*\"+ q1letter1 + \"+\" + \n q1ints[3] +\"*\"+ q1letter2 ),[\"basic\"])", "description": "", "templateType": "anything", "can_override": false}, "alphabet": {"name": "alphabet", "group": "Ungrouped variables", "definition": "['a','b','c','d','f','g','h','k','m','n','p','q','r','s','t','u','v','w','x','y','z']", "description": "", "templateType": "anything", "can_override": false}, "q1letter1": {"name": "q1letter1", "group": "question1", "definition": "random(alphabet)", "description": "", "templateType": "anything", "can_override": false}, "q1letter2": {"name": "q1letter2", "group": "question1", "definition": "random(alphabet except q1letter1)", "description": "", "templateType": "anything", "can_override": false}, "q1ints": {"name": "q1ints", "group": "question1", "definition": "[random(-20..20 except 0),\n random(-20..20 except 0),\n random(-20..20 except 0),\n random(-20..20 except 0)\n ]", "description": "", "templateType": "anything", "can_override": false}, "q1ans": {"name": "q1ans", "group": "question1", "definition": "simplify(q1expr,[\"all\"])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["alphabet"], "variable_groups": [{"name": "question1", "variables": ["q1letter1", "q1letter2", "q1ints", "q1expr", "q1ans"]}, {"name": "question 2", "variables": []}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{q1ans}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}