// Numbas version: exam_results_page_options {"name": "What's X, if X - A = B?", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a1", "a3", "a2", "b1", "b2", "b3", "c3", "c2", "c1"], "name": "What's X, if X - A = B?", "tags": [], "advice": "

See step for part a.

", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "

What's X, if X - $\\var{A1}$ = $\\var{B1}$?   Answer:  X = [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "C1", "minValue": "C1", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

Generally,  if  $X - A =  B$,  then  $X = B + A$

\n

You've   got   $X - \\var{A1}  =   \\var{B1}$,

\n

So  $X =  \\var{B1} + \\var{A1} =$  ?

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

What's X, if X - $\\var{A2}$ = $\\var{B2}$?   Answer:  X = [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "C2", "minValue": "C2", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

What's X, if X - $\\var{A3}$ = $\\var{B3}$?   Answer:  X = [[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "C3", "minValue": "C3", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

What's X, if X - A = B?

\n

For example, what's X, if X - 3 = 7?  Answer: X = 10.

\n

Try the first question without using a calculator.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a1": {"definition": "random(3..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a3": {"definition": "10*random(1..9)+random(0..9)+ random(1..9)/10+random(1..9)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "random(1..9)+random(1..9)/10", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "b1": {"definition": "random(1..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "random(1..9)+random(1..9)/10", "templateType": "anything", "group": "Ungrouped variables", "name": "b2", "description": ""}, "b3": {"definition": "10*random(1..9)+random(0..9)+ random(1..9)/10+random(1..9)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "b3", "description": ""}, "c3": {"definition": "A3+B3", "templateType": "anything", "group": "Ungrouped variables", "name": "c3", "description": ""}, "c2": {"definition": "A2+B2", "templateType": "anything", "group": "Ungrouped variables", "name": "c2", "description": ""}, "c1": {"definition": "A1+B1", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}}, "metadata": {"description": "

Basic algebra.  The intention is to help students generalise a rule\\pattern from 3 questions of increasing complexity.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}]}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}