// Numbas version: exam_results_page_options {"name": "Function Quiz Q5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "functions": {}, "tags": [], "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"js": "", "css": ""}, "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": ""}, "name": "Function Quiz Q5", "variable_groups": [], "parts": [{"scripts": {}, "showCorrectAnswer": true, "customMarkingAlgorithm": "", "sortAnswers": false, "unitTests": [], "gaps": [{"checkingAccuracy": 0.001, "scripts": {}, "showCorrectAnswer": true, "customMarkingAlgorithm": "", "checkVariableNames": false, "unitTests": [], "checkingType": "absdiff", "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "answer": "{Answer1}", "extendBaseMarkingAlgorithm": true, "failureRate": 1, "variableReplacements": [], "type": "jme", "showFeedbackIcon": true, "vsetRange": [0, 1], "marks": 1, "expectedVariableNames": [], "showPreview": true}, {"checkingAccuracy": 0.001, "scripts": {}, "showCorrectAnswer": true, "customMarkingAlgorithm": "", "checkVariableNames": false, "unitTests": [], "checkingType": "absdiff", "vsetRangePoints": 5, "variableReplacementStrategy": "originalfirst", "answer": "{Answer2}", "extendBaseMarkingAlgorithm": true, "failureRate": 1, "variableReplacements": [], "type": "jme", "showFeedbackIcon": true, "vsetRange": [0, 1], "marks": 1, "expectedVariableNames": [], "showPreview": true}], "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "showFeedbackIcon": true, "prompt": "

What is the value of $f(\\var{Input1})$? [[0]]

\n

What is the value of $f(\\var{Input2})$? [[1]]

", "marks": 0}], "ungrouped_variables": ["a", "b", "c", "d", "b0", "b1", "b2", "Answer1", "Answer2", "Input1", "Input2"], "variables": {"c": {"name": "c", "definition": "random(-2..2 except 0)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b1": {"name": "b1", "definition": "b0+2", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b2": {"name": "b2", "definition": "b1+3", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b0": {"name": "b0", "definition": "random(1..3)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "d": {"name": "d", "definition": "random(2..8)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "Answer1": {"name": "Answer1", "definition": "{a}*{Input1}+{b}", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "Input1": {"name": "Input1", "definition": "b0+1", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "Input2": {"name": "Input2", "definition": "{b2}+4", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "a": {"name": "a", "definition": "random(2..5)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "b": {"name": "b", "definition": "random(1..3)", "templateType": "anything", "description": "", "group": "Ungrouped variables"}, "Answer2": {"name": "Answer2", "definition": "{c}*({b2}+4)^2+{d}", "templateType": "anything", "description": "", "group": "Ungrouped variables"}}, "statement": "

Given the real function below, you should be able to determine its domain. 

\n

$\\simplify{f}(\\simplify{x})=\\left\\{\\begin{align}&\\simplify{0},&& \\text{ for } \\simplify{x}< \\var{b0}, \\\\&\\simplify{{a}x+{b}},&& \\text{ for } \\var{b0}\\leq \\simplify{x}< \\var{b1},\\\\ &\\simplify{{c}x^2+{d}},&& \\text{ for } \\var{b1}\\leq\\simplify{x}< \\var{b2},\\end{align}\\right.$

", "advice": "", "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Joshua Calcutt", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3267/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Joshua Calcutt", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3267/"}]}