// Numbas version: exam_results_page_options {"name": "Q8", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "", "functions": {}, "rulesets": {}, "variable_groups": [], "variables": {"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", "templateType": "anything", "group": "Ungrouped variables"}, "correctAnswer": {"description": "", "name": "correctAnswer", "definition": "expression(a/d + 'x^' + (b-1) + '+' + (c/d))", "templateType": "anything", "group": "Ungrouped variables"}, "Choice3": {"description": "", "name": "Choice3", "definition": "expression(a/d + 'x^' + b + '+' + (c/d))", "templateType": "anything", "group": "Ungrouped variables"}, "d": {"description": "", "name": "d", "definition": "random(3..9#2)", "templateType": "anything", "group": "Ungrouped variables"}, "Choice2": {"description": "", "name": "Choice2", "definition": "expression(a/d + 'x^' + (b-1) + '+' + c + 'x')", "templateType": "anything", "group": "Ungrouped variables"}, "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)", "templateType": "anything", "group": "Ungrouped variables"}, "c": {"description": "", "name": "c", "definition": "d*random(2..4)", "templateType": "anything", "group": "Ungrouped variables"}, "shuffledchoices": {"description": "", "name": "shuffledchoices", "definition": "//the choice texts, in the shuffled order\n map(choices[j],j,order)", "templateType": "anything", "group": "Ungrouped variables"}, "choicemarks": {"description": "", "name": "choicemarks", "definition": "//marks to award for each of the above choices\n [1,0,0,0]", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"description": "", "name": "b", "definition": "random(2..4)", "templateType": "anything", "group": "Ungrouped variables"}, "noneofthesemarks": {"description": "", "name": "noneofthesemarks", "definition": "//marks to award for selecting \"none of these\"\n 0", "templateType": "anything", "group": "Ungrouped variables"}, "Choice1": {"description": "", "name": "Choice1", "definition": "expression(a + 'x^' + b + '+' + (c/d))", "templateType": "anything", "group": "Ungrouped variables"}, "choices": {"description": "", "name": "choices", "definition": "//choices, apart from \"none of the above\"\n [correctAnswer,Choice1,Choice2,Choice3]", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"description": "", "name": "a", "definition": "d*random(5..9)", "templateType": "anything", "group": "Ungrouped variables"}}, "name": "Q8", "statement": "

Simplify $\\large\\simplify{({a}*x^{b}+{c}x)/({d}x)}$ 

", "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"marks": 0, "showCorrectAnswer": true, "minMarks": 0, "variableReplacementStrategy": "originalfirst", "displayColumns": 0, "maxMarks": 0, "scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "shuffleChoices": false, "displayType": "radiogroup", "type": "1_n_2", "choices": ["

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

", "

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

", "

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

", "

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

", "

None of these

"], "matrix": "marks"}], "extensions": [], "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["d", "a", "c", "b", "correctAnswer", "Choice1", "Choice2", "Choice3", "choices", "noneofthesemarks", "choicemarks", "marks", "shuffledchoices", "order"], "tags": [], "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/"}]}