// Numbas version: exam_results_page_options {"name": "Basic Algebraic Manipulation: Completing the square", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"showfrontpage": false, "preventleave": false, "allowregen": true}, "question_groups": [{"questions": [{"metadata": {"description": "

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

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["a", "b", "q", "ans", "test", "test2", "vari", "qnoc", "c"], "statement": "

Carry out the 'completing the square' method on the following quadratic expressions.

", "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "name": "Basic Algebraic Manipulation: Completing the square", "type": "question", "parts": [{"customMarkingAlgorithm": "", "gaps": [{"vsetRangePoints": 5, "vsetRange": [0, 1], "type": "jme", "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": "1", "variableReplacements": [], "scripts": {}, "expectedVariableNames": [], "showPreview": true, "customMarkingAlgorithm": "", "failureRate": 1, "checkVariableNames": false, "answer": "{ans[0]}", "musthave": {"showStrings": false, "strings": ["(", ")", "^"], "partialCredit": 0, "message": "

please input in the form \$(x+a)^2+b\$

"}, "showFeedbackIcon": true, "answerSimplification": "std", "checkingType": "absdiff", "notallowed": {"showStrings": false, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "partialCredit": 0, "message": "

"}}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": 0, "variableReplacements": [], "scripts": {}, "type": "gapfill", "prompt": "

\$\\simplify{{q[0]}} = \$ [[0]]

"}, {"customMarkingAlgorithm": "", "gaps": [{"vsetRangePoints": 5, "vsetRange": [0, 1], "type": "jme", "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": "1", "variableReplacements": [], "scripts": {}, "expectedVariableNames": [], "showPreview": true, "customMarkingAlgorithm": "", "failureRate": 1, "checkVariableNames": false, "answer": "{ans[1]}", "musthave": {"showStrings": false, "strings": ["(", ")", "^"], "partialCredit": 0, "message": "

please input in the form \$(x+a)^2+b\$

"}, "showFeedbackIcon": true, "answerSimplification": "std", "checkingType": "absdiff", "notallowed": {"showStrings": false, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "partialCredit": 0, "message": "

"}}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": 0, "variableReplacements": [], "scripts": {}, "type": "gapfill", "prompt": "

\$\\simplify{{q[1]}} = \$ [[0]]

"}, {"customMarkingAlgorithm": "", "gaps": [{"vsetRangePoints": 5, "vsetRange": [0, 1], "type": "jme", "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": "1", "variableReplacements": [], "scripts": {}, "expectedVariableNames": [], "showPreview": true, "customMarkingAlgorithm": "", "failureRate": 1, "checkVariableNames": false, "answer": "{ans[2]}", "musthave": {"showStrings": false, "strings": ["(", ")", "^"], "partialCredit": 0, "message": "

please input in the form \$(x+a)^2+b\$

"}, "showFeedbackIcon": true, "answerSimplification": "std", "checkingType": "absdiff", "notallowed": {"showStrings": false, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "partialCredit": 0, "message": "

"}}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": 0, "variableReplacements": [], "scripts": {}, "type": "gapfill", "prompt": "

\$\\simplify{{q[2]}} = \$ [[0]]

"}, {"customMarkingAlgorithm": "", "gaps": [{"vsetRangePoints": 5, "vsetRange": [0, 1], "type": "jme", "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": "1", "variableReplacements": [], "scripts": {}, "expectedVariableNames": [], "showPreview": true, "customMarkingAlgorithm": "", "failureRate": 1, "checkVariableNames": false, "answer": "{ans[3]}", "musthave": {"showStrings": false, "strings": ["(", ")", "^"], "partialCredit": 0, "message": "

please input in the form \$(x+a)^2+b\$

"}, "showFeedbackIcon": true, "answerSimplification": "std", "checkingType": "absdiff", "notallowed": {"showStrings": false, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "partialCredit": 0, "message": "

"}}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": 0, "variableReplacements": [], "scripts": {}, "type": "gapfill", "prompt": "

\$\\simplify{{q[3]}} = \$ [[0]]

"}, {"customMarkingAlgorithm": "", "gaps": [{"vsetRangePoints": 5, "vsetRange": [0, 1], "type": "jme", "checkingAccuracy": 0.001, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": "1", "variableReplacements": [], "scripts": {}, "expectedVariableNames": [], "showPreview": true, "customMarkingAlgorithm": "", "failureRate": 1, "checkVariableNames": false, "answer": "{ans[4]}", "musthave": {"showStrings": false, "strings": ["(", ")", "^"], "partialCredit": 0, "message": "

please input in the form \$(x+a)^2+b\$

"}, "showFeedbackIcon": true, "answerSimplification": "std", "checkingType": "absdiff", "notallowed": {"showStrings": false, "strings": ["x^2", "x*x", "x x", "x(", "x*("], "partialCredit": 0, "message": "

"}}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": 0, "variableReplacements": [], "scripts": {}, "type": "gapfill", "prompt": "

\$\\simplify{{q[4]}} = \$ [[0]]

"}, {"customMarkingAlgorithm": "", "gaps": [{"mustBeReducedPC": 0, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "allowFractions": false, "extendBaseMarkingAlgorithm": true, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "showCorrectAnswer": true, "maxValue": "{c}", "unitTests": [], "mustBeReduced": false, "marks": 1, "correctAnswerStyle": "plain", "minValue": "{c}", "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst"}], "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "unitTests": [], "marks": 0, "variableReplacements": [], "scripts": {}, "type": "gapfill", "prompt": "

What constant is required to 'complete the square' for \$\\simplify{{qnoc[0]}}\$ in?