// Numbas version: exam_results_page_options {"name": "Mean, Median, Mode for Auto", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"js": "", "css": ""}, "tags": ["halesowen college", "median", "mode", "rebel", "Rebel", "REBEL", "rebelmaths", "sample mean", "standard deviation", "statistics", "teame"], "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4", "a7", "a6"], "question_groups": [{"pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0, "name": ""}], "type": "question", "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "variable_groups": [], "advice": "
Mean: Add up all the numbers and divide by the number of numbers.
\nMedian: middle value
\nMode: most common value
\n", "parts": [{"scripts": {}, "variableReplacements": [], "prompt": "$\\text{mean}=\\;\\;$[[0]] (correct to two decimal places)
", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "gaps": [{"expectedvariablenames": [], "answer": "{precround(1/7*(a1+a2+a3+a4+a5+a6+a7),2)}", "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "vsetrange": [0, 1], "showpreview": true, "checkingaccuracy": 0.01, "scripts": {}, "variableReplacements": [], "answersimplification": "std", "checkvariablenames": false, "showCorrectAnswer": true, "marks": 2, "type": "jme", "checkingtype": "absdiff"}], "showCorrectAnswer": true, "marks": 0, "type": "gapfill", "steps": [{"scripts": {}, "variableReplacements": [], "prompt": "To find the mean:
\n1. Add up all the numbers.
\n2. Divide by the number of numbers.
", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "type": "information"}]}, {"scripts": {}, "variableReplacements": [], "prompt": "$\\text{median}=\\;\\;$[[0]]
", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "type": "numberentry", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "marks": 2, "showCorrectAnswer": true, "minValue": "{a4}", "scripts": {}, "showPrecisionHint": false, "maxValue": "{a4}"}], "showCorrectAnswer": true, "marks": 0, "type": "gapfill", "steps": [{"scripts": {}, "variableReplacements": [], "prompt": "To find the median:
\nList the numbers in order of increasing size.
\nThe median is then the middle number.
", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "type": "information"}]}, {"scripts": {}, "variableReplacements": [], "prompt": "$\\text{mode}=\\;\\;$[[0]]
", "stepsPenalty": "1", "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "type": "numberentry", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "marks": 2, "showCorrectAnswer": true, "minValue": "{a2}", "scripts": {}, "showPrecisionHint": false, "maxValue": "{a2}"}], "showCorrectAnswer": true, "marks": 0, "type": "gapfill", "steps": [{"scripts": {}, "variableReplacements": [], "prompt": "The mode is the number that occurs most often.
", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "type": "information"}]}], "showQuestionGroupNames": false, "statement": "The fuel emissions (in g/km of CO2) of a sample of 7 diesel cars of similar type have been recorded as follows:
\n$\\var{a2}, \\var{a7}, \\var{a1}, \\var{a5}, \\var{a3}, \\var{a6}$ and $\\var{a4}$.
\nCalculate the mean, median and mode of these emissions.
Topics covered are calculating the mean, median, mode and standard deviation.
\nrebelmaths
\n