// Numbas version: finer_feedback_settings {"name": "Basic Statistics", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"te": {"templateType": "anything", "name": "te", "description": "

total ear

", "definition": "random([2100,2800,3500])", "group": "Ungrouped variables"}, "bb": {"templateType": "anything", "name": "bb", "description": "", "definition": "shuffle([1200,1300,1500,1000,1400,1100,900])", "group": "Ungrouped variables"}, "bs": {"templateType": "anything", "name": "bs", "description": "", "definition": "shuffle([600,700,800,700])", "group": "Ungrouped variables"}, "tv": {"templateType": "anything", "name": "tv", "description": "

total viral

", "definition": "random([2400,3000,3600])", "group": "Ungrouped variables"}}, "statement": "

The table below shows the number of people attending a General Practice over a five year period.

\n

The figures have been rounded to the nearest hundred.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Adult (Over 18)Child (17 and under)
MaleFemaleMaleFemaleTotal
Respiratory Tract Infection$\\var{bb[0]}$$\\var{bb[1]}$$\\var{bb[2]}$$\\var{bb[3]}$$\\simplify{{bb[0]}+{bb[1]}+{bb[2]}+{bb[3]}}$
Ear Infection$\\var{bs[0]}$$\\var{bs[1]}$$\\var{te}$
Viral Infection$\\var{bs[2]}$$\\var{bs[3]}$$\\var{tv}$
Other
Total$3700$$3600$$4200$$3800$
", "name": "Basic Statistics", "parts": [{"marks": "1", "prompt": "

What is the total number of people who visited the GP over the five years?

", "integerAnswer": true, "variableReplacementStrategy": "originalfirst", "minValue": "15300", "showPrecisionHint": false, "integerPartialCredit": 0, "scripts": {}, "type": "numberentry", "maxValue": "15300", "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "showCorrectAnswer": true}, {"marks": "1", "prompt": "

What is the total number of people who visited the GP in the 'other' category?

", "integerAnswer": true, "variableReplacementStrategy": "originalfirst", "minValue": "15300-(({bb[0]}+{bb[1]}+{bb[2]}+{bb[3]})+{tv}+{te})", "showPrecisionHint": false, "integerPartialCredit": 0, "scripts": {}, "type": "numberentry", "maxValue": "15300-(({bb[0]}+{bb[1]}+{bb[2]}+{bb[3]})+{tv}+{te})", "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "showCorrectAnswer": true}, {"marks": "1", "prompt": "

$\\frac{1}{6}$ of those with viral infections were boys under 18. How many was this?

", "integerAnswer": true, "variableReplacementStrategy": "originalfirst", "minValue": "{tv}/6", "showPrecisionHint": false, "integerPartialCredit": 0, "scripts": {}, "type": "numberentry", "maxValue": "{tv}/6", "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "showCorrectAnswer": true}, {"marks": "1", "prompt": "

$\\frac{2}{7}$ of those with ear infections were female and were 17 or under. How many was this?

", "integerAnswer": true, "variableReplacementStrategy": "originalfirst", "minValue": "2{te}/7", "showPrecisionHint": false, "integerPartialCredit": 0, "scripts": {}, "type": "numberentry", "maxValue": "2{te}/7", "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "showCorrectAnswer": true}, {"marks": 1, "prompt": "

What fraction of all those with respiratory tract infections were adult men?

\n

Simplify your answer.

", "variableReplacementStrategy": "originalfirst", "minValue": "{bb[0]}/({bb[0]}+{bb[1]}+{bb[2]}+{bb[3]})", "showPrecisionHint": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "maxValue": "{bb[0]}/({bb[0]}+{bb[1]}+{bb[2]}+{bb[3]})", "allowFractions": true, "correctAnswerFraction": true, "variableReplacements": []}], "functions": {}, "rulesets": {}, "variable_groups": [], "preamble": {"css": "td, th {\n empty-cells:hide;\n}", "js": ""}, "tags": [], "question_groups": [{"name": "", "pickQuestions": 0, "questions": [], "pickingStrategy": "all-ordered"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["bb", "bs", "tv", "te"], "advice": "

Use the information given to you in the table to work out totals and fractions of totals.

", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Basic introduction to statistics

", "notes": ""}, "showQuestionGroupNames": false, "type": "question", "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}