// Numbas version: exam_results_page_options {"name": "Precedence of operators - everything except brackets", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "variables": {"e2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..5 except [d2,b2])", "name": "e2", "description": ""}, "b3": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-5..-2)", "name": "b3", "description": ""}, "e1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..5 except [d1,b1])", "name": "e1", "description": ""}, "f1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..4 except c1)", "name": "f1", "description": ""}, "b1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..5 except a1)", "name": "b1", "description": ""}, "b2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..5 except a2)", "name": "b2", "description": ""}, "a1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9)", "name": "a1", "description": ""}, "d1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9 except a1)", "name": "d1", "description": ""}, "c2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..4 except b2)", "name": "c2", "description": ""}, "d2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9 except a2)", "name": "d2", "description": ""}, "c3": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..4)", "name": "c3", "description": ""}, "c1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..4 except b1)", "name": "c1", "description": ""}, "a3": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-9..9 except[-1,0,1])", "name": "a3", "description": ""}, "f2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..4 except c2)", "name": "f2", "description": ""}, "a2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9)", "name": "a2", "description": ""}}, "ungrouped_variables": ["f1", "f2", "e1", "a1", "a3", "a2", "b1", "b2", "b3", "c3", "c2", "c1", "d1", "d2", "e2"], "rulesets": {}, "name": "Precedence of operators - everything except brackets", "showQuestionGroupNames": false, "functions": {}, "parts": [{"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a1*b1^c1+d1*e1^f1}", "prompt": "

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

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a1*b1^c1+d1*e1^f1}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a2*b2^c2-d2*e2^f2}", "prompt": "

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

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a2*b2^c2-d2*e2^f2}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a3*b3^c3}", "prompt": "

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

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a3*b3^c3}"}], "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "

Evaluate the following expressions:

", "tags": ["BEDMAS", "BIDMAS", "BODMAS", "checked2015", "Precedence of Operators", "SFY0001"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "preamble": {"css": "", "js": ""}, "type": "question", "metadata": {"notes": "", "licence": "Creative Commons Attribution 4.0 International", "description": "

Questions testing understanding of the precedence of operators using BIDMAS applied to integers. These questions only test IDMAS. That is Indices, Division/Multiplication and Addition/Subtraction.

"}, "advice": "

First evaluate any powers. Then evaluate the expression remaining using DMAS. Pay particular attention to minus signs in part (c). Thus:

\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}$

", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}]}