// Numbas version: exam_results_page_options {"name": "Averages from frequency tables (mean, median and mode)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Averages from frequency tables (mean, median and mode)", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

The table below shows the distribution of degree marks amongst 100 students at the end of a Maths course.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Degree markFrequency
[70.0 - 100.0]21
[60.0 - 70.0)47
[50.0 - 60.0)23
[40.0 - 50.0)6
[0.0 - 40.0)3
", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"Mid_1": {"name": "Mid_1", "group": "Ungrouped variables", "definition": "(70+100)/2", "description": "", "templateType": "anything", "can_override": false}, "Mid_2_1": {"name": "Mid_2_1", "group": "Ungrouped variables", "definition": "(60+70)/2", "description": "", "templateType": "anything", "can_override": false}, "Mid_2_2": {"name": "Mid_2_2", "group": "Ungrouped variables", "definition": "(50+60)/2", "description": "", "templateType": "anything", "can_override": false}, "Mid_3": {"name": "Mid_3", "group": "Ungrouped variables", "definition": "(40+50)/2", "description": "", "templateType": "anything", "can_override": false}, "Mid_fail": {"name": "Mid_fail", "group": "Ungrouped variables", "definition": "40/2", "description": "", "templateType": "anything", "can_override": false}, "mean": {"name": "mean", "group": "Ungrouped variables", "definition": "((Mid_1*21)+(Mid_2_1*47)+(Mid_2_2*23)+(Mid_3*6)+(Mid_fail*3))/100", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["Mid_1", "Mid_2_1", "Mid_2_2", "Mid_3", "Mid_fail", "mean"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Mean", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the mean degree mark?

", "minValue": "mean", "maxValue": "mean", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "1_n_2", "useCustomName": true, "customName": "Median", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Which is the median degree mark?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["[70.0 - 100.0)", "[60.0 - 70.0)", "[50.0 - 60.0)", "[40.0 - 50.0)", "[0.0 - 40.0)"], "matrix": [0, "1", 0, 0, 0], "distractors": ["", "", "", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "Mode", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is the mode degree mark?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["[70.0 - 100.0]", "[60.0 - 70.0)", "[50.0 - 60.0)", "[40.0 - 50.0)", "[0.0 - 40.0)"], "matrix": [0, "1", 0, 0, 0], "distractors": ["", "", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}, {"name": "Marta Emmett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11961/"}]}]}], "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}, {"name": "Marta Emmett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11961/"}]}