// Numbas version: exam_results_page_options {"name": "Factorising quadratics", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"c": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "vector([1]+[1]+[1]+[1]+[1])", "name": "c"}, "d": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "vector([random(1..3)]+[random(2..3)]+[random(1..3)]+[random(-2..-4)]+[random(3..6)])", "name": "d"}, "a": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "vector([1]+[random(2..4)]+[1]+[1]+[random(3..4)])", "name": "a"}, "b": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "vector([random(1..5)] + [random(1..5)] + [random(-1..-5)] + [random(-1..-5)] + [random(2..5)] )", "name": "b"}}, "extensions": [], "variable_groups": [], "advice": "

See Lecture 5.4 for examples of me factorising.

", "metadata": {"description": "

Several quadratics are given and students are asked to complete the square.

", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "functions": {}, "tags": [], "name": "Factorising quadratics", "preamble": {"css": "", "js": ""}, "parts": [{"type": "gapfill", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "prompt": "

$\\simplify{{a[0]*c[0]}x^2+{a[0]*d[0]+b[0]*c[0]}x+ {b[0]*d[0]}} = $ [[0]]

", "marks": 0, "variableReplacementStrategy": "originalfirst", "gaps": [{"answersimplification": "std", "variableReplacements": [], "vsetrange": [0, 1], "checkvariablenames": false, "marks": "1", "answer": "({a[0]}x+{b[0]})({c[0]}x+{d[0]})", "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"partialCredit": 0, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": "", "showStrings": false}, "type": "jme", "scripts": {}, "checkingtype": "absdiff", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.0001, "showFeedbackIcon": true}], "showFeedbackIcon": true}, {"type": "gapfill", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "prompt": "

$\\simplify{{a[1]*c[1]}x^2+{a[1]*d[1]+b[1]*c[1]}x+ {b[1]*d[1]}} = $ [[0]]

", "marks": 0, "variableReplacementStrategy": "originalfirst", "gaps": [{"answersimplification": "std", "variableReplacements": [], "vsetrange": [0, 1], "checkvariablenames": false, "marks": "1", "answer": "({a[1]}x+{b[1]})({c[1]}x+{d[1]})", "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"partialCredit": 0, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": "", "showStrings": false}, "type": "jme", "scripts": {}, "checkingtype": "absdiff", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.0001, "showFeedbackIcon": true}], "showFeedbackIcon": true}, {"type": "gapfill", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "prompt": "

$\\simplify{{a[2]*c[2]}x^2+{a[2]*d[2]+b[2]*c[2]}x+ {b[2]*d[2]}} = $ [[0]]

", "marks": 0, "variableReplacementStrategy": "originalfirst", "gaps": [{"answersimplification": "std", "variableReplacements": [], "vsetrange": [0, 1], "checkvariablenames": false, "marks": "1", "answer": "({a[2]}x+{b[2]})({c[2]}x+{d[2]})", "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"partialCredit": 0, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": "", "showStrings": false}, "type": "jme", "scripts": {}, "checkingtype": "absdiff", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.0001, "showFeedbackIcon": true}], "showFeedbackIcon": true}, {"type": "gapfill", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "prompt": "

$\\simplify{{a[3]*c[3]}x^2+{a[3]*d[3]+b[3]*c[3]}x+ {b[3]*d[3]}} = $ [[0]]

", "marks": 0, "variableReplacementStrategy": "originalfirst", "gaps": [{"answersimplification": "std", "variableReplacements": [], "vsetrange": [0, 1], "checkvariablenames": false, "marks": "1", "answer": "({a[3]}x+{b[3]})({c[3]}x+{d[3]})", "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"partialCredit": 0, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": "", "showStrings": false}, "type": "jme", "scripts": {}, "checkingtype": "absdiff", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.0001, "showFeedbackIcon": true}], "showFeedbackIcon": true}, {"type": "gapfill", "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true, "prompt": "

$\\simplify{{a[4]*c[4]}x^2+{a[4]*d[4]+b[4]*c[4]}x+ {b[4]*d[4]}} = $ [[0]]

", "marks": 0, "variableReplacementStrategy": "originalfirst", "gaps": [{"answersimplification": "std", "variableReplacements": [], "vsetrange": [0, 1], "checkvariablenames": false, "marks": "1", "answer": "({a[4]}x+{b[4]})({c[4]}x+{d[4]})", "showCorrectAnswer": true, "expectedvariablenames": [], "notallowed": {"partialCredit": 0, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "message": "", "showStrings": false}, "type": "jme", "scripts": {}, "checkingtype": "absdiff", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.0001, "showFeedbackIcon": true}], "showFeedbackIcon": true}], "ungrouped_variables": ["a", "b", "c", "d"], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "

Factorise the following quadratics

", "type": "question", "contributors": [{"name": "Owen Jepps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1195/"}]}]}], "contributors": [{"name": "Owen Jepps", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1195/"}]}