// Numbas version: finer_feedback_settings {"name": "Maths Support: Rules of arithmetic", "navigation": {"onleave": {"action": "none", "message": ""}, "reverse": true, "allowregen": true, "preventleave": false, "browse": true, "showfrontpage": false, "showresultspage": "never"}, "duration": 0.0, "metadata": {"notes": "", "description": "

4 questions testing the precedence of operations applied to integers. In other words testing BIDMAS: Brackets, Indices, Division/Multiplication and Addition/Subtraction.

", "licence": "Creative Commons Attribution 4.0 International"}, "timing": {"timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "shufflequestions": false, "questions": [], "percentpass": 0.0, "allQuestions": true, "pickQuestions": 0, "type": "exam", "feedback": {"showtotalmark": true, "advicethreshold": 0.0, "showanswerstate": true, "showactualmark": true, "allowrevealanswer": true, "enterreviewmodeimmediately": false, "showexpectedanswerswhen": "never", "showpartfeedbackmessageswhen": "always", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showadvicewhen": "never"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": [{"name": "Precedence of operators 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}], "functions": {}, "tags": ["BEDMAS", "BIDMAS", "BODMAS", "Precedence of Operators"], "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.

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

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

", "minvalue": "{a+b*c}", "type": "numberentry", "maxvalue": "{a+b*c}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{a*b+c}", "type": "numberentry", "maxvalue": "{a*b+c}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{h-a2}", "type": "numberentry", "maxvalue": "{h-a2}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{a*b + c-f*g}", "type": "numberentry", "maxvalue": "{a*b + c-f*g}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{a1-c1*d1-e1*g1}", "type": "numberentry", "maxvalue": "{a1-c1*d1-e1*g1}", "marks": 1.0, "showPrecisionHint": false}], "statement": "

Evaluate the following expressions:

", "variable_groups": [], "progress": "testing", "type": "question", "variables": {"a": {"definition": "random(2..9)", "name": "a"}, "f1": {"definition": "random(3..7)", "name": "f1"}, "c": {"definition": "random(2..8 except [a,b])", "name": "c"}, "b": {"definition": "random(2..11 except a)", "name": "b"}, "d": {"definition": "random(3..7)", "name": "d"}, "g": {"definition": "random(2..9)", "name": "g"}, "f": {"definition": "random(1..11 except[a,b,c,d,e])", "name": "f"}, "h": {"definition": "random(7..15)", "name": "h"}, "a1": {"definition": "random(2..9)", "name": "a1"}, "a2": {"definition": "random(2..9)", "name": "a2"}, "b1": {"definition": "random(2..9 except a1)", "name": "b1"}, "b2": {"definition": "random(2..9 except a2)", "name": "b2"}, "c2": {"definition": "random(2..9 except [a2,b2])", "name": "c2"}, "c1": {"definition": "random(2..9 except [a1,b1])", "name": "c1"}, "g1": {"definition": "random(1..9)", "name": "g1"}, "e1": {"definition": "random(2..6)", "name": "e1"}, "d1": {"definition": "random(1..11 except [a1,b1,c1])", "name": "d1"}}, "metadata": {"notes": "", "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.

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Precedence of operators 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}], "functions": {}, "tags": ["BEDMAS", "BIDMAS", "BODMAS", "Precedence of Operators"], "advice": "

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

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

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

", "minvalue": "{a1*b1^c1+d1*e1^f1}", "type": "numberentry", "maxvalue": "{a1*b1^c1+d1*e1^f1}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{a2*b2^c2-d2*e2^f2}", "type": "numberentry", "maxvalue": "{a2*b2^c2-d2*e2^f2}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{a3*b3^c3}", "type": "numberentry", "maxvalue": "{a3*b3^c3}", "marks": 1.0, "showPrecisionHint": false}], "statement": "

Evaluate the following expressions:

", "variable_groups": [], "progress": "testing", "type": "question", "variables": {"f1": {"definition": "random(2..4 except c1)", "name": "f1"}, "f2": {"definition": "random(2..4 except c2)", "name": "f2"}, "d2": {"definition": "random(2..9 except a2)", "name": "d2"}, "a1": {"definition": "random(2..9)", "name": "a1"}, "a3": {"definition": "random(-9..9 except[-1,0,1])", "name": "a3"}, "a2": {"definition": "random(2..9)", "name": "a2"}, "b1": {"definition": "random(2..5 except a1)", "name": "b1"}, "b2": {"definition": "random(2..5 except a2)", "name": "b2"}, "b3": {"definition": "random(-5..-2)", "name": "b3"}, "c3": {"definition": "random(2..4)", "name": "c3"}, "c2": {"definition": "random(2..4 except b2)", "name": "c2"}, "c1": {"definition": "random(2..4 except b1)", "name": "c1"}, "e2": {"definition": "random(2..5 except [d2,b2])", "name": "e2"}, "e1": {"definition": "random(2..5 except [d1,b1])", "name": "e1"}, "d1": {"definition": "random(2..9 except a1)", "name": "d1"}}, "metadata": {"notes": "", "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.

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Precedence of operators 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}], "functions": {}, "tags": ["BEDMAS", "BIDMAS", "BODMAS", "Precedence of Operators"], "advice": "

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

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

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

", "minvalue": "{a*b+a*c}", "type": "numberentry", "maxvalue": "{a*b+a*c}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{a*c + b*c}", "type": "numberentry", "maxvalue": "{a*c + b*c}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{d}", "type": "numberentry", "maxvalue": "{d}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{(a1+b1)*(f1-e1)}", "type": "numberentry", "maxvalue": "{(a1+b1)*(f1-e1)}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{d2}", "type": "numberentry", "maxvalue": "{d2}", "marks": 1.0, "showPrecisionHint": false}], "statement": "

Evaluate the following expressions:

", "variable_groups": [], "progress": "testing", "type": "question", "variables": {"a": {"definition": "random(2..9)", "name": "a"}, "f1": {"definition": "random(3..7 except e1)", "name": "f1"}, "c": {"definition": "random(2..8 except [a,b])", "name": "c"}, "b": {"definition": "random(2..11 except a)", "name": "b"}, "d": {"definition": "random(3..7)", "name": "d"}, "g": {"definition": "random(2..9)", "name": "g"}, "f": {"definition": "random(1..11 except[a,b,c,d,e])", "name": "f"}, "h": {"definition": "random(7..15)", "name": "h"}, "d2": {"definition": "random(3..11 except [a2,b2,c2])", "name": "d2"}, "a1": {"definition": "random(2..9)", "name": "a1"}, "a2": {"definition": "random(2..9)", "name": "a2"}, "b1": {"definition": "random(2..9 except a1)", "name": "b1"}, "b2": {"definition": "random(2..9 except a2)", "name": "b2"}, "c2": {"definition": "random(2..9 except [a2,b2])", "name": "c2"}, "c1": {"definition": "random(2..9 except [a1,b1])", "name": "c1"}, "g1": {"definition": "random(1..9)", "name": "g1"}, "e1": {"definition": "random(2..6)", "name": "e1"}, "d1": {"definition": "random(1..11 except [a1,b1,c1])", "name": "d1"}}, "metadata": {"notes": "", "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.

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Precedence of operators 4", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}], "functions": {}, "tags": ["BEDMAS", "BIDMAS", "BODMAS", "Precedence of Operators"], "advice": "[object Object]", "rulesets": {}, "parts": [{"prompt": "

$[(\\var{a}-\\var{b} \\div \\var{c}^\\var{d})+\\var{e1} \\times \\var{f}^\\var{g}] \\div (\\var{h}  \\times  \\var{i1}^\\var{j} -\\var{k}) \\times [\\var{l} -\\var{m} \\times \\var{n} + \\var{p} \\div \\var{q}]$

", "minvalue": "{t*(l-m*n+s)}", "type": "numberentry", "maxvalue": "{t*(l-m*n+s)}", "marks": 1.0, "showPrecisionHint": false}, {"prompt": "

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

", "minvalue": "{a2+b2*(-c2)^d2 +(e2-f2)^g2}", "type": "numberentry", "maxvalue": "{a2+b2*(-c2)^d2 +(e2-f2)^g2}", "marks": 1.0, "showPrecisionHint": false}], "statement": "

Evaluate the following expressions:

", "variable_groups": [], "progress": "testing", "type": "question", "variables": {"f2": {"definition": "random(1..11 except e2)", "name": "f2"}, "b2": {"definition": "random(3..7)", "name": "b2"}, "d2": {"definition": "random(2..4)", "name": "d2"}, "g2": {"definition": "random(2..3)", "name": "g2"}, "i1": {"definition": "random(2..5 except [c,f])", "name": "i1"}, "a2": {"definition": "random(2..11)", "name": "a2"}, "c2": {"definition": "random(2..5)", "name": "c2"}, "e1": {"definition": "random(2..8)", "name": "e1"}, "e2": {"definition": "random(1..11)", "name": "e2"}, "a": {"definition": "(b/(c^d)) - e1*f^g +t*h*i1^j-t*k", "name": "a"}, "c": {"definition": "random(2..5)", "name": "c"}, "b": {"definition": "r*c^d", "name": "b"}, "d": {"definition": "random(2..4)", "name": "d"}, "g": {"definition": "random(2..4)", "name": "g"}, "f": {"definition": "random(2..5 except c)", "name": "f"}, "h": {"definition": "random(2..9)", "name": "h"}, "k": {"definition": "random(2..7)", "name": "k"}, "j": {"definition": "random(2..4)", "name": "j"}, "m": {"definition": "random(3..7)", "name": "m"}, "l": {"definition": "random(2..6)", "name": "l"}, "n": {"definition": "random(2..11)", "name": "n"}, "q": {"definition": "random(2..9)", "name": "q"}, "p": {"definition": "q*s", "name": "p"}, "s": {"definition": "random(3..11)", "name": "s"}, "r": {"definition": "random(2..9)", "name": "r"}, "t": {"definition": "random(2..4)", "name": "t"}}, "metadata": {"notes": "", "description": "

Questions testing understanding of the precedence of operators using BIDMAS. That is, they test Brackets, Indices, Division/Multiplication and Addition/Subtraction.

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "extensions": [], "custom_part_types": [], "resources": []}