// Numbas version: finer_feedback_settings
{"name": "BODMAS", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "BODMAS", "tags": [], "metadata": {"description": "
This question is to practice order of precedence in mathematical expressions.
Please use * for multiplication and / for division.
", "licence": "None specified"}, "statement": "Every mathematical expression has a clear evaluation based on the order in which we carry out a calculation.
\nThe order is (from highest precedence to lowest precedence):
\n\n- Brackets
\n- Powers (Remember powers go from right to left eg $2^{{3}^{2}}=2^{9}=512$ and not $2^{{3}^{2}}=8^2=64$)
\n- Multiplication/Division
\n- Addition/Subtraction
\n
\nSimplify: $(\\var{a}-\\var{b})\\times \\var{c}+\\var{d}\\div{\\var{f}}$.
", "advice": "Remember that brackets are the highest order of precedence. So always do those first.
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(1 .. 10#1)", "description": "", "templateType": "randrange", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "f*random(2,4)\n", "description": "", "templateType": "anything", "can_override": false}, "start": {"name": "start", "group": "Expressions", "definition": "expression(\"({a}-{b})*{c}+{d}/{f}\")", "description": "", "templateType": "anything", "can_override": false}, "first": {"name": "first", "group": "Expressions", "definition": "expression(\"({a-b})*{c}+{d}/{f}\")", "description": "", "templateType": "anything", "can_override": false}, "second_one": {"name": "second_one", "group": "Expressions", "definition": "expression(\"{(a-b)*c}+{d}/{f}\")", "description": "", "templateType": "anything", "can_override": false}, "second_two": {"name": "second_two", "group": "Expressions", "definition": "expression(\"({a-b})*{c}+{d/f}\")", "description": "", "templateType": "anything", "can_override": false}, "third": {"name": "third", "group": "Expressions", "definition": "expression(\"{(a-b)*c}+{d/f}\")", "description": "", "templateType": "anything", "can_override": true}, "fourth": {"name": "fourth", "group": "Expressions", "definition": "expression(\"{(a-b)*c+d/f}\")", "description": "", "templateType": "anything", "can_override": false}, "fstring": {"name": "fstring", "group": "Strings", "definition": "string(first)\n", "description": "", "templateType": "anything", "can_override": false}, "fops": {"name": "fops", "group": "Strings", "definition": "length(fstring)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "f", "d"], "variable_groups": [{"name": "Parameters", "variables": []}, {"name": "Expressions", "variables": ["start", "first", "second_one", "second_two", "third", "fourth"]}, {"name": "Strings", "variables": ["fstring", "fops"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Select the operation that you perform to simplify the expression and write the new resulting from performing this operation. If you select brackets, you should replace the bracketed expression by a new expression. eg (4+3)-2 would be come 7-2
\n\n\n\n[[0]] | \n[[1]] | \n
\n\n[[2]] | \n[[3]] | \n
\n\n[[4]] | \n[[5]] | \n
\n\n[[6]] | \n[[7]] | \n
\n\n
\n", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{first}", "answerSimplification": "!all", "showPreview": false, "checkingType": "absdiff", "checkingAccuracy": "0.000", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "{first}", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": "", "showCellAnswerState": true, "choices": ["Brackets", "Powers", "Multiplication/Division", "Addition/Subtraction"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "alternatives": [{"type": "jme", "useCustomName": true, "customName": "Division Before Multiplication", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "answer": "{second_two}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "{second_two}", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}, {"type": "jme", "useCustomName": true, "customName": "Multiplication Before Division", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "answer": "{second_one}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "{second_one}", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}], "answer": "{second_one}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "{second_two}", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": "", "showCellAnswerState": true, "choices": ["Brackets", "Powers", "Multiplication/Division", "Addition/Subtraction"], "matrix": [0, 0, "1", 0], "distractors": ["", "", "", ""]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{third}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "{third}", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": "", "showCellAnswerState": true, "choices": ["Brackets", "Powers", "Multiplication/Division ", "Addition/Subtraction"], "matrix": [0, 0, "1", "0"], "distractors": ["", "", "", ""]}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{fourth}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.00", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": true, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "mustmatchpattern": {"pattern": "{fourth}", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}, {"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": "", "showCellAnswerState": true, "choices": ["Brackets", "Powers", "Multiplication/Division", "Addition/Subtraction"], "matrix": [0, 0, 0, "1"], "distractors": ["", "", "", ""]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Julien Ugon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3575/"}, {"name": "Kerri Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18199/"}]}]}], "contributors": [{"name": "Julien Ugon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3575/"}, {"name": "Kerri Morgan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18199/"}]}