// Numbas version: exam_results_page_options {"name": "Regina's copy of Mock exam 1 Simplify algebra equations L1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [{"name": "new", "variables": ["dm", "nm", "ans1", "ans2"]}, {"name": "edt", "variables": ["dv1", "dv2"]}], "name": "Regina's copy of Mock exam 1 Simplify algebra equations L1", "tags": [], "functions": {}, "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["num1p", "num1n", "ans11", "ans12", "p2", "p3", "p4", "p5", "n2", "n3", "n4", "n5", "ans21", "ans22", "div", "d3", "t3", "ans31", "ans32", "ans41", "ans42", "ans43", "ans51", "ans52", "ans53"], "statement": "

\n

For the following, leave the numbers as is, do not put into lowest form as these are algebra expressions:

\n

For example:

\n

When you simplify the equation and the answer is $3x -6$, leave it as that, do not answer $3(x - 2)$.

", "advice": "

\n

Remove the brackets and gather the x terms together and also the number terms together.

\n

When in fraction form, get the lowest common multiple (LCM), and multiply the top line by how many times the divisor goes into the LCM.

\n

Rule for multiping out brackets:

\n

(a$x$ - b)(c$x$ + d) = (a * c)$x^2$ + ((a * d) + ((-b) *c)))$x$ + ((-b) * d)

\n

Rule for squaring brackets:

\n

(-a$x$ + b)$^2$ = (-a * -a)$x^2$ + (2 * (-a) *b)$x$ + (b * b)

", "parts": [{"showCorrectAnswer": true, "prompt": "

$\\var{num1p[0]}(\\var{num1p[1]}x + \\var{num1p[2]}) \\var{num1n[0]}(\\var{num1p[3]} \\var{num1n[1]}x) + \\var{num1p[4]}$

\n

[[0]]

", "marks": 0, "variableReplacements": [], "gaps": [{"showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "checkingtype": "absdiff", "variableReplacements": [], "checkingaccuracy": 0.001, "scripts": {}, "showFeedbackIcon": true, "answer": "{ans11}+{ans12}x", "checkvariablenames": false, "type": "jme", "vsetrange": [0, 1], "expectedvariablenames": [], "answersimplification": "std", "marks": 1, "vsetrangepoints": 5, "showpreview": true}], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "type": "gapfill"}, {"showCorrectAnswer": true, "prompt": "

$(\\var{p4[0]}x \\var{n4[0]})(\\var{p4[1]}x +\\var{p4[2]})$

\n

 [[0]]

", "marks": 0, "variableReplacements": [], "gaps": [{"showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "checkingtype": "absdiff", "variableReplacements": [], "checkingaccuracy": 0.001, "scripts": {}, "showFeedbackIcon": true, "answer": "{ans43}x^2+{ans42}x+{ans41}", "checkvariablenames": false, "type": "jme", "vsetrange": [0, 1], "expectedvariablenames": [], "answersimplification": "std", "marks": 1, "vsetrangepoints": 5, "showpreview": true}], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "type": "gapfill"}, {"showCorrectAnswer": true, "prompt": "

$(\\var{n5[0]}x + \\var{p5[0]})^2$

\n

[[0]]

", "showFeedbackIcon": true, "gaps": [{"showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "checkingtype": "absdiff", "variableReplacements": [], "checkingaccuracy": 0.001, "scripts": {}, "showFeedbackIcon": true, "answer": "{ans53}x^2 +{ans52}x +{ans51}", "checkvariablenames": false, "type": "jme", "vsetrange": [0, 1], "expectedvariablenames": [], "answersimplification": "std", "marks": 1, "vsetrangepoints": 5, "showpreview": true}], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"showCorrectAnswer": true, "prompt": "

Don't forget to fully square out the bracket. $(ax + b)^2 = (ax + b)(ax + b)$

", "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "type": "information"}], "marks": 0, "scripts": {}, "stepsPenalty": 0, "type": "gapfill"}, {"showCorrectAnswer": true, "prompt": "

Express $\\frac{\\var{nm[0]}x}{\\var{dm[0]}} + \\frac{\\var{nm[1]}x}{\\var{dm[1]}}$ as a single fraction.

\n

[[0]]

", "showFeedbackIcon": true, "gaps": [{"showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "checkingtype": "absdiff", "variableReplacements": [], "checkingaccuracy": 0.001, "scripts": {}, "showFeedbackIcon": true, "answer": "({ans2}x)/{ans1}", "checkvariablenames": false, "type": "jme", "vsetrange": [0, 1], "expectedvariablenames": [], "answersimplification": "std", "marks": 1, "vsetrangepoints": 5, "showpreview": true}], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"showCorrectAnswer": true, "prompt": "

First you need to find a common denominator. To do this you need to find the lowest common multiple of the three denominator.

\n

Watch video for help

\n

Video

", "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "type": "information"}], "marks": 0, "scripts": {}, "stepsPenalty": 0, "type": "gapfill"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Simplifying algebraic expressions

"}, "rulesets": {"std": ["all", "!collectNumbers "]}, "extensions": [], "variables": {"div": {"group": "Ungrouped variables", "description": "", "name": "div", "templateType": "anything", "definition": "shuffle([3,5,7,9,11])[0..5]"}, "p5": {"group": "Ungrouped variables", "description": "", "name": "p5", "templateType": "anything", "definition": "shuffle(2..10)[0..9]"}, "p3": {"group": "Ungrouped variables", "description": "", "name": "p3", "templateType": "anything", "definition": "shuffle(2..10)[0..9]"}, "ans31": {"group": "Ungrouped variables", "description": "", "name": "ans31", "templateType": "anything", "definition": "(n3[0]*d3[1]*d3[2]*t3[0])-(p3[1]*d3[0]*d3[2]*t3[1])-(p3[3]*d3[1]*d3[0]*t3[2])"}, "ans52": {"group": "Ungrouped variables", "description": "", "name": "ans52", "templateType": "anything", "definition": "n5[0]*p5[0]*2"}, "ans12": {"group": "Ungrouped variables", "description": "", "name": "ans12", "templateType": "anything", "definition": "(num1p[0]*num1p[1])+(num1n[0]*num1n[1])"}, "ans51": {"group": "Ungrouped variables", "description": "", "name": "ans51", "templateType": "anything", "definition": "p5[0]*p5[0]"}, "dm": {"group": "new", "description": "", "name": "dm", "templateType": "anything", "definition": "shuffle([3,5,7,11])[0..2]"}, "ans11": {"group": "Ungrouped variables", "description": "", "name": "ans11", "templateType": "anything", "definition": "(num1p[0]*num1p[2])+(num1n[0]*num1p[3])+ num1p[4]"}, "d3": {"group": "Ungrouped variables", "description": "", "name": "d3", "templateType": "anything", "definition": "shuffle([7,11,13])[0..3]"}, "nm": {"group": "new", "description": "", "name": "nm", "templateType": "anything", "definition": "shuffle([2,4,6,8,10])[0..2]"}, "ans1": {"group": "new", "description": "", "name": "ans1", "templateType": "anything", "definition": "lcm(dm[0],dm[1])"}, "num1p": {"group": "Ungrouped variables", "description": "", "name": "num1p", "templateType": "anything", "definition": "shuffle(2..10)[0..9]"}, "n5": {"group": "Ungrouped variables", "description": "", "name": "n5", "templateType": "anything", "definition": "shuffle(-9..-2)[0..8]"}, "n4": {"group": "Ungrouped variables", "description": "", "name": "n4", "templateType": "anything", "definition": "shuffle(-9..-2)[0..8]"}, "p2": {"group": "Ungrouped variables", "description": "", "name": "p2", "templateType": "anything", "definition": "shuffle(2..10)[0..9]"}, "ans43": {"group": "Ungrouped variables", "description": "", "name": "ans43", "templateType": "anything", "definition": "p4[0]*p4[1]"}, "dv2": {"group": "edt", "description": "", "name": "dv2", "templateType": "anything", "definition": "d3[0]*d3[1]*d3[2]"}, "ans32": {"group": "Ungrouped variables", "description": "", "name": "ans32", "templateType": "anything", "definition": "(p3[0]*d3[1]*d3[2]*t3[0])-(n3[1]*d3[0]*d3[2]*t3[1])-(p3[2]*d3[1]*d3[0]*t3[2])"}, "p4": {"group": "Ungrouped variables", "description": "", "name": "p4", "templateType": "anything", "definition": "shuffle(2..10)[0..9]"}, "ans53": {"group": "Ungrouped variables", "description": "", "name": "ans53", "templateType": "anything", "definition": "n5[0]*n5[0]"}, "ans2": {"group": "new", "description": "", "name": "ans2", "templateType": "anything", "definition": "((ans1/dm[0])nm[0]) + ((ans1/dm[1])nm[1])"}, "ans22": {"group": "Ungrouped variables", "description": "", "name": "ans22", "templateType": "anything", "definition": "(p2[0]*div[1]*div[2])+(n2[0]*div[0]*div[2])-(p2[3]*div[1]*div[0])"}, "n3": {"group": "Ungrouped variables", "description": "", "name": "n3", "templateType": "anything", "definition": "shuffle(-9..-2)[0..8]"}, "ans21": {"group": "Ungrouped variables", "description": "", "name": "ans21", "templateType": "anything", "definition": "(p2[1]*div[1]*div[2])+(p2[2]*div[0]*div[2])-(p2[4]*div[1]*div[0])"}, "n2": {"group": "Ungrouped variables", "description": "", "name": "n2", "templateType": "anything", "definition": "shuffle(-9..-2)[0..8]"}, "ans42": {"group": "Ungrouped variables", "description": "", "name": "ans42", "templateType": "anything", "definition": "(p4[0]*p4[2])+(p4[1]*n4[0])"}, "num1n": {"group": "Ungrouped variables", "description": "", "name": "num1n", "templateType": "anything", "definition": "shuffle(-9..-2)[0..2]"}, "dv1": {"group": "edt", "description": "", "name": "dv1", "templateType": "anything", "definition": "div[0]*div[1]*div[2]"}, "ans41": {"group": "Ungrouped variables", "description": "", "name": "ans41", "templateType": "anything", "definition": "n4[0]*p4[2]"}, "t3": {"group": "Ungrouped variables", "description": "", "name": "t3", "templateType": "anything", "definition": "shuffle([2,3,4,5])[0..3]"}}, "type": "question", "contributors": [{"name": "Regina Kobus", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1991/"}]}]}], "contributors": [{"name": "Regina Kobus", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1991/"}]}