// Numbas version: exam_results_page_options {"name": "Ugur's copy of Mean, Median, Mode", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4", "a7", "a6"], "extensions": ["stats"], "parts": [{"showCorrectAnswer": true, "gaps": [{"answer": "{precround(1/7*(a1+a2+a3+a4+a5+a6+a7),2)}", "showpreview": true, "scripts": {}, "vsetrange": [0, 1], "expectedvariablenames": [], "answersimplification": "std", "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "type": "jme", "showCorrectAnswer": true, "checkingaccuracy": 0.01, "checkingtype": "absdiff", "checkvariablenames": false, "showFeedbackIcon": true, "marks": 2}], "scripts": {}, "prompt": "

$\\text{mean}=\\;\\;$[[0]] (correct to two decimal places)

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

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

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

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

", "marks": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "variableReplacements": [], "type": "gapfill"}], "name": "Ugur's copy of Mean, Median, Mode", "variables": {"a7": {"definition": "random(131..140)", "name": "a7", "group": "Ungrouped variables", "description": "", "templateType": "anything"}, "a2": {"definition": "random(116..121)", "name": "a2", "group": "Ungrouped variables", "description": "", "templateType": "anything"}, "a6": {"definition": "random(126..130)", "name": "a6", "group": "Ungrouped variables", "description": "", "templateType": "anything"}, "a4": {"definition": "random(122..125)", "name": "a4", "group": "Ungrouped variables", "description": "", "templateType": "anything"}, "a1": {"definition": "random(110..115)", "name": "a1", "group": "Ungrouped variables", "description": "", "templateType": "anything"}, "a3": {"definition": "a2", "name": "a3", "group": "Ungrouped variables", "description": "", "templateType": "anything"}, "a5": {"definition": "random(126..130 except a6)", "name": "a5", "group": "Ungrouped variables", "description": "", "templateType": "anything"}}, "tags": [], "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}$.

\n

Calculate the mean, median and mode of these emissions.

", "metadata": {"description": "
\n

Topics covered are calculating the mean, median, mode and standard deviation.

\n

rebelmaths

\n
", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "preamble": {"js": "", "css": ""}, "advice": "

Mean: Add up all the numbers and divide by the number of numbers.

\n

Median: middle value

\n

Mode: most common value

\n

", "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}, {"name": "Paul Finley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2232/"}, {"name": "Ugur Efem", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14200/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}, {"name": "Paul Finley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2232/"}, {"name": "Ugur Efem", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/14200/"}]}