// Numbas version: exam_results_page_options {"name": "Ioannis's copy 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": [{"parts": [{"type": "gapfill", "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

To find the mean:

\n

1. Add up all the numbers.

\n

2. Divide by the number of numbers.

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

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

", "showCorrectAnswer": true, "stepsPenalty": "1", "variableReplacements": [], "marks": 0, "scripts": {}}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

To find the median:

\n

List the numbers in order of increasing size. 

\n

The median is then the middle number.

", "variableReplacementStrategy": "originalfirst", "type": "information", "showCorrectAnswer": true, "marks": 0, "variableReplacements": [], "scripts": {}}], "gaps": [{"allowFractions": false, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "maxValue": "{a4}", "showCorrectAnswer": true, "marks": 2, "variableReplacements": [], "minValue": "{a4}", "showPrecisionHint": false, "scripts": {}}], "prompt": "

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

", "showCorrectAnswer": true, "stepsPenalty": "1", "variableReplacements": [], "marks": 0, "scripts": {}}, {"type": "gapfill", "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

The mode is the number that occurs most often.

", "variableReplacementStrategy": "originalfirst", "type": "information", "showCorrectAnswer": true, "marks": 0, "variableReplacements": [], "scripts": {}}], "gaps": [{"allowFractions": false, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "maxValue": "{a2}", "showCorrectAnswer": true, "marks": 2, "variableReplacements": [], "minValue": "{a2}", "showPrecisionHint": false, "scripts": {}}], "prompt": "

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

", "showCorrectAnswer": true, "stepsPenalty": "1", "variableReplacements": [], "marks": 0, "scripts": {}}], "preamble": {"css": "", "js": ""}, "tags": ["halesowen college", "median", "mode", "rebel", "Rebel", "REBEL", "rebelmaths", "sample mean", "standard deviation", "statistics", "teame"], "advice": "

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

\n

Median: middle value

\n

Mode: most common value

\n

", "question_groups": [{"pickingStrategy": "all-ordered", "pickQuestions": 0, "name": "", "questions": []}], "type": "question", "extensions": ["stats"], "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.

", "name": "Ioannis's copy of Mean, Median, Mode for Auto", "functions": {}, "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4", "a7", "a6"], "variablesTest": {"maxRuns": 100, "condition": ""}, "variable_groups": [], "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "showQuestionGroupNames": false, "variables": {"a4": {"templateType": "anything", "name": "a4", "definition": "random(122..125)", "description": "", "group": "Ungrouped variables"}, "a3": {"templateType": "anything", "name": "a3", "definition": "a2", "description": "", "group": "Ungrouped variables"}, "a1": {"templateType": "anything", "name": "a1", "definition": "random(110..115)", "description": "", "group": "Ungrouped variables"}, "a7": {"templateType": "anything", "name": "a7", "definition": "random(131..140)", "description": "", "group": "Ungrouped variables"}, "a5": {"templateType": "anything", "name": "a5", "definition": "random(126..130 except a6)", "description": "", "group": "Ungrouped variables"}, "a2": {"templateType": "anything", "name": "a2", "definition": "random(116..121)", "description": "", "group": "Ungrouped variables"}, "a6": {"templateType": "anything", "name": "a6", "definition": "random(126..130)", "description": "", "group": "Ungrouped variables"}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "
\n

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

\n

rebelmaths

\n
"}, "contributors": [{"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}]}], "contributors": [{"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}