// Numbas version: exam_results_page_options {"name": "Potential audience size", "extensions": [], "custom_part_types": [], "resources": [["question-resources/OzTAM_estimates.png", "/srv/numbas/media/question-resources/OzTAM_estimates.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Potential audience size", "tags": [], "metadata": {"description": "

Read a value from a table. There are 36 possible questions.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

\n

Target audience = Children aged {agestring} living in {citystring}.

", "advice": "

Look through the table to find the \"Children {agestring}\" row.

\n

Then find the column for {citystring}.

\n

The value in this column is {universestring}

\n

Then find the columns for {citystring}.

\n

Read off the two values.

\n

We need to add these two values together: {universestring} = {universe}

\n

This is the value of the potential audience in thousands.

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"agestring": {"name": "agestring", "group": "Ungrouped variables", "definition": "[\"0-4\",\"2-9\",\"5-12\",\"10-17\",\"13-17\",\"0-17\"][ageidx]", "description": "", "templateType": "anything", "can_override": false}, "ageidx": {"name": "ageidx", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "", "templateType": "anything", "can_override": false}, "cityidx": {"name": "cityidx", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "", "templateType": "anything", "can_override": false}, "citystring": {"name": "citystring", "group": "Ungrouped variables", "definition": "[\"Sydney\",\"Melbourne\",\"Brisbane\",\"Sydney and Melbourne\",\"Sydney and Brisbane\",\"Melbourne and Brisbane\"][cityidx]", "description": "", "templateType": "anything", "can_override": false}, "universe": {"name": "universe", "group": "Ungrouped variables", "definition": "[[329.3,324.3,210.3,329.3+324.3,329.3+210.3,324.3+210.3],\n [555.3,554.9,374.1,555.3+554.9,555.3+374.1,554.9+374.1],\n [518.8,520.4,363.6,518.8+520.4,518.8+363.6,520.4+363.6],\n [494.6,494.7,354.9,494.6+494.7,494.6+354.9,494.7+354.9],\n [307.8,308.4,218.9,307.8+308.4,307.8+218.9,308.4+218.9],\n [1155.9,1153.1,792.7,1155.9+1153.1,1155.9+792.7,1153.1+792.7]][ageidx][cityidx]", "description": "", "templateType": "anything", "can_override": false}, "universestring": {"name": "universestring", "group": "Ungrouped variables", "definition": "[[\"329.3\",\"324.3\",\"210.3\",\"329.3+324.3\",\"329.3+210.3\",\"324.3+210.3\"],\n [\"555.3\",\"554.9\",\"374.1\",\"555.3+554.9\",\"555.3+374.1\",\"554.9+374.1\"],\n [\"518.8\",\"520.4\",\"363.6\",\"518.8+520.4\",\"518.8+363.6\",\"520.4+363.6\"],\n [\"494.6\",\"494.7\",\"354.9\",\"494.6+494.7\",\"494.6+354.9\",\"494.7+354.9\"],\n [\"307.8\",\"308.4\",\"218.9\",\"307.8+308.4\",\"307.8+218.9\",\"308.4+218.9\"],\n [\"1155.9\",\"1153.1\",\"792.7\",\"1155.9+1153.1\",\"1155.9+792.7\",\"1153.1+792.7\"]][ageidx][cityidx]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["agestring", "ageidx", "cityidx", "citystring", "universe", "universestring"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

How many thousands of people are in the potential audience?

", "minValue": "{universe}", "maxValue": "{universe}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}