// Numbas version: finer_feedback_settings {"name": "Factorising Quadratics (1)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "", "variablesTest": {"maxRuns": "127", "condition": ""}, "metadata": {"description": "
Algebra: Quadratic Factorisation.
\nCoefficient of squared term is 1.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "tags": [], "variables": {"a": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "a", "definition": "random(-6..6 except 0)"}, "const": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "const", "definition": "a*b"}, "linear": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "linear", "definition": "a+b"}, "b": {"group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b", "definition": "random(-6..6 except 0 except-a)"}}, "statement": "Factorise the following quadratic expression into linear factors.
\nThat is, write it as a product of the form $(ax \\pm b)(cx \\pm d)$ where $a$, $b$, $c$ and $d$ are integers.
", "ungrouped_variables": ["a", "b", "linear", "const"], "parts": [{"gaps": [{"notallowed": {"strings": ["xx", "x^2", "x**2"], "message": "Ensure you factorise the expression.
", "partialCredit": 0, "showStrings": false}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "musthave": {"strings": ["(", ")"], "message": "Ensure you factorise the expression.
", "partialCredit": 0, "showStrings": false}, "showpreview": true, "checkingtype": "absdiff", "variableReplacements": [], "checkingaccuracy": 0.001, "checkvariablenames": true, "type": "jme", "scripts": {}, "vsetrangepoints": 5, "vsetrange": [0, 1], "marks": "2", "showFeedbackIcon": true, "answer": "(x+{a})(x+{b})", "expectedvariablenames": ["x"], "answersimplification": "all"}], "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "marks": 0, "showFeedbackIcon": true, "type": "gapfill", "variableReplacements": [], "prompt": "$\\simplify{x^2+{linear}x+{const}}$ = [[0]].
\n\n\n\n"}], "variable_groups": [], "rulesets": {}, "preamble": {"css": "", "js": ""}, "functions": {}, "name": "Factorising Quadratics (1)", "extensions": [], "type": "question", "contributors": [{"name": "Hannah Bartholomew", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/530/"}]}]}], "contributors": [{"name": "Hannah Bartholomew", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/530/"}]}