// Numbas version: finer_feedback_settings {"name": "Catherine's copy of Mean, median and mode from a frequency table with classes 1c", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "advice": "
\n", "tags": [], "statement": "The following gives the age distribution of the 160 members of a local athletics club
\nClass (Age in years) | \nfrequency (No of members) | \n
---|---|
{q-5} but less than {q+5} | \n{a} | \n
{p-5} but less than {p+5} | \n{b} | \n
{s-5} but less than {s+5} | \n{c} | \n
{r-5} but less than {r+5} | \n{d} | \n
\n | \n |
", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(20..30)", "name": "a"}, "x": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(-5..25#10)", "name": "x"}, "r": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "x+40", "name": "r"}, "t": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "x+50", "name": "t"}, "Median": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "s-5+10*(80-(a+b))/c", "name": "Median"}, "mode": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "s-5+10*((c-b)/(2c-(b+d)))", "name": "mode"}, "p": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "x+20", "name": "p"}, "s": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "x+30", "name": "s"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "metadata": {"description": "
Scores in 20 games and frequency given -- calculate mean.
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "name": "Catherine's copy of Mean, median and mode from a frequency table with classes 1c", "rulesets": {}, "functions": {}, "preamble": {"css": "", "js": ""}, "parts": [{"correctAnswerFraction": false, "precisionMessage": "You have not given your answer to the correct precision.", "precision": 0, "precisionType": "dp", "allowFractions": false, "correctAnswerStyle": "plain", "mustBeReduced": false, "precisionPartialCredit": 0, "variableReplacements": [], "showFeedbackIcon": true, "maxValue": "mean", "prompt": "\nCalculate the mean of the data to the nearest whole number.
", "showPrecisionHint": true, "scripts": {}, "minValue": "mean", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "marks": "3", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "mustBeReducedPC": 0, "type": "numberentry"}], "ungrouped_variables": ["a", "c", "b", "d", "q", "p", "s", "r", "t", "stdev", "mean", "x", "Total", "data", "mode", "Median"], "type": "question", "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}]}]}], "contributors": [{"name": "Catherine Palmer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/423/"}]}