// Numbas version: exam_results_page_options {"name": "Precedence of operators 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "name": "Precedence of operators 2", "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}], "extensions": [], "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": []}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}]}]}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}]}