// Numbas version: exam_results_page_options {"name": "Musa's copy of 3 Expand brackets", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Musa's copy of 3 Expand brackets", "tags": [], "metadata": {"description": "

Eight expressions, of increasing complexity. The student must simplify them by expanding brackets and collecting like terms.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

For each expression below, collect like terms and expand brackets.

\n

The * symbol is required between algebraic symbols, e.g. $5ab^2$ should be written 5*a*b^2.

", "advice": "

When simplifying expressions, only terms of the same type or like terms can be added together.

\n

Algebraic symbols or letters can be added together provided that they are raised to the same power. For example, we can add $x^2+x^2=2x^2$, but we cannot collect both $x^2$ and $x$ into one term.

\n

\\[ 
\\begin{align}
\\var{c[0]}x+\\var{c[1]}x+\\var{c[2]}x&=(\\var{c[0]}+\\var{c[1]}+\\var{c[2]})x\\\\
&=\\simplify{({c[0]}+{c[1]}+{c[2]})}x
\\end{align}
\\]

\n

\n

", "rulesets": {}, "extensions": ["stats"], "variables": {"c": {"name": "c", "group": "Part a", "definition": "repeat(random(2..10),5)", "description": "", "templateType": "anything"}, "c1": {"name": "c1", "group": "B group", "definition": "random(2..5)*2", "description": "", "templateType": "anything"}, "b1": {"name": "b1", "group": "B group", "definition": "random(2..10 except a1)", "description": "", "templateType": "anything"}, "d": {"name": "d", "group": "Part a", "definition": "repeat(random(2..33),6)", "description": "", "templateType": "anything"}, "f": {"name": "f", "group": "Part a", "definition": "repeat(random(2..20),7)", "description": "", "templateType": "anything"}, "j": {"name": "j", "group": "Part a", "definition": "repeat(random(2..20),9)", "description": "", "templateType": "anything"}, "h": {"name": "h", "group": "Part a", "definition": "repeat(random(2..20),7)", "description": "", "templateType": "anything"}, "a1": {"name": "a1", "group": "B group", "definition": "random(5..10)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Part a", "definition": "repeat(random(5..15),5)", "description": "

random variables for part 1

", "templateType": "anything"}, "b": {"name": "b", "group": "Part a", "definition": "repeat(random(2..10),5)", "description": "", "templateType": "anything"}, "g": {"name": "g", "group": "Part a", "definition": "repeat(random(2..15),7)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "B group", "variables": ["a1", "b1", "c1"]}, {"name": "Part a", "variables": ["a", "b", "c", "d", "f", "g", "h", "j"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$\\var{c[0]}x+\\var{c[1]}x+\\var{c[2]}x=$ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "({c[1]}+{c[0]}+{c[2]})x", "answerSimplification": "all", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "maxlength": {"length": "0", "partialCredit": 0, "message": "

You must collect like terms to fully simplify.

"}, "mustmatchpattern": {"pattern": "$n*x", "partialCredit": 0, "message": "You haven't simplified: you still have two or more like terms that should be collected together.", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Bradley Bush", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1521/"}, {"name": "Aiden McCall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1592/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Bradley Bush", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1521/"}, {"name": "Aiden McCall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1592/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}]}