// Numbas version: finer_feedback_settings {"name": "NA SP Annual hours worked line graph by country (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/hours_worked_line_graph_ver3.png", "hours_worked_line_graph_ver3.png"], ["question-resources/hours_worked_line_graph_So7l9S4.png", "hours_worked_line_graph_So7l9S4.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "NA SP Annual hours worked line graph by country (7)", "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. SP = Statistics & Probability strand. Students read the annual hours worked from the chart and calculate the weekly hours given the number of weeks annual leave. There are 7 different versions of this question.

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

The Organisation for Economic Cooperation and Development (OECD) collects data on the annual hours worked by the employed population of its member countries. The line chart below plots the annual hours against the year, and shows the long-term trend for six selected countries.

\n

\n

http://www.oecd.org/berlin/42675407.pdf

", "advice": "

First, locate the given data on the line graph. For {country[index]} in {year[index]}, the average annual hours worked is {formatnumber(annualhours[index],\"si-en\")} (to the nearest 50 hours).

\n

Secondly, calculate the number of weeks/year worked.

\n

52 - {annualleave[index]} = {52 - annualleave[index]}

\n

Finally, calculate the number of hours per week by dividing the average annual hours worked by the number of weeks/year worked.

\n

{formatnumber(annualhours[index],\"si-en\")} ÷ {52 - annualleave[index]} = {answer}...

\n
\n

The number of hours per week worked by people in {country[index]} is {weeklyhours}.

\n
\n
\n

Rounded to the nearest hour, the number of hours per week worked by people in {country[index]} is {weeklyhours}.

\n
", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"weeklyhours": {"name": "weeklyhours", "group": "Ungrouped variables", "definition": "precround(annualhours[index]/(52-annualleave[index]),0)", "description": "
\n
\n
\n
\n
\n
\n
\n

The number of hours/week (the answer) calculated for the given data point on the graph.

", "templateType": "anything", "can_override": false}, "annualleave": {"name": "annualleave", "group": "Ungrouped variables", "definition": "[6,2,3,3,5,2,5]", "description": "
\n
\n
\n
\n
\n
\n

The number of annual leave weeks associated with each of the 7 countries.

", "templateType": "anything", "can_override": false}, "country": {"name": "country", "group": "Ungrouped variables", "definition": "['the United Kingdom','Japan','the United States','Canada','France','Japan','Norway']", "description": "
\n
\n
\n
\n
\n
\n
\n

The country associated with each of the 7 selected data points on the graph.

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

The randomly generated index to select one of the 7 data points on the graph.

", "templateType": "randrange", "can_override": false}, "year": {"name": "year", "group": "Ungrouped variables", "definition": "[1980,1985,1985,1990,1990,1995,1995]", "description": "
\n
\n
\n
\n
\n

The year associated with each of the 7 selected data points on the graph.

", "templateType": "anything", "can_override": false}, "annualhours": {"name": "annualhours", "group": "Ungrouped variables", "definition": "[1800,2100,1850,1800,1700,1900,1500]", "description": "
\n
\n
\n
\n
\n

The number of annual hours associated with each of the 7 selected data points on the graph.

", "templateType": "anything", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "precround(annualhours[index]/(52 - annualleave[index]),4)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["index", "country", "year", "annualhours", "annualleave", "weeklyhours", "answer"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

How many hours/week on average were worked by the employed population in {country[index]} in {year[index]}? Assume {annualleave[index]} weeks annual leave per year. Round your reading on the vertical axis to the nearest 50, and round your answer to the nearest whole number.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{dpformat(weeklyhours,0,\"en\")}", "{dpformat(annualhours[index]/52,0,\"en\")}", "{dpformat(annualhours[index],0,\"en\")}", "{dpformat(annualhours[index]/{annualleave[index]},0,\"en\")}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Remember to subtract the weeks of annual leave before dividing.", "Remember to divide the hours in the year by the number of weeks worked.", "How many weeks per year will be worked? You need to divide by this number."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "resources": ["question-resources/hours_worked_line_graph_ver3.png", "question-resources/hours_worked_line_graph_So7l9S4.png"]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}