// Numbas version: finer_feedback_settings {"name": "Q1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Q1", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "
Evaluate $\\simplify{{a}-{b}x^2}$ when $x =\\var{x}$
", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"choicemarks": {"name": "choicemarks", "group": "Ungrouped variables", "definition": "//marks to award for each of the above choices\n [1,0,0,0]", "description": "", "templateType": "anything", "can_override": false}, "Choice2": {"name": "Choice2", "group": "Ungrouped variables", "definition": "a+b*x^2", "description": "", "templateType": "anything", "can_override": false}, "order": {"name": "order", "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)", "description": "", "templateType": "anything", "can_override": false}, "noneofthesemarks": {"name": "noneofthesemarks", "group": "Ungrouped variables", "definition": "//marks to award for selecting \"none of these\"\n 0", "description": "", "templateType": "anything", "can_override": false}, "Choice3": {"name": "Choice3", "group": "Ungrouped variables", "definition": "b*x^2-a", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..4)", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(-5..-2)", "description": "", "templateType": "anything", "can_override": false}, "choices": {"name": "choices", "group": "Ungrouped variables", "definition": "//choices, apart from \"none of the above\"\n [correctAnswer,Choice1,Choice2,Choice3]", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "Choice1": {"name": "Choice1", "group": "Ungrouped variables", "definition": "a-2b*x^2", "description": "", "templateType": "anything", "can_override": false}, "marks": {"name": "marks", "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", "description": "", "templateType": "anything", "can_override": false}, "correctAnswer": {"name": "correctAnswer", "group": "Ungrouped variables", "definition": "a-b*x^2", "description": "", "templateType": "anything", "can_override": false}, "shuffledchoices": {"name": "shuffledchoices", "group": "Ungrouped variables", "definition": "//the choice texts, in the shuffled order\n map(choices[j],j,order)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "x", "correctAnswer", "Choice1", "Choice2", "Choice3", "choices", "choicemarks", "order", "marks", "shuffledchoices", "noneofthesemarks"], "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, "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{shuffledchoices[0]}
", "{shuffledchoices[1]}
", "{shuffledchoices[2]}
", "{shuffledchoices[3]}
", "None of these
"], "matrix": "marks"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "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/"}]}