// Numbas version: exam_results_page_options {"name": "BIDMAS: Precedence of operators 3b", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "BIDMAS: Precedence of operators 3b", "tags": [], "metadata": {"description": "

Questions testing understanding of the precedence of operators using BIDMAS applied to integers.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Evaluate the following expressions:

", "advice": "

Start by calculating within any brackets.  Then evaluate any powers. Then evaluate the expression remaining using DMAS. Pay particular attention to minus signs in part (c) and (d).

\n

a)

\n

$\\var{a1} \\times \\var{b1}^\\var{c1} + \\var{d1} \\times  \\var{e1} ^ \\var{f1}$
$=\\var{a1} \\times \\var{b1^c1}+\\var{d1} \\times \\var{e1^f1}$
$=\\var{a1*b1^c1} +\\var{d1*e1^f1}$
$=\\var{a1*b1^c1+d1*e1^f1}$

\n

b)

\n

$\\var{a2} \\times \\var{b2}^\\var{c2} - \\var{d2} \\times  \\var{e2} ^ \\var{f2}$
$=\\var{a2} \\times \\var{b2^c2}-\\var{d2} \\times \\var{e2^f2}$
$=\\var{a2*b2^c2} -\\var{d2*e2^f2}$
$=\\var{a2*b2^c2-d2*e2^f2}$

\n

c)

\n

$\\var{a3} \\times (\\var{b3})^\\var{c3}$
$=\\var{a3} \\times (\\var{b3^c3})$
$=\\var{a3*b3^c3}$

\n

d)

\n

$\\var{a2}+\\var{b2} \\times (\\var{-c2})^\\var{e2} +(\\var{e2}-\\var{f2})^\\var{g2}$
$=\\var{a2}+\\var{b2} \\times (\\var{(-c2)^e2}) +(\\var{e2-f2})^\\var{g2}$
$=\\var{a2}+\\var{b2*((-c2)^e2)} +\\var{(e2-f2)^g2}$
$=\\var{a2+b2*(-c2)^e2 +(e2-f2)^g2}$

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"e2": {"name": "e2", "group": "Ungrouped variables", "definition": "random(2..5 except [d2,b2])", "description": "", "templateType": "anything", "can_override": false}, "b3": {"name": "b3", "group": "Ungrouped variables", "definition": "random(-5..-2)", "description": "", "templateType": "anything", "can_override": false}, "e1": {"name": "e1", "group": "Ungrouped variables", "definition": "random(2..5 except [d1,b1])", "description": "", "templateType": "anything", "can_override": false}, "f1": {"name": "f1", "group": "Ungrouped variables", "definition": "random(2..4 except c1)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Ungrouped variables", "definition": "random(2..5 except a1)", "description": "", "templateType": "anything", "can_override": false}, "b2": {"name": "b2", "group": "Ungrouped variables", "definition": "random(2..5 except a2)", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "d1": {"name": "d1", "group": "Ungrouped variables", "definition": "random(2..9 except a1)", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Ungrouped variables", "definition": "random(2..4 except b2)", "description": "", "templateType": "anything", "can_override": false}, "d2": {"name": "d2", "group": "Ungrouped variables", "definition": "random(2..9 except a2)", "description": "", "templateType": "anything", "can_override": false}, "c3": {"name": "c3", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Ungrouped variables", "definition": "random(2..4 except b1)", "description": "", "templateType": "anything", "can_override": false}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "random(-9..9 except[-1,0,1])", "description": "", "templateType": "anything", "can_override": false}, "f2": {"name": "f2", "group": "Ungrouped variables", "definition": "random(2..4 except c2)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}, "g2": {"name": "g2", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["f1", "f2", "e1", "a1", "a3", "a2", "b1", "b2", "b3", "c3", "c2", "c1", "d1", "d2", "e2", "g2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{a1} \\times \\var{b1}^\\var{c1} + \\var{d1} \\times \\var{e1} ^ \\var{f1}$

", "minValue": "{a1*b1^c1+d1*e1^f1}", "maxValue": "{a1*b1^c1+d1*e1^f1}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{a2} \\times \\var{b2}^\\var{c2} - \\var{d2} \\times  \\var{e2} ^ \\var{f2}$

", "minValue": "{a2*b2^c2-d2*e2^f2}", "maxValue": "{a2*b2^c2-d2*e2^f2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{a3} \\times (\\var{b3})^\\var{c3}$

", "minValue": "{a3*b3^c3}", "maxValue": "{a3*b3^c3}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{a2}+\\var{b2} \\times (\\var{-c2})^\\var{e2} +(\\var{e2}-\\var{f2})^\\var{g2}$

", "minValue": "{a2+b2*(-c2)^e2 +(e2-f2)^g2}", "maxValue": "{a2+b2*(-c2)^e2 +(e2-f2)^g2}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}, {"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}