// Numbas version: finer_feedback_settings {"name": "Mean, median and mode from a frequency table with classes 2c", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["a", "c", "b", "d", "q", "p", "s", "t", "mean", "r", "x", "Total", "stdev", "data", "mode", "Median"], "parts": [{"precisionMessage": "You have not given your answer to the correct precision.", "integerAnswer": true, "precision": 0, "correctAnswerStyle": "plain", "precisionPartialCredit": 0, "prompt": "
\nCalculate the mean of the data to the nearest whole number.
", "minValue": "mean", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "strictPrecision": false, "marks": "2", "maxValue": "mean", "type": "numberentry", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "precisionType": "dp", "showPrecisionHint": true, "integerPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true}, {"precisionMessage": "You have not given your answer to the correct precision.", "integerAnswer": true, "precision": 0, "correctAnswerStyle": "plain", "precisionPartialCredit": 0, "prompt": "Calculate the standard deviation of the data to the nearest whole number.
", "minValue": "stdev", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "strictPrecision": false, "marks": "4", "maxValue": "stdev", "type": "numberentry", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "precisionType": "dp", "showPrecisionHint": true, "integerPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true}, {"precisionMessage": "You have not given your answer to the correct precision.", "integerAnswer": true, "precision": 0, "correctAnswerStyle": "plain", "precisionPartialCredit": 0, "prompt": "Calculate the median of the data to the nearest whole number.
", "minValue": "median", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "strictPrecision": false, "marks": "3", "maxValue": "median", "type": "numberentry", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "precisionType": "dp", "showPrecisionHint": true, "integerPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true}, {"precisionMessage": "You have not given your answer to the correct precision.", "integerAnswer": true, "precision": 0, "correctAnswerStyle": "plain", "precisionPartialCredit": 0, "prompt": "Calculate the mode of the data to the nearest whole number.
", "minValue": "mode", "variableReplacements": [], "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "strictPrecision": false, "marks": "3", "maxValue": "mode", "type": "numberentry", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "precisionType": "dp", "showPrecisionHint": true, "integerPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true}], "statement": "The following gives the age distribution of the 180 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", "name": "a", "definition": "random(5..20)"}, "t": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "t", "definition": "x+50"}, "mean": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "mean", "definition": "Total/180"}, "x": {"description": "", "group": "Ungrouped variables", "templateType": "randrange", "name": "x", "definition": "random(-5..25#10)"}, "stdev": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "stdev", "definition": "sqrt((a*q^2 + b*p^2+c*s^2 +d*r^2)/180- (Total/180)^2)"}, "data": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "name": "data", "definition": "[ [p,a],[q,b],[r,c],[s,d]]"}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "
Scores in 20 games and frequency given -- calculate mean.
\nrebelmaths
"}, "tags": [], "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/"}]}