// Numbas version: exam_results_page_options {"name": "Q2 Arithmetic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"J1": {"definition": "pos()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "J1"}, "G2": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "G2"}, "C2": {"definition": "pos()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "C2"}, "Ans9": {"definition": "{i1} + {i2} - {i3}", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans9"}, "Ans8": {"definition": "{h1} - {h2}", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans8"}, "Ans7": {"definition": "g2-g1", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans7"}, "A1": {"definition": "(neg())", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "A1"}, "E2": {"definition": "pos()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "E2"}, "Ans10": {"definition": "{j1} - {j2} - {j3}", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans10"}, "Ans2": {"definition": "{b1}*{b2}", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans2"}, "J2": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "J2"}, "Ans3": {"definition": "{c1}*{c2}", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans3"}, "D2": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "D2"}, "Ans6": {"definition": "random(4..9)", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans6"}, "G1": {"definition": "pos()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "G1"}, "Ans5": {"definition": "random(-8..-3)", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans5"}, "H1": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "H1"}, "E1": {"definition": "ans5*e2", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "E1"}, "Ans1": {"definition": "{a1}*{a2}", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans1"}, "J3": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "J3"}, "D1": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "D1"}, "Ans4": {"definition": "{d1}*{d2}", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "Ans4"}, "I2": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "I2"}, "b1": {"definition": "pos()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "b1"}, "C1": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "C1"}, "I3": {"definition": "pos()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "I3"}, "F1": {"definition": "ans6*f2", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "F1"}, "B2": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "B2"}, "F2": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "F2"}, "I1": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "I1"}, "H2": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "H2"}, "a2": {"definition": "neg()", "description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "a2"}}, "advice": "

N.B. Rules

\n

$(+) \\times (+) = (+)$

\n

$(+) \\times (-) = (-)$

\n

$(-) \\times (+) = (-)$

\n

$(-) \\times (-) = (+)$

\n

\n

$(-(-a)) = (a)$  e.g  $(-(-5)) = 5$

\n

$(+(-a))$ or $(-(+a)) = (-a)$  e.g  $(+(-5)) = -5$ or $(-(+5)) = -5$

\n

\n

If both numbers are negative, keep the minus sign and add the numbers e.g

\n

$\\var{g2} - \\var{g1} = \\var{ans7}$

\n

If the numbers have different signs, keep the sign of the bigger number and subtract the smaller number from it e.g.

\n

$-15 +  20 = 5$  or  $20 - 15 = 5$

\n

\n

", "ungrouped_variables": ["A1", "a2", "Ans1", "b1", "B2", "Ans2", "C1", "C2", "Ans3", "D1", "D2", "Ans4", "E1", "E2", "Ans5", "F1", "F2", "Ans6", "G2", "G1", "Ans7", "H1", "H2", "Ans8", "I1", "I2", "I3", "Ans9", "J1", "J2", "J3", "Ans10"], "name": "Q2 Arithmetic", "rulesets": {}, "preamble": {"css": "", "js": ""}, "tags": [], "variable_groups": [], "statement": "

Evaluate each of the following, without using a calculator, to 2 decimal places:

\n

N.B. Rules

\n

$(+) \\times (+) = (+)$

\n

$(+) \\times (-) = (-)$

\n

$(-) \\times (+) = (-)$

\n

$(-) \\times (-) = (+)$

", "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"type": "gapfill", "marks": 0, "unitTests": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "prompt": "

$(\\var{a1}) \\times  (\\var{a2})$

\n

[[0]]

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

$\\var{b1} \\times  (\\var{b2})$

\n

[[0]]

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

$\\var{c1} \\times  \\var{c2}$

\n

[[0]]

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

$(\\var{d1}) \\times  (\\var{d2})$

\n

[[0]]

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

$\\var{e1} \\div  \\var{e2}$

\n

[[0]]

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

$\\var{f1} \\div  (\\var{f2})$

\n

[[0]]

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

$\\var{g2} -  \\var{g1}$

\n

[[0]]

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

$\\var{h1} -  (\\var{h2})$

\n

[[0]]

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

$\\var{i1} +  (\\var{i2}) - \\var{i3}$

\n

[[0]]

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

$\\var{j1} -  (\\var{j2}) - (\\var{j3})$

\n

[[0]]

", "customMarkingAlgorithm": "", "gaps": [{"type": "numberentry", "marks": 1, "unitTests": [], "variableReplacementStrategy": "originalfirst", "maxValue": "{ans10}", "showCorrectAnswer": true, "showFeedbackIcon": true, "mustBeReducedPC": 0, "customMarkingAlgorithm": "", "minValue": "{ans10}", "mustBeReduced": false, "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "variableReplacements": [], "scripts": {}, "extendBaseMarkingAlgorithm": true, "allowFractions": false}], "sortAnswers": false, "variableReplacements": [], "scripts": {}, "extendBaseMarkingAlgorithm": true}], "extensions": [], "functions": {"Neg": {"type": "number", "definition": "random(-2..-9)", "parameters": [], "language": "jme"}, "Pos": {"type": "number", "definition": "random(3..12)", "parameters": [], "language": "jme"}}, "type": "question", "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}