// Numbas version: exam_results_page_options {"name": "David's copy of Q9 using \\large", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"correctAnswer": {"templateType": "anything", "group": "Ungrouped variables", "definition": "expression('(' + a + 'b^2+' + {b} + 'a^2)/(a*b)' )", "name": "correctAnswer", "description": ""}, "Choice1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "expression('(' + a + 'b^2+' + {b} + 'a^2)/(a+b)' )", "name": "Choice1", "description": ""}, "choicemarks": {"templateType": "anything", "group": "Ungrouped variables", "definition": "//marks to award for each of the above choices\n [1,0,0,0]", "name": "choicemarks", "description": ""}, "Choice2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "expression('(' + a*b + 'a)/b' )", "name": "Choice2", "description": ""}, "order": {"templateType": "anything", "group": "Ungrouped variables", "definition": "//the order in which to display the choices - pick a random permutation of [0,1,2,3,4]\n deal(4)", "name": "order", "description": ""}, "b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..6 except a)", "name": "b", "description": ""}, "marks": {"templateType": "anything", "group": "Ungrouped variables", "definition": "//marks to award for each choice, then append the marks for \"none of the above\"\n map(choicemarks[j],j,order)+noneofthesemarks", "name": "marks", "description": ""}, "a": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..5)", "name": "a", "description": ""}, "noneofthesemarks": {"templateType": "anything", "group": "Ungrouped variables", "definition": "//marks to award for selecting \"none of these\"\n 0", "name": "noneofthesemarks", "description": ""}, "shuffledchoices": {"templateType": "anything", "group": "Ungrouped variables", "definition": "//the choice texts, in the shuffled order\n map(choices[j],j,order)", "name": "shuffledchoices", "description": ""}, "Choice3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "expression('(' + a + 'b+' + {b} + 'a)/(a*b)' )", "name": "Choice3", "description": ""}, "choices": {"templateType": "anything", "group": "Ungrouped variables", "definition": "//choices, apart from \"none of the above\"\n [correctAnswer,Choice1,Choice2,Choice3]", "name": "choices", "description": ""}}, "parts": [{"choices": ["

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

", "

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

", "

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

", "

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

", "

None of these

"], "matrix": "marks", "minMarks": 0, "displayType": "radiogroup", "marks": 0, "type": "1_n_2", "scripts": {}, "prompt": "

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

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "shuffleChoices": false, "maxMarks": 0, "displayColumns": 0, "variableReplacements": [], "showFeedbackIcon": true}], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "advice": "", "name": "David's copy of Q9 using \\large", "functions": {}, "rulesets": {}, "tags": [], "statement": "

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

", "ungrouped_variables": ["a", "b", "correctAnswer", "Choice1", "Choice2", "Choice3", "choices", "noneofthesemarks", "choicemarks", "marks", "shuffledchoices", "order"], "variable_groups": [], "extensions": [], "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/"}]}