// Numbas version: exam_results_page_options {"name": "The order of operations: the four basic operations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["a", "b", "c", "ans1", "d", "f", "g", "ans2", "ans3", "list"], "statement": "

Write the following questions down on paper and evaluate them without using a calculator.

\n

If you are unsure of how to do a question, click on Show steps to see the full working. Then, once you understand how to do the question, click on Try another question like this one to start again.

", "tags": ["order of operations", "precedence"], "variable_groups": [], "rulesets": {}, "parts": [{"customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

$\\var{a}+\\var{b}\\times\\var{c}=$ [[0]]

", "sortAnswers": false, "steps": [{"variableReplacementStrategy": "originalfirst", "marks": 0, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

The order of operation dictates that we deal with multiplication (and division) before addition (and subtraction), that is 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{a}+\\var{b}\\times\\var{c}$$=$$\\var{a}+\\var{b*c}$
$=$$\\var{ans1}$
", "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "information", "showCorrectAnswer": true}], "variableReplacementStrategy": "originalfirst", "stepsPenalty": "1", "type": "gapfill", "showCorrectAnswer": true, "marks": 0, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "scripts": {}, "gaps": [{"customMarkingAlgorithm": "", "maxValue": "{ans1}", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showCorrectAnswer": true, "marks": 1, "mustBeReduced": false, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "minValue": "{ans1}", "allowFractions": false, "scripts": {}, "notationStyles": ["plain", "en", "si-en"]}]}, {"customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

$\\var{d}-\\var{f}\\div\\var{g}=$ [[0]]

", "sortAnswers": false, "steps": [{"variableReplacementStrategy": "originalfirst", "marks": 0, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

The order of operation dictates that we deal with multiplication (and division) before addition (and subtraction), that is 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{d}-\\var{f}\\div\\var{g}$$=$$\\var{d}-\\var{a}$
$=$$\\var{ans2}$
", "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "information", "showCorrectAnswer": true}], "variableReplacementStrategy": "originalfirst", "stepsPenalty": "1", "type": "gapfill", "showCorrectAnswer": true, "marks": 0, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "scripts": {}, "gaps": [{"customMarkingAlgorithm": "", "maxValue": "{ans2}", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "correctAnswerFraction": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showCorrectAnswer": true, "marks": 1, "mustBeReduced": false, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "minValue": "{ans2}", "allowFractions": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"]}]}, {"customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

$\\var{d}\\times\\var{c}-\\var{b}\\times\\var{a}+\\var{g^2}\\div \\var{g}=$ [[0]]

", "sortAnswers": false, "steps": [{"variableReplacementStrategy": "originalfirst", "marks": 0, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "prompt": "

The order of operation dictates that we deal with multiplication and division before addition and subtraction, that is 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{d}\\times\\var{c}-\\var{b}\\times\\var{a}+\\var{g^2}\\div \\var{g}$$=$$\\var{d*c}-\\var{a*b}+\\var{g}$
$=$$\\var{ans3}$
", "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "scripts": {}, "type": "information", "showCorrectAnswer": true}], "variableReplacementStrategy": "originalfirst", "stepsPenalty": "1", "type": "gapfill", "showCorrectAnswer": true, "marks": 0, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "scripts": {}, "gaps": [{"customMarkingAlgorithm": "", "maxValue": "{ans3}", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "correctAnswerFraction": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showCorrectAnswer": true, "marks": 1, "mustBeReduced": false, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "minValue": "{ans3}", "allowFractions": true, "scripts": {}, "notationStyles": ["plain", "en", "si-en"]}]}], "variables": {"ans2": {"description": "", "definition": "d-a", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2"}, "d": {"description": "", "definition": "random(-6..6 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "d"}, "g": {"description": "", "definition": "list[3]", "templateType": "anything", "group": "Ungrouped variables", "name": "g"}, "c": {"description": "", "definition": "list[3]", "templateType": "anything", "group": "Ungrouped variables", "name": "c"}, "a": {"description": "", "definition": "list[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "a"}, "f": {"description": "", "definition": "a*g", "templateType": "anything", "group": "Ungrouped variables", "name": "f"}, "ans1": {"description": "", "definition": "a+b*c", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1"}, "ans3": {"description": "", "definition": "d*c-a*b+g", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3"}, "b": {"description": "", "definition": "list[2]", "templateType": "anything", "group": "Ungrouped variables", "name": "b"}, "list": {"description": "", "definition": "shuffle(2..12)[0..4]", "templateType": "anything", "group": "Ungrouped variables", "name": "list"}}, "functions": {}, "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "name": "The order of operations: the four basic operations", "advice": "", "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "extensions": [], "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}