// Numbas version: exam_results_page_options {"name": "BODMAS 2 - Mixed Questions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "s"], "name": "BODMAS 2 - Mixed Questions", "tags": ["bedmas", "BEDMAS", "bidmas", "BIDMAS", "bodmas", "BODMAS"], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

$\\var{a} - \\var{b}^2=$

", "allowFractions": false, "variableReplacements": [], "maxValue": "{a}-{b}^2", "minValue": "{a}-{b}^2", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

$\\var{a}(\\var{f} - \\var{d})^3= $

", "allowFractions": false, "variableReplacements": [], "maxValue": "({a}*({f}-{d})^3)", "minValue": "({a}*({f}-{d})^3)", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"vsetrangepoints": 5, "prompt": "

$\\var{a}a \\times \\var{b} \\simplify{+ {g}a} \\times \\var{h}=$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{a}*{b}*a+{g}*{h}*a", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"prompt": "

$ \\var{s}^{0.5} - \\var{a}= $

", "allowFractions": false, "variableReplacements": [], "maxValue": "sqrt({s})-{a}", "minValue": "sqrt({s})-{a}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"vsetrangepoints": 5, "prompt": "

Express your answer to this part as a single fraction, in the form (numerator)/(denominator).

\n

$ \\frac{\\var{a}x+\\var{b}}{\\var{c}}-\\var{d}=$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "({a}*x+{b}-{d}*{c})/{c}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "

To input an order, type a^b for example, which will display as $a^b$

\n

$ (\\var{h}p)^2-(\\var{b}p)^2+(-\\var{c}p)^2=$

", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "({h}^2-{b}^2+{c}^2)*p^2", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "statement": "

Calculate the following equations using BODMAS.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(2..20)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(4..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(8..14)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(-5..-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(10..16 except{d})", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "j": {"definition": "(1/{b})*(9/{c}^2)", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}, "s": {"definition": "random(4,9,25,36,49,64,81,100,121,144,169)", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": "

squares

"}}, "metadata": {"notes": "", "description": "

Using BODMAS within mathematical expressions

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}