// Numbas version: exam_results_page_options {"name": "Q9", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "rulesets": {}, "name": "Q9", "preamble": {"js": "", "css": ""}, "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"b": {"description": "", "name": "b", "definition": "random(2..6 except a)", "group": "Ungrouped variables", "templateType": "anything"}, "Choice3": {"description": "", "name": "Choice3", "definition": "expression('(' + a + 'b+' + {b} + 'a)/(a*b)' )", "group": "Ungrouped variables", "templateType": "anything"}, "noneofthesemarks": {"description": "", "name": "noneofthesemarks", "definition": "//marks to award for selecting \"none of these\"\n 0", "group": "Ungrouped variables", "templateType": "anything"}, "correctAnswer": {"description": "", "name": "correctAnswer", "definition": "expression('(' + a + 'b^2+' + {b} + 'a^2)/(a*b)' )", "group": "Ungrouped variables", "templateType": "anything"}, "marks": {"description": "", "name": "marks", "definition": "//marks to award for each choice, then append the marks for \"none of the above\"\n map(choicemarks[j],j,order)+noneofthesemarks", "group": "Ungrouped variables", "templateType": "anything"}, "Choice1": {"description": "", "name": "Choice1", "definition": "expression('(' + a + 'b^2+' + {b} + 'a^2)/(a+b)' )", "group": "Ungrouped variables", "templateType": "anything"}, "choicemarks": {"description": "", "name": "choicemarks", "definition": "//marks to award for each of the above choices\n [1,0,0,0]", "group": "Ungrouped variables", "templateType": "anything"}, "shuffledchoices": {"description": "", "name": "shuffledchoices", "definition": "//the choice texts, in the shuffled order\n map(choices[j],j,order)", "group": "Ungrouped variables", "templateType": "anything"}, "order": {"description": "", "name": "order", "definition": "//the order in which to display the choices - pick a random permutation of [0,1,2,3,4]\n deal(4)", "group": "Ungrouped variables", "templateType": "anything"}, "a": {"description": "", "name": "a", "definition": "random(2..5)", "group": "Ungrouped variables", "templateType": "anything"}, "Choice2": {"description": "", "name": "Choice2", "definition": "expression('(' + a*b + 'a)/b' )", "group": "Ungrouped variables", "templateType": "anything"}, "choices": {"description": "", "name": "choices", "definition": "//choices, apart from \"none of the above\"\n [correctAnswer,Choice1,Choice2,Choice3]", "group": "Ungrouped variables", "templateType": "anything"}}, "parts": [{"scripts": {}, "matrix": "marks", "customMarkingAlgorithm": "", "type": "1_n_2", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "shuffleChoices": false, "variableReplacements": [], "marks": 0, "maxMarks": 0, "minMarks": 0, "displayColumns": 0, "displayType": "radiogroup", "extendBaseMarkingAlgorithm": true, "choices": ["

$\\large\\simplify{{shuffledchoices[0]}}$

", "

$\\large\\simplify{{shuffledchoices[1]}}$

", "

$\\large\\simplify{{shuffledchoices[2]}}$

", "

$\\large\\simplify{{shuffledchoices[3]}}$

", "

None of these

"], "showCorrectAnswer": true, "unitTests": []}], "statement": "

Simplify $\\displaystyle \\simplify{({a}*b)/(a)+{b}a/b}$ 

", "ungrouped_variables": ["a", "b", "correctAnswer", "Choice1", "Choice2", "Choice3", "choices", "noneofthesemarks", "choicemarks", "marks", "shuffledchoices", "order"], "functions": {}, "advice": "", "variable_groups": [], "type": "question", "contributors": [{"name": "David Wishart", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1461/"}]}]}], "contributors": [{"name": "David Wishart", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1461/"}]}