// Numbas version: exam_results_page_options {"name": "BIDMAS practise 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "BIDMAS practise 1", "tags": [], "metadata": {"description": "

Use the BODMAS rule to determine the order in which to evaluate some arithmetic expressions. 

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "

Division and multiplication have the same priority, so we just work from left to right. $\\var{int*int} ÷ \\var{int}  = \\var{int}$ and hence

\n

\\[\\begin{align} \\var{int*int} ÷ \\var{int} \\times \\var{int} &= \\var{int} \\times \\var{int} \\\\&= \\var{int*int} \\text{.}   \\end{align}\\]

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"int": {"name": "int", "group": "Ungrouped variables", "definition": "random(2..10 except sint)", "description": "

Random integer from 2 to 10.

", "templateType": "anything", "can_override": false}, "oint": {"name": "oint", "group": "Ungrouped variables", "definition": "random(1..9 #2 except int except sint)", "description": "

Random odd integer from 1 to 9.

", "templateType": "anything", "can_override": false}, "bint": {"name": "bint", "group": "Ungrouped variables", "definition": "random(20..50)", "description": "

A random slightly bigger integer.

", "templateType": "anything", "can_override": false}, "pint": {"name": "pint", "group": "Ungrouped variables", "definition": "random(1..4 except 3)", "description": "

1, 2 or 4.

", "templateType": "anything", "can_override": false}, "eint": {"name": "eint", "group": "Ungrouped variables", "definition": "random(1..9 #2 except int except sint)", "description": "

Random even integer from 2 to 10.

", "templateType": "anything", "can_override": false}, "sint": {"name": "sint", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "

Random integer from 1 to 5.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["int", "sint", "eint", "oint", "pint", "bint"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"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, "prompt": "

$\\var{int*int} ÷ \\var{int} \\times \\var{int} =$  $?$

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

{int*int}

", "

{int}

", "

1

"], "matrix": ["1", 0, 0], "distractors": ["", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Stanislav Duris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1590/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Stanislav Duris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1590/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}