// Numbas version: exam_results_page_options {"name": "Precedence of operators - everything except indices", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"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": {}, "name": "Precedence of operators - everything except indices", "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": "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/"}]}