// Numbas version: exam_results_page_options {"name": "Exam version of 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": ""}, "tags": [], "variable_groups": [], "name": "Exam version of Mean, Median, Mode for Auto", "variables": {"a2": {"definition": "random(116..121)", "name": "a2", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "a6": {"definition": "random(126..130)", "name": "a6", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "a4": {"definition": "random(122..125)", "name": "a4", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "a1": {"definition": "random(110..115)", "name": "a1", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "a3": {"definition": "a2", "name": "a3", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "a5": {"definition": "random(126..130 except a6)", "name": "a5", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "a7": {"definition": "random(131..140)", "name": "a7", "group": "Ungrouped variables", "templateType": "anything", "description": ""}}, "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "extensions": ["stats"], "functions": {}, "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4", "a7", "a6"], "advice": "

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

\n

Median: middle value

\n

Mode: most common value

\n

", "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.

", "parts": [{"marks": 0, "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "type": "gapfill", "prompt": "

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

", "gaps": [{"checkvariablenames": false, "scripts": {}, "showCorrectAnswer": true, "showFeedbackIcon": true, "answersimplification": "std", "answer": "{precround(1/7*(a1+a2+a3+a4+a5+a6+a7),2)}", "checkingtype": "absdiff", "marks": 2, "vsetrangepoints": 5, "variableReplacements": [], "vsetrange": [0, 1], "type": "jme", "showpreview": true, "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "checkingaccuracy": 0.01}], "variableReplacementStrategy": "originalfirst"}, {"marks": 0, "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "type": "gapfill", "prompt": "

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

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

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

", "gaps": [{"notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "showCorrectAnswer": true, "allowFractions": false, "showFeedbackIcon": true, "variableReplacements": [], "scripts": {}, "maxValue": "{a2}", "minValue": "{a2}", "marks": 2, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "variableReplacementStrategy": "originalfirst"}], "variableReplacementStrategy": "originalfirst"}], "preamble": {"js": "", "css": ""}, "metadata": {"description": "
\n

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

\n

rebelmaths

\n
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}