// Numbas version: exam_results_page_options {"name": "Rose's copy of BIDMAS", "feedback": {"intro": "", "showtotalmark": true, "advicethreshold": 0, "allowrevealanswer": true, "feedbackmessages": [], "showanswerstate": true, "showactualmark": true}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "allQuestions": true, "shuffleQuestions": true, "percentPass": "40", "duration": 0, "pickQuestions": 0, "navigation": {"onleave": {"action": "warnifunattempted", "message": "

You haven't finished this question!

"}, "reverse": true, "allowregen": true, "showresultspage": "oncompletion", "preventleave": true, "browse": true, "showfrontpage": true}, "metadata": {"description": "

This is to test your knowledge of BIDMAS.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "exam", "questions": [], "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-shuffled", "pickQuestions": 0, "questions": [{"name": "Precedence of operators", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"g1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "name": "g1"}, "e1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "name": "e1"}, "d": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(3..7)", "description": "", "name": "d"}, "c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..8 except [a,b])", "description": "", "name": "c"}, "f": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..11 except[a,b,c,d,e])", "description": "", "name": "f"}, "b1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9 except a1)", "description": "", "name": "b1"}, "d1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..11 except [a1,b1,c1])", "description": "", "name": "d1"}, "a1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "name": "a1"}, "b2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9 except a2)", "description": "", "name": "b2"}, "c2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9 except [a2,b2])", "description": "", "name": "c2"}, "c1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9 except [a1,b1])", "description": "", "name": "c1"}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "name": "a"}, "h": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(7..15)", "description": "", "name": "h"}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..11 except a)", "description": "", "name": "b"}, "g": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "name": "g"}, "a2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "name": "a2"}, "f1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(3..7)", "description": "", "name": "f1"}}, "ungrouped_variables": ["a", "f1", "c", "b", "e1", "d", "g", "f", "h", "a1", "a2", "b1", "b2", "c2", "c1", "g1", "d1"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "name": "", "pickQuestions": 0}], "functions": {}, "variable_groups": [], "showQuestionGroupNames": false, "parts": [{"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a+b*c}", "prompt": "

$\\var{a}+\\var{b} \\times\\var{c}$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a+b*c}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a*b+c}", "prompt": "

$\\var{a} \\times \\var{b}+\\var{c}$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a*b+c}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{h-a2}", "prompt": "

$\\var{h}-\\var{a2*b2} \\div \\var{b2}$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{h-a2}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a*b + c-f*g}", "prompt": "

$\\var{a} \\times \\var{b}+\\var{c*d} \\div \\var{d} - \\var{f}  \\times \\var{g}$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a*b + c-f*g}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a1-c1*d1-e1*g1}", "prompt": "

$\\var{a1*b1} \\div \\var{b1}-\\var{c1} \\times \\var{d1} - \\var{e1*f1} \\div \\var{f1} \\times \\var{g1}$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a1-c1*d1-e1*g1}"}], "statement": "

Evaluate the following expressions:

", "tags": ["BEDMAS", "BIDMAS", "BODMAS", "checked2015", "Precedence of Operators", "SFY0001"], "rulesets": {}, "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 DMAS. That is, only Division/Multiplcation and Addition/Subtraction.

"}, "advice": "

First work through the expression from left to right, evaluating any multiplications and divisions as you come to them. You should be left with an expression involving only pluses and minuses. Evaluate this expression, again working from left to right. Thus:

\n

a)

\n

$\\var{a}+\\var{b} \\times \\var{c}=\\var{a}+\\var{b*c}=\\var{a+b*c}$

\n

b)

\n

$\\var{a} \\times \\var{b}+\\var{c}=\\var{a*b}+\\var{c}=\\var{a*b+c}$

\n

c)

\n

$\\var{h}-\\var{a2*b2} \\div \\var{b2}=\\var{h}-\\var{a2}=\\var{h-a2}$

\n

d)

\n

$\\var{a} \\times \\var{b}+\\var{c*d} \\div \\var{d} - \\var{f} \\times \\var{g}=\\var{a*b}+\\var{c}-\\var{f*g}=\\var{a*b + c-f*g}$

\n

e)

\n

$\\var{a1*b1} \\div \\var{b1}-\\var{c1} \\times \\var{d1} - \\var{e1*f1} \\div \\var{f1} \\times \\var{g1}=\\var{a1}-\\var{c1*d1}-\\var{e1*g1}=\\var{a1-c1*d1-e1*g1}$

\n

"}, {"name": "Precedence of operators - everything except indices", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}], "variable_groups": [], "variables": {"g1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)", "name": "g1", "description": ""}, "e1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..6)", "name": "e1", "description": ""}, "d": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(3..7)", "name": "d", "description": ""}, "c": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..8 except [a,b])", "name": "c", "description": ""}, "f": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..11 except[a,b,c,d,e])", "name": "f", "description": ""}, "b1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9 except a1)", "name": "b1", "description": ""}, "d1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..11 except [a1,b1,c1])", "name": "d1", "description": ""}, "a1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9)", "name": "a1", "description": ""}, "b2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9 except a2)", "name": "b2", "description": ""}, "c2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9 except [a2,b2])", "name": "c2", "description": ""}, "d2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(3..11 except [a2,b2,c2])", "name": "d2", "description": ""}, "c1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9 except [a1,b1])", "name": "c1", "description": ""}, "a": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9)", "name": "a", "description": ""}, "h": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(7..15)", "name": "h", "description": ""}, "b": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..11 except a)", "name": "b", "description": ""}, "g": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9)", "name": "g", "description": ""}, "a2": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..9)", "name": "a2", "description": ""}, "f1": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(3..7 except e1)", "name": "f1", "description": ""}}, "ungrouped_variables": ["a", "f1", "c", "b", "e1", "d", "g", "f", "h", "a1", "a2", "b1", "b2", "c2", "c1", "g1", "d2", "d1"], "rulesets": {}, "showQuestionGroupNames": false, "functions": {}, "parts": [{"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a*b+a*c}", "prompt": "

$\\var{a} \\times (\\var{b}+\\var{c})$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a*b+a*c}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a*c + b*c}", "prompt": "

$(\\var{a}+\\var{b}) \\times \\var{c}$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{a*c + b*c}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{d}", "prompt": "

$\\var{(a-b)*d} \\div (\\var{a}-\\var{b})$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{d}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{(a1+b1)*(f1-e1)}", "prompt": "

$(\\var{a1} + \\var{b1}) \\times (\\var{f1}-\\var{e1})$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{(a1+b1)*(f1-e1)}"}, {"showCorrectAnswer": true, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "minValue": "{d2}", "prompt": "

$(\\var{d2*(a2+b2)-c2}+\\var{c2}) \\div (\\var{a2} + \\var{b2})$

", "showPrecisionHint": false, "scripts": {}, "type": "numberentry", "correctAnswerFraction": false, "variableReplacements": [], "marks": 1, "maxValue": "{d2}"}], "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. These questions only test BDMAS. That is, they test Brackets, Division/Multiplication and Addition/Subtraction.

"}, "advice": "

First work through the expression from left to right, evaluating any expressions inside brackets. Thus:

\n

a)

\n

$\\var{a} \\times (\\var{b}+\\var{c})=\\var{a} \\times \\var{b+c}=\\var{a*b+a*c}$

\n

b)

\n

$(\\var{a}+\\var{b}) \\times \\var{c}=\\var{a+b} \\times \\var{c}=\\var{a*c + b*c}$

\n

c)

\n

$\\var{(a-b)*d} \\div (\\var{a}-\\var{b})=\\var{(a-b)*d} \\div (\\var{a-b})=\\var{d}$

\n

d)

\n

$(\\var{a1} + \\var{b1}) \\times (\\var{f1}-\\var{e1})=\\var{a1+b1} \\times (\\var{f1-e1})=\\var{(a1+b1)*(f1-e1)}$

\n

e)

\n

$(\\var{d2*(a2+b2)-c2}+\\var{c2}) \\div (\\var{a2} + \\var{b2})=\\var{d2*(a2+b2)} \\div \\var{a2 + b2}=\\var{d2}$

"}]}], "contributors": [{"name": "Rose Kraus", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1099/"}], "extensions": [], "custom_part_types": [], "resources": []}