// Numbas version: exam_results_page_options {"name": "SP Mens health infographic using birth year (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/air_force_medical_infographic.png", "/srv/numbas/media/question-resources/air_force_medical_infographic.png"], ["question-resources/air_force_medical_infographic_550.png", "/srv/numbas/media/question-resources/air_force_medical_infographic_550.png"], ["question-resources/air_force_medical_infographic_500.png", "/srv/numbas/media/question-resources/air_force_medical_infographic_500.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "SP Mens health infographic using birth year (7)", "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP = Statistics & Probability strand. Students are shown an infographic, given the details of one man and asked how many routine screenings they should have. There are seven possible questions.

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

The infographic below shows the recommended routine health screenings for males.

\n

\n

https://www.airforcemedicine.af.mil/News/Art/igphoto/2001546026/

", "advice": "
\n

{names[index]} was born in {year[index]}.

\n

In the year 2019 he is 2019 - {year[index]} = {2019 - year[index]} years old.

\n

He has normal blood pressure, so will not require diabetes screening. He has no symptoms of depression.

\n

He {smoker[index]}.

\n

Based on these facts, use the infographic to determine the number of screenings he needs.

\n

{names[index]} should have {screenings[index]} health {plural[index]}.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"smoker": {"name": "smoker", "group": "Ungrouped variables", "definition": "['is a current smoker','is a current smoker','is a current smoker','is a former smoker','is a former smoker','has never smoked','has never smoked','has never smoked','has never smoked']", "description": "
\n
\n
\n
\n
\n

The list which states the smoking status of each person.

", "templateType": "anything", "can_override": false}, "names": {"name": "names", "group": "Ungrouped variables", "definition": "['Joe','Wayne','Yan','Costa','Jose','Tim','Bruce','Steve','Lee']", "description": "
\n
\n
\n
\n
\n
\n

The list of all potential names.

", "templateType": "anything", "can_override": false}, "plural": {"name": "plural", "group": "Ungrouped variables", "definition": "['screenings','screenings','screenings','screening','screenings','screenings','screenings','screening','screenings']", "description": "
\n
\n
\n

The list which has the correct word - 'screening' if only 1 screening is recommended, and 'screenings' for 2 or more recommended screenings. Used in the Advice section. This could also have been done with conditional statements.

", "templateType": "anything", "can_override": false}, "year": {"name": "year", "group": "Ungrouped variables", "definition": "[1962,1969,1953,1985,1983,1969,1973,1991,1951]", "description": "
\n
\n
\n
\n
\n

The list of all potential birth years.

", "templateType": "anything", "can_override": false}, "screenings": {"name": "screenings", "group": "Ungrouped variables", "definition": "[4,3,4,1,2,3,2,1,2]", "description": "
\n
\n
\n
\n
\n

The list containing the number of recommended screenings (the answer).

", "templateType": "anything", "can_override": false}, "index": {"name": "index", "group": "Ungrouped variables", "definition": "random(0 .. 8#1)", "description": "
\n
\n

The index to select one person's name, their birth year, their smoking status, the correct screening/screenings word, and the number of screenings recommended (the answer).

", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["index", "names", "year", "screenings", "smoker", "plural"], "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": "

{names[index]} was born in {year[index]}. He {smoker[index]}. He had his blood pressure checked last year and it is in the normal range. He is not African-American. He has no symptoms of depression.

\n

According to the infographic, how many routine screenings are recommended in 2019 for {names[index]}?

", "minValue": "screenings[index]", "maxValue": "screenings[index]", "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": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}