// Numbas version: exam_results_page_options {"name": "Basic Statistics", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["bb", "bs", "tv", "te"], "name": "Basic Statistics", "tags": [], "preamble": {"css": "td, th {\n empty-cells:hide;\n}", "js": ""}, "advice": "

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

", "rulesets": {}, "parts": [{"integerPartialCredit": 0, "prompt": "

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

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

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

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

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

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

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

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

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

\n

Simplify your answer.

", "allowFractions": true, "variableReplacements": [], "maxValue": "{bb[0]}/({bb[0]}+{bb[1]}+{bb[2]}+{bb[3]})", "minValue": "{bb[0]}/({bb[0]}+{bb[1]}+{bb[2]}+{bb[3]})", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "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$
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"tv": {"definition": "random([2400,3000,3600])", "templateType": "anything", "group": "Ungrouped variables", "name": "tv", "description": "

total viral

"}, "te": {"definition": "random([2100,2800,3500])", "templateType": "anything", "group": "Ungrouped variables", "name": "te", "description": "

total ear

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

Basic introduction to statistics

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}