// Numbas version: exam_results_page_options {"name": "Solving linear equations: one step (+, -)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "", "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "variablesTest": {"maxRuns": "100", "condition": ""}, "variables": {"ans4": {"group": "Ungrouped variables", "description": "", "definition": "h-j", "name": "ans4", "templateType": "anything"}, "f": {"group": "Ungrouped variables", "description": "", "definition": "random(-25..25 except [0,g])", "name": "f", "templateType": "anything"}, "ans1": {"group": "Ungrouped variables", "description": "", "definition": "b-a", "name": "ans1", "templateType": "anything"}, "ans2": {"group": "Ungrouped variables", "description": "", "definition": "c+d", "name": "ans2", "templateType": "anything"}, "c": {"group": "Ungrouped variables", "description": "", "definition": "random(2..40)", "name": "c", "templateType": "anything"}, "h": {"group": "Ungrouped variables", "description": "", "definition": "random(-25..25 except [0])", "name": "h", "templateType": "anything"}, "g": {"group": "Ungrouped variables", "description": "", "definition": "random(-25..25 except 0)", "name": "g", "templateType": "anything"}, "j": {"group": "Ungrouped variables", "description": "", "definition": "random(-25..25 except [0,h])", "name": "j", "templateType": "anything"}, "ans3": {"group": "Ungrouped variables", "description": "", "definition": "g-f", "name": "ans3", "templateType": "anything"}, "a": {"group": "Ungrouped variables", "description": "", "definition": "random(1..12)", "name": "a", "templateType": "anything"}, "d": {"group": "Ungrouped variables", "description": "", "definition": "random(-12..12 except [0,c,-c])", "name": "d", "templateType": "anything"}, "b": {"group": "Ungrouped variables", "description": "", "definition": "random(-40..40 except [0,a])", "name": "b", "templateType": "anything"}}, "functions": {}, "tags": [], "extensions": [], "parts": [{"steps": [{"type": "information", "scripts": {}, "extendBaseMarkingAlgorithm": true, "marks": 0, "unitTests": [], "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

Given $x+\\var{a}=\\var{b}$, we subtract $\\var{a}$ from both sides to get $x$ by itself.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$x+\\var{a}$$=$$\\var{b}$
$x+\\var{a}-\\var{a}$$=$$\\var{b}-\\var{a}$
$x$$=$$\\var{ans1}$
", "showCorrectAnswer": true}], "type": "gapfill", "stepsPenalty": "0", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "gaps": [{"type": "numberentry", "scripts": {}, "extendBaseMarkingAlgorithm": true, "maxValue": "{ans1}", "showFeedbackIcon": true, "correctAnswerFraction": false, "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "minValue": "{ans1}", "allowFractions": false, "marks": 1, "mustBeReducedPC": 0, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "unitTests": [], "showCorrectAnswer": true}], "customMarkingAlgorithm": "", "prompt": "

Given $x+\\var{a}=\\var{b}$, we can rearrange the equation to that find $x=$ [[0]].

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

Given $y-\\var{c}=\\var{d}$, we add $\\var{c}$ to both sides to get $y$ by itself.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$y-\\var{c}$$=$$\\var{d}$
$y-\\var{c}+\\var{c}$$=$$\\var{d}+\\var{c}$
$y$$=$$\\var{ans2}$
", "showCorrectAnswer": true}], "type": "gapfill", "stepsPenalty": "0", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "gaps": [{"type": "numberentry", "scripts": {}, "extendBaseMarkingAlgorithm": true, "maxValue": "{ans2}", "showFeedbackIcon": true, "correctAnswerFraction": false, "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "minValue": "{ans2}", "allowFractions": false, "marks": 1, "mustBeReducedPC": 0, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "unitTests": [], "showCorrectAnswer": true}], "customMarkingAlgorithm": "", "prompt": "

Given $y-\\var{c}=\\var{d}$,  $y=$ [[0]].

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

Given $\\var{f}+z=\\var{g}$, we subtract $\\var{f}$ from both sides to get $z$ by itself.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{f}+z$$=$$\\var{g}$
$\\simplify[basic]{{f}+z-{f}}$$=$$\\simplify[basic]{{g}-{f}}$
$z$$=$$\\var{ans3}$
", "showCorrectAnswer": true}], "type": "gapfill", "stepsPenalty": "0", "scripts": {}, "extendBaseMarkingAlgorithm": true, "showFeedbackIcon": true, "gaps": [{"type": "numberentry", "scripts": {}, "extendBaseMarkingAlgorithm": true, "maxValue": "{ans3}", "showFeedbackIcon": true, "correctAnswerFraction": false, "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "minValue": "{ans3}", "allowFractions": false, "marks": 1, "mustBeReducedPC": 0, "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "unitTests": [], "showCorrectAnswer": true}], "customMarkingAlgorithm": "", "prompt": "

Rearrange $\\var{f}+z=\\var{g}$ to determine the value of $z$.

\n

$z=$ [[0]]

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

Given $\\var{h}=\\var{j}+a$, we subtract $\\var{j}$ from both sides to get $a$ by itself.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{h}$$=$$\\var{j}+a$
$\\simplify[basic]{{h}-{j}}$$=$$\\simplify[basic]{{j}+a-{j}}$
$\\var{ans4}$$=$$a$
$a$$=$$\\var{ans4}$
\n

\n

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

Solve $\\var{h}=\\var{j}+a$ for $a$.

\n

$a=$ [[0]]

", "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "marks": 0, "variableReplacements": [], "unitTests": [], "showCorrectAnswer": true}], "advice": "", "name": "Solving linear equations: one step (+, -)", "rulesets": {}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a", "b", "ans1", "c", "d", "ans2", "g", "f", "ans3", "h", "j", "ans4"], "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "heike hoffmann", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2960/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "heike hoffmann", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2960/"}]}