// Numbas version: finer_feedback_settings {"name": "Mean missing data", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Mean missing data", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

rebelmaths

"}, "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "mean", "g", "tot"], "rulesets": {}, "functions": {}, "variables": {"tot": {"templateType": "anything", "name": "tot", "description": "", "group": "Ungrouped variables", "definition": "a+b+c+d"}, "g": {"templateType": "anything", "name": "g", "description": "", "group": "Ungrouped variables", "definition": "5*mean"}, "d": {"templateType": "anything", "name": "d", "description": "", "group": "Ungrouped variables", "definition": "random(1..9)"}, "c": {"templateType": "randrange", "name": "c", "description": "", "group": "Ungrouped variables", "definition": "random(1..9#1)"}, "b": {"templateType": "randrange", "name": "b", "description": "", "group": "Ungrouped variables", "definition": "random(1..9#1)"}, "mean": {"templateType": "anything", "name": "mean", "description": "", "group": "Ungrouped variables", "definition": "(a+b+c+d+f)/5"}, "f": {"templateType": "anything", "name": "f", "description": "", "group": "Ungrouped variables", "definition": "random(1..9)"}, "a": {"templateType": "anything", "name": "a", "description": "", "group": "Ungrouped variables", "definition": "random(1..9)"}}, "statement": "

Find the value of x given information about the mean

", "tags": ["mean", "Rebel", "REBEL", "rebel", "rebelmaths"], "variable_groups": [], "type": "question", "advice": "

$\\frac{\\var{a}+\\var{b}+\\var{c}+\\var{d}+x}{5}=\\var{mean}$,

\n

$\\var{a}+\\var{b}+\\var{c}+\\var{d}+x=5\\times\\var{mean}$,

\n

\n

$\\var{tot}+x=\\var{g}$,

\n

$x=\\var{g}-\\var{tot}$

\n

$x=\\var{f}$

\n

", "extensions": [], "parts": [{"variableReplacementStrategy": "originalfirst", "gaps": [{"correctAnswerFraction": false, "showFeedbackIcon": true, "maxValue": "{f}", "showCorrectAnswer": true, "marks": 1, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "allowFractions": false, "minValue": "{f}"}], "scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "stepsPenalty": "1", "marks": 0, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

The mean of $\\var{a}, \\var{b}, \\var{c}, \\var{d}$ and $x$ is $\\var{mean}$, find the value of $x$.

\n

$x=$[[0]]

", "steps": [{"variableReplacementStrategy": "originalfirst", "scripts": {}, "showFeedbackIcon": true, "variableReplacements": [], "type": "information", "marks": 0, "showCorrectAnswer": true, "prompt": "

To find the mean of a set of numbers add them together and divide by the number of numbers.

"}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}