// Numbas version: exam_results_page_options {"name": "David's copy of Q3 Arithmetic", "extensions": [], "custom_part_types": [], "resources": [["question-resources/bodmas.png", "/srv/numbas/media/question-resources/bodmas.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {"Neg": {"definition": "random(-2..-9)", "type": "number", "parameters": [], "language": "jme"}, "Pos": {"definition": "random(3..12)", "type": "number", "parameters": [], "language": "jme"}}, "ungrouped_variables": ["A1", "a2", "Ans1", "b1", "B2", "Ans2", "C1", "C2", "Ans3", "D1", "D2", "Ans4", "E1", "E2", "Ans5", "a3", "a4", "b3", "b4", "b5", "c3", "c4", "c5", "d3", "e3", "b111"], "name": "David's copy of Q3 Arithmetic", "tags": ["rebelmaths"], "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

$(-9) + (-4)= -13$

\n

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

\n

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

\n

\n

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

$\\var{a1} \\times \\var{a2} - \\var{a3} \\times \\var{a4}$

\n

[[0]]

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

$\\var{b1} + \\var{b2} \\div (\\var{b3}) + \\var{b4} \\times \\var{b5}$

\n

[[0]]

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

$(\\var{c1} - \\var{c2}) \\times \\var{c3} - (\\var{c4} - \\var{c5})^2$

\n

[[0]]

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

$(\\var{d1})^3 - (\\var{d2})^2 + (\\var{d3})^2$

\n

[[0]]

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

$(\\var{e1})^2 - (\\var{e2})^3 - (\\var{e3})^3$

\n

[[0]]

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

Evaluate the following to the nearest whole number, without using a calculator:

\n

\n

N.B. Rules

\n

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

\n

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

\n

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

\n

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

\n

\n

Remember the BODMAS rule

\n

\n

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"b4": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "b4", "description": ""}, "b5": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "b5", "description": ""}, "b1": {"definition": "pos() ", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b3": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "b3", "description": ""}, "d3": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "d3", "description": ""}, "b111": {"definition": "random(3..7)", "templateType": "anything", "group": "Ungrouped variables", "name": "b111", "description": ""}, "A1": {"definition": "(pos())", "templateType": "anything", "group": "Ungrouped variables", "name": "A1", "description": ""}, "e3": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "e3", "description": ""}, "C2": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "C2", "description": ""}, "C1": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "C1", "description": ""}, "E1": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "E1", "description": ""}, "E2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "E2", "description": ""}, "a3": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "a4": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "a4", "description": ""}, "c3": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "c3", "description": ""}, "c5": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "c5", "description": ""}, "c4": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "c4", "description": ""}, "Ans1": {"definition": "{a1}*{a2} - {a3} * {a4}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans1", "description": ""}, "Ans2": {"definition": "{b1} + {b2} / {b3} + {b4}*{b5}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans2", "description": ""}, "Ans3": {"definition": "({c1} - {c2}) * {c3} - ({c4}-{c5})^2", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans3", "description": ""}, "Ans4": {"definition": "{d1}^3 - {d2}^2 + {d3}^2", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans4", "description": ""}, "Ans5": {"definition": "{e1}^2 - {e2}^3 - {e3}^3", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans5", "description": ""}, "B2": {"definition": "b111*b3*-1", "templateType": "anything", "group": "Ungrouped variables", "name": "B2", "description": ""}, "D2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "D2", "description": ""}, "D1": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "D1", "description": ""}}, "metadata": {"description": "

rebelmaths

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