// Numbas version: finer_feedback_settings {"name": "Catherine's copy of SOEE5154 - Mean, median, mode ", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "extensions": ["stats"], "tags": [], "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4", "a7", "a6"], "functions": {}, "name": "Catherine's copy of SOEE5154 - Mean, median, mode ", "advice": "

Mean: $\\mu = \\frac{1}{N}\\sum\\limits_{i=1}^N x_i$

\n

Median: middle value

\n

Mode: most common value

\n

Range: Highest value - lowest value

", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "
\n

Exam covering questions on the Errorsr part of the SOEE5154M Maths course.

\n

Topics covered are calculating the mean, median, mode.

\n

rebelmaths

\n
"}, "variable_groups": [], "variables": {"a4": {"definition": "random(1..3)", "templateType": "anything", "name": "a4", "group": "Ungrouped variables", "description": ""}, "a2": {"definition": "random(7..8)", "templateType": "anything", "name": "a2", "group": "Ungrouped variables", "description": ""}, "a6": {"definition": "random(4..6)", "templateType": "anything", "name": "a6", "group": "Ungrouped variables", "description": ""}, "a7": {"definition": "a4", "templateType": "anything", "name": "a7", "group": "Ungrouped variables", "description": ""}, "a5": {"definition": "random(-4..-3)", "templateType": "anything", "name": "a5", "group": "Ungrouped variables", "description": ""}, "a3": {"definition": "random(-6..-5)", "templateType": "anything", "name": "a3", "group": "Ungrouped variables", "description": ""}, "a1": {"definition": "random(-2..-1)", "templateType": "anything", "name": "a1", "group": "Ungrouped variables", "description": ""}}, "statement": "

For the last 7 days in October, the express train arrived late at it's destination by the times (in minutes) listed below. A negative number means that the trian was early by that number of minutes. Calculate the mean, median, mode and range of the data.

\n

$\\var{a1}, \\var{a2}, \\var{a3}, \\var{a4}, \\var{a5}, \\var{a6}, \\var{a7}$ .

", "parts": [{"gaps": [{"precisionPartialCredit": "0", "allowFractions": false, "maxValue": "1/7*{(a1+a2+a3+a4+a5+a6+a7)}", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "precisionType": "dp", "minValue": "1/7*{(a1+a2+a3+a4+a5+a6+a7)}", "showPrecisionHint": false, "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "precision": "1", "type": "numberentry", "scripts": {}, "mustBeReducedPC": 0, "strictPrecision": false, "showFeedbackIcon": true, "correctAnswerFraction": false, "mustBeReduced": false, "precisionMessage": "You have not given your answer to the correct precision.", "marks": "1"}], "type": "gapfill", "scripts": {}, "prompt": "

$\\text{mean}=\\;\\;$[[0]]

\n

Enter decimal answers to 1 decimal places.

", "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "marks": 0}, {"gaps": [{"allowFractions": false, "maxValue": "{a4}", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "minValue": "{a4}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "type": "numberentry", "scripts": {}, "mustBeReducedPC": 0, "showFeedbackIcon": true, "correctAnswerFraction": false, "mustBeReduced": false, "marks": 2}], "type": "gapfill", "scripts": {}, "prompt": "

$\\text{median}=\\;\\;$[[0]]

", "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "marks": 0}, {"gaps": [{"allowFractions": false, "maxValue": "{a4}", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "minValue": "{a4}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "type": "numberentry", "scripts": {}, "mustBeReducedPC": 0, "showFeedbackIcon": true, "correctAnswerFraction": false, "mustBeReduced": false, "marks": 2}], "type": "gapfill", "scripts": {}, "prompt": "

$\\text{mode}=\\;\\;$[[0]]

", "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "marks": 0}, {"gaps": [{"expectedvariablenames": [], "answersimplification": "std", "variableReplacements": [], "showCorrectAnswer": true, "checkvariablenames": false, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "answer": "{a2-a3}", "checkingtype": "absdiff", "showpreview": true, "scripts": {}, "showFeedbackIcon": true, "type": "jme", "checkingaccuracy": 0.01, "vsetrange": [0, 1], "marks": 2}], "type": "gapfill", "scripts": {}, "prompt": "

$\\text{range}=\\;\\;$[[0]]

", "variableReplacements": [], "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "marks": 0}], "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}]}]}], "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}]}