// Numbas version: finer_feedback_settings {"name": "Multiple choice: pick the range a number lies in", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Multiple choice: pick the range a number lies in", "tags": [], "metadata": {"description": "
Example showing how to mark a \"choose one from a list\" part where the student has to pick the range a given number lies in.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "$n = \\var{n}$
", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"n": {"name": "n", "group": "Ungrouped variables", "definition": "random(1 .. 110#1)", "description": "", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["n"], "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, "prompt": "Which range does $n$ lie in?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$n \\lt 20$", "$20 \\leq n \\lt 40$", "$40 \\leq n \\lt 60$", "$60 \\leq n \\lt 80$", "$80 \\leq n \\lt 100$", "$n \\geq 100$"], "matrix": ["award(1, n < 20)", "award(1, 20 <= n < 40)", "award(1, 40 <= n < 60)", "award(1, 60 <= n < 80)", "award(1, 80 <= n < 100)", "award(1, n >= 100)"], "distractors": ["", "", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}