// Numbas version: exam_results_page_options {"name": "Timed Practice Quiz v2", "metadata": {"description": "

This practice quiz contains 40 numeracy questions, for students preparing for the Australian LANTITE numeracy test. Each question is randomised.

\n

There are 10 questions each from the Number and Algebra, Measurement and Geometry, Statistics and Probability, and non-Calculator strands.

\n

Students are allowed 75 minutes to complete the test. The questions are multiple choice, true/false or fill the number in the box.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "duration": 4500, "percentPass": 0, "showQuestionGroupNames": false, "showstudentname": true, "question_groups": [{"name": "Number and algebra", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", "", "", "", "", ""], "questions": [{"name": "NA BMI formula and table (10+)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/BMI_table.png", "/srv/numbas/media/question-resources/BMI_table.png"], ["question-resources/BMI_formula_cropped.png", "/srv/numbas/media/question-resources/BMI_formula_cropped.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. Students are given a height (in cm) and weight (kg), then need to calculate the BMI given the formula (first converting height to m), then determine the weight range from the table. Weight and height are randomised.

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

The Body Mass Index is a way to determine whether an adult's weight is in the healthy range. It is calculated using a formula that takes height and weight as inputs.

\n

The formula for calculating the BMI is given below:

\n

\n

The BMI is rounded to 1 decimal place.

\n

The BMI table below can be used to determine the weight range (or band) for a given BMI.

\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
BMIWeight range
Less than 17   Very Underweight
17 - 18.4Underweight
18.5 - 24.9Healthy Weight Range
25 - 29.9Overweight
30 - 34.9Obese
35 or greaterSeverely Obese
\n










", "advice": "

The BMI formula requires the height to be in metres.

\n

Convert the given height in centimetres by dividing it by 100.

\n

{height} cm ÷ 100 = {decimal(height/100)} m.

\n

Now substitute the given height and weight into the BMI formula.

\n

BMI = $ \\frac {Weight} {Height^{2}} $

\n

BMI = $ \\frac {\\var{weight}} {({\\var{height/100}} \\times {\\var{height/100}})} $    

\n

BMI = {precround(10000*weight/(height*height),6)}...          

\n

This BMI value must now be rounded to one decimal place, so BMI = {bmi}.

\n

Finally, locate this value in the table to determine the Weight range.

\n

A person with height {height} cm and weight {weight} kg is in the {cat} range.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"weight": {"name": "weight", "group": "Ungrouped variables", "definition": "random(40 .. 120#1)", "description": "
\n
\n
\n
\n

The randomly generated weight (in kg).

", "templateType": "randrange", "can_override": false}, "cat": {"name": "cat", "group": "Ungrouped variables", "definition": "switch({bmi}<17,\"Very Underweight\",{bmi}<18.5,\"Underweight\",{bmi}<25,\"Healthy Weight\",{bmi}<30,\"Overweight\",{bmi}<35,\"Obese\",\"Severely Obese\")", "description": "
\n
\n
\n
\n
\n

The category that the calculated BMI falls into. The variable cat is used within Marks, in the Choices section of Parts, to determine whether the student's answer is correct. All six categories must be offered as options (choices) for this to work.

", "templateType": "anything", "can_override": false}, "bmi": {"name": "bmi", "group": "Ungrouped variables", "definition": "precround(10000*weight/(height*height),1)", "description": "
\n
\n
\n
\n
\n
\n
\n

The BMI for the randomly generated height and weight. The height in cm is converted to metres.

", "templateType": "anything", "can_override": false}, "height": {"name": "height", "group": "Ungrouped variables", "definition": "random(150 .. 190#1)", "description": "
\n
\n
\n
\n

The randomly generated height (in cm). 

", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["weight", "height", "bmi", "cat"], "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": "
\n

Which weight range would a person be in, if their height is {height} cm and their weight is {weight} kg?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Very Underweight", "
\nUnderweight", "
\nHealthy Weight", "
\nOverweight", "
\nObese", "
\nSeverely Obese"], "matrix": ["if({cat}=\"Very Underweight\",1,0)", "if({cat}=\"Underweight\",1,0)", "if({cat}=\"Healthy Weight\",1,0)", "if({cat}=\"Overweight\",1,0)", "if({cat}=\"Obese\",1,0)", "if({cat}=\"Severely Obese\",1,0)"], "distractors": ["Click on the 'Reveal answers' button for a worked solution.", "Click on the 'Reveal answers' button for a worked solution.", "Click on the 'Reveal answers' button for a worked solution.", "Click on the 'Reveal answers' button for a worked solution.", "Click on the 'Reveal answers' button for a worked solution.", "Click on the 'Reveal answers' button for a worked solution."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NA Convert speed units Rates (7)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. Students need to read the speed of the given object from the table, then convert from m/s to km/h. There are 7 objects, and hence 7 different possible questions.

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

The formula given below can be used to convert any speed in metres per second to the equivalent speed in kilometres per hour.

\n

$\\text{Speed (km/h)}=\\displaystyle{\\frac{3600 \\times \\text{speed (m/s)}}{1000}}$

\n

The table below gives the average speed of a variety of moving objects in metres per second (m/s).

\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
Moving objectSpeed (m/s)
 snail gliding0.01
 tortoise walking0.12
 person jogging3.2
 horse galloping13.7
 car cruising26.4
cheetah running28.3
aeroplane cruising220
\n











", "advice": "

The {thing} is {moving} at a speed of {speed} m/s.

\n

\\begin{align} \\text{Speed (km/h)}&=\\displaystyle{\\frac{3600 \\times \\text{speed (m/s)}}{1000}}\\\\[2ex]&=\\frac{3600 \\times \\var{speed}}{1000} \\\\[2ex]&= \\var{3.6*speed} \\text{ km/h}\\end{align}

\n

Rounded to one decimal place, the {thing} is {moving} at a speed of {dpformat(3.6*speed,1)} km/h.

\n

As this is already a whole number, it does not require rounding. The {thing} is {moving} at a speed of {3.6*speed} km/h.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"Scenarios": {"name": "Scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\\"object\\\":\\\"snail\\\", \\\"motion\\\":\\\"gliding\\\", \\\"mps\\\":0.01,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"horse\\\",\\\"motion\\\":\\\"galloping\\\", \\\"mps\\\":13.7,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"car\\\",\\\"motion\\\":\\\"cruising\\\",\\\"mps\\\":26.4,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"cheetah\\\",\\\"motion\\\":\\\"running\\\",\\\"mps\\\":28.3,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"person\\\",\\\"motion\\\":\\\"jogging\\\",\\\"mps\\\":3.2,\\\"pron\\\":\\\"they travel\\\",\\\"pron1\\\":\\\"their\\\"},\\n{\\\"object\\\":\\\"tortoise\\\",\\\"motion\\\":\\\"walking\\\",\\\"mps\\\":0.12,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"},\\n{\\\"object\\\":\\\"aeroplane\\\",\\\"motion\\\":\\\"cruising\\\",\\\"mps\\\":220,\\\"pron\\\":\\\"it travels\\\",\\\"pron1\\\":\\\"its\\\"}\\n]\"))", "description": "

The list of all possible scenarios. It includes the data in the table and the gramatically correct pronoun/verb combination.

", "templateType": "json", "can_override": false}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "

The randomly selected scenario.

", "templateType": "anything", "can_override": false}, "thing": {"name": "thing", "group": "Ungrouped variables", "definition": "scenario[\"object\"]", "description": "

The selected item from the table.

", "templateType": "anything", "can_override": false}, "speed": {"name": "speed", "group": "Ungrouped variables", "definition": "scenario[\"mps\"]", "description": "

The speed of the selected item from the table.

", "templateType": "anything", "can_override": false}, "pronoun": {"name": "pronoun", "group": "Ungrouped variables", "definition": "scenario[\"pron\"]", "description": "

The correct pronoun/verb combination for the selected item from the table.

", "templateType": "anything", "can_override": false}, "moving": {"name": "moving", "group": "Ungrouped variables", "definition": "scenario[\"motion\"]", "description": "

The correct term for the motion, relative to the selected object.

", "templateType": "anything", "can_override": false}, "pronoun2": {"name": "pronoun2", "group": "Ungrouped variables", "definition": "scenario[\"pron1\"]", "description": "

'its' for animals and 'their' for the person. Used in Advice.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["Scenarios", "scenario", "thing", "speed", "pronoun", "moving", "pronoun2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "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": "

What is the average speed of the {thing}, in kilometres per hour (km/h)?

\n

Give your answer rounded to one decimal place. 

\n

The {thing}'s speed is [[0]]km/h.

", "gaps": [{"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, "minValue": "precround(3.6*speed,1)", "maxValue": "precround(3.6*speed,1)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NA Find an average given the total (10+)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. The total amount raised and the number of participants is supplied (and both are randomly generated). Students must calculate the average per participant. 

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

{num_students} Year 7 students at Southbank High School together raised \\${trim(amt_raised)} in a walkathon. 

", "advice": "

The average is defined to be the sum of all of the data values divided by the number of data values.

\n

In this question, the sum of all of the data values is \\${trim(amt_raised)} and the number of data values is {num_students}, as each student raised an amount of money.

\n

\\${trim(amt_raised)} divided by {num_students} equals \\${average}.

\n

On average, each student raised \\${average}.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"amt_raised": {"name": "amt_raised", "group": "Ungrouped variables", "definition": "formatnumber(num_students*average,\"si-en\")", "description": "

This is the total amount raised. It is given in the question, but calculated from the number of students and the average, to enable the average to be a whole number.

", "templateType": "anything", "can_override": false}, "average": {"name": "average", "group": "Ungrouped variables", "definition": "random(32 .. 45#1)", "description": "

The average is the answer to the question. It is predetermined to ensure that it is a whole number.

", "templateType": "randrange", "can_override": false}, "num_students": {"name": "num_students", "group": "Ungrouped variables", "definition": "random(35 .. 65#1)", "description": "

This is the number of Year 7 students. This is given in the question.

", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["num_students", "amt_raised", "average"], "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": "
\n

How much had each student raised on average? Do not enter the $ sign in your answer.

", "minValue": "average", "maxValue": "average", "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"}, {"name": "NA Find full price given discount (10+)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. Students are given the number of years worked, and the price paid. They use the table to look up the percentage discount, then calculate the full price. The number of years and price paid are randomised.

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

Employees of the MegaShoppa chain of stores are offered a staff discount on any items they buy from the store. The discount is based on the number of years of service and is detailed in the table below.

\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
Years of serviceDiscount (%)
1 - 44
5 - 98
10 - 1412
15 - 1916
20 - 2420
", "advice": "
\n
\n

{name1} has worked for Megashoppa for {years} years.

\n

From the table, the relevant percentage discount is {pdiscount}%.

\n

Using this discount, {name1} paid {100-pdiscount}%  (100% - {pdiscount}% ) of the full price.

\n

{100-pdiscount}% of the full price = \\${formatnumber(amountpaid,'si-en')}.

\n

To find the full price, divide this amount by {100-pdiscount} to calculate 1% of the full price, then multiply by 100.  (This is called the unitary method)

\n

\\${formatnumber(amountpaid,'si-en')} ÷ {100-pdiscount} = \\${amountpaid ÷ (100-pdiscount)}     (this is 1% of the full price)

\n

\\${amountpaid ÷ (100-pdiscount)} x 100 = \\${formatnumber(fullprice,'si-en')}

\n

The full price was \\${formatnumber(fullprice,'si-en')}.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"loyaltyfactor": {"name": "loyaltyfactor", "group": "Ungrouped variables", "definition": "(trunc(years/5))+1", "description": "
\n
\n
\n

The loyalty factor, based on years served. This is then scaled up to get the percentage discount.

", "templateType": "anything", "can_override": false}, "name1": {"name": "name1", "group": "Ungrouped variables", "definition": "random('Sam', 'Tino','Julie','Steve','Mia','Gemma','Lucy','Noah','Madi')", "description": "
\n
\n

The list of names. One is randomly selected.

", "templateType": "anything", "can_override": false}, "amountpaid": {"name": "amountpaid", "group": "Ungrouped variables", "definition": "(1-pdiscount/100)*fullprice", "description": "
\n
\n

This is the discounted amount. It is given in the question, but calculated from the full price (the answer).

", "templateType": "anything", "can_override": false}, "fullprice": {"name": "fullprice", "group": "Ungrouped variables", "definition": "random(200 .. 4000#100)", "description": "
\n
\n

This is the full price (original price) of the item.

", "templateType": "randrange", "can_override": false}, "years": {"name": "years", "group": "Ungrouped variables", "definition": "random(2..24)", "description": "
\n
\n

The number of years the employee has worked for MegaShoppa.

", "templateType": "anything", "can_override": false}, "pdiscount": {"name": "pdiscount", "group": "Ungrouped variables", "definition": "4*loyaltyfactor", "description": "
\n
\n
\n

This is the percentage discount the employee gets, based on their years served (which the loyaltyfactor variable includes).

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["name1", "years", "loyaltyfactor", "pdiscount", "fullprice", "amountpaid"], "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": "

{name1} has worked for Megashoppa for {years} years and paid \\${formatnumber(amountpaid,'si-en')} for an item, using the staff discount.

\n

What was the full price of the item? Do not enter the dollar sign.

", "minValue": "fullprice", "maxValue": "fullprice", "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"}, {"name": "NA halogen vs LED light globes revised (10+)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/halogen_LED_900.png", "/srv/numbas/media/question-resources/halogen_LED_900.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. Students calculate the cost of the halogen globes given electricity cost, number of globes, number of years, replacement cost and lifespan of globes. Some of these variables are randomly selected. There are more than 10 different versions of this question.

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

The government encourages people to switch to energy efficient devices. One way to save is to replace halogen light globes with LED light globes.

\n

The infographic below shows the electricity cost of using a halogen light globe and an equivalent LED light globe for 1 year. It also gives the average lifespan for each type of globe. 

\n

\n

https://accreditedpower.com.au/led-upgrades/nsw-home-led-upgrade-program/

", "advice": "

Halogen globe costs

\n

The school currently has {globes} new halogen globes, and each halogen globe will need to be replaced every 2 years.

\n

Over the next {years} years, the globes will each need to be replaced {trunc(years/2)} times once .

\n

The cost of replacing {globes} halogen globes twice is given by {trunc(years/2)} x {globes} x \\${split(dpformat(halogencost,2,\"si-en\"),\".00\")[0]} = \\${split(dpformat(trunc(years/2)*globes*halogencost,2,\"si-en\"),\".00\")[0]}

\n

Each halogen globe costs \\$35.13 per year in electricity, and there are {globes} globes which will be used for {years} years.

\n

The electricity cost for the halogen globes over the {years} years is {globes} x {years} x \\$35.13 = \\${haleleccost}

\n

To obtain the total cost for the halogen lighting, add the globe cost and the electricity cost.

\n

\\${split(dpformat(trunc(years/2)*globes*halogencost,2,\"si-en\"),\".00\")[0]} + \\${haleleccost} = \\${totalhalogencost}

\n

Rounded to the nearest dollar, the cost of the halogen lighting over the next {years} years is \\${formatnumber(precround(parsenumber(totalhalogencost,\"si-en\"),0),\"si-en\")}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"years": {"name": "years", "group": "Ungrouped variables", "definition": "random(2.5 .. 5.5#1)", "description": "

The number of years over which the savings are to be calculated.

", "templateType": "randrange", "can_override": false}, "halogencost": {"name": "halogencost", "group": "Ungrouped variables", "definition": "random(4.5 .. 6.5#0.25)", "description": "

The cost of one halogen globe.

", "templateType": "randrange", "can_override": false}, "globes": {"name": "globes", "group": "Ungrouped variables", "definition": "random(5 .. 15#1)", "description": "

The number of globes that are being replaced.

", "templateType": "randrange", "can_override": false}, "haleleccost": {"name": "haleleccost", "group": "Ungrouped variables", "definition": "split(dpformat(globes*years*35.13,2,\"si-en\"),\".00\")[0]", "description": "

The total cost of electricity for the halogen globes.

", "templateType": "anything", "can_override": false}, "totalhalogencost": {"name": "totalhalogencost", "group": "Ungrouped variables", "definition": "split(dpformat(trunc(years/2)*globes*halogencost+globes*years*35.13,2,\"si-en\"),\".00\")[0]", "description": "

The total cost of the halogen globes.

", "templateType": "anything", "can_override": false}, "finalanswer": {"name": "finalanswer", "group": "Ungrouped variables", "definition": "precround(parsenumber(totalhalogencost,\"si-en\"),0)", "description": "

The rounded final answer.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["years", "halogencost", "globes", "haleleccost", "totalhalogencost", "finalanswer"], "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": "

A school chooses NOT to replace the {globes} halogen globes in their main learning space.

\n

How much will this school pay for this halogen lighting during the next {years} years?

\n

Assume that the existing halogen globes would first need replacement in 2 years time, and that replacement halogen globes cost {currency(halogencost,\"\\$\",\"\")} each.

\n

In your calculations, include the cost of buying replacement halogen globes every 2 years, and the cost of the electricity.

\n

Do not include the money they lose by not converting to LED globes.

\n

Round your answer to the nearest dollar, but do not enter the $ sign.

", "minValue": "{finalanswer}", "maxValue": "{finalanswer}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": 0, "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NA LANTITE data T/F questions (5)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/LANTITE_data_from_2016_to_2018_cropped_900.png", "/srv/numbas/media/question-resources/LANTITE_data_from_2016_to_2018_cropped_900.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. Students are asked two true/false questions based on a table of data about the LANTITE test. The pair of true/false questions are randomly selected from a pool of five pairs of questions.

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

\n

The table below shows the number of new candidates in Australia attempting each component of the LANTITE test between 2016 and 2018, and the percentage meeting the standard each year.

\n

\n

https://www.education.gov.au/literacy-and-numeracy-test-initial-teacher-education-students

\n

Use the chart to decide whether each statement below is True or False:

", "advice": "
\n

a) {explanation1}

\n

\n

b) {explanation2}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n

The randomly selected scenario.

", "templateType": "anything", "can_override": false}, "correct1": {"name": "correct1", "group": "Ungrouped variables", "definition": "scenario[\"answer1\"]", "description": "
\n
\n

The first correct answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "
\n
\n
\n

The first incorrect answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"question1\\\": \\\"A smaller percentage of students met the standard for Literacy in 2018 than in 2016.\\\",\\n \\\"answer1\\\": \\\"True\\\",\\n \\\"distractor1\\\": \\\"False\\\",\\n \\\"advice1\\\": \\\"90.4% of students met the standard for Literacy in 2018 whereas 95.2% of students met the standard for Literacy in 2016.
Therefore the statement is true.\\\",\\n \\\"question2\\\": \\\"Fewer students met the standard for Numeracy in 2018 than in 2016.\\\",\\n \\\"answer2\\\": \\\"False\\\",\\n \\\"distractor2\\\": \\\"True\\\",\\n \\\"advice2\\\": \\\"In 2018, 90% of the 22 011 students met the standard for Numeracy. 90% of 22 011 = 19 810 students.
In 2016, 94.2% of the 13 084 students met the standard for Numeracy. 94.2% of 13 084 = 12 325 students.
So while a lower percentage of students met the standard in 2018, there were more students who met the standard in 2018, because there were many more test candidates.
Therefore the statement is false.\\\"\\n },\\n {\\n \\\"question1\\\": \\\"The number of test candidates for each test has steadily increased over time.\\\",\\n \\\"answer1\\\": \\\"False\\\",\\n \\\"distractor1\\\": \\\"True\\\",\\n \\\"advice1\\\": \\\"The numbers in the Total test candidates column increased in 2017 compared to 2016 for both tests.
However, they then decreased in 2018 compared to 2017.
Therefore this statement is false.\\\",\\n \\\"question2\\\": \\\"In 2017 there were 21 516 students who met the standard in the Literacy test.\\\",\\n \\\"answer2\\\": \\\"True\\\",\\n \\\"distractor2\\\": \\\"False\\\",\\n \\\"advice2\\\": \\\"In 2017, 92% of the 23 387 candidates met the standard in the Literacy test.
92% of 23 387 = 21 516.
Therefore this statement is true.\\\"\\n },\\n {\\n \\\"question1\\\": \\\"The year which had the most similar number of test candidates for both papers was 2016.\\\",\\n \\\"answer1\\\": \\\"True\\\",\\n \\\"distractor1\\\": \\\"False\\\",\\n \\\"advice1\\\": \\\"This statement is true, as the number of test candidates in 2016 for each test differs only by 1.\\\",\\n \\\"question2\\\": \\\"In 2018 there were 19 810 students who did not meet the standard in the Numeracy test.\\\",\\n \\\"answer2\\\": \\\"False\\\",\\n \\\"distractor2\\\": \\\"True\\\",\\n \\\"advice2\\\": \\\"In 2018, 90% of the 22 011 candidates met the standard in the Numeracy test.
This means that 10% of the candidates did NOT meet the standard.
10% of 22 011 = 2 201.
Therefore this statement is false.\\\"\\n },\\n {\\n \\\"question1\\\": \\\"The proportion of test candidates who met the standard for each test has steadily decreased over time.\\\",\\n \\\"answer1\\\": \\\"True\\\",\\n \\\"distractor1\\\": \\\"False\\\",\\n \\\"advice1\\\": \\\"The numbers in the % met the standard column decreased between 2016 and 2017 for both tests, then again between 2017 and 2018 for both tests.
Therefore this statement is true.\\\",\\n \\\"question2\\\": \\\"In 2016 there were 628 students who did not meet the standard in the Literacy test.\\\",\\n \\\"answer2\\\": \\\"True\\\",\\n \\\"distractor2\\\": \\\"False\\\",\\n \\\"advice2\\\": \\\"In 2016, 95.2% of the 13 083 candidates met the standard in the Literacy test.
This means that 4.8% of the candidates did NOT meet the standard.
4.8% of 13 083 = 628.
Therefore this statement is true.\\\"\\n },\\n {\\n \\\"question1\\\": \\\"A larger percentage of students met the standard for Numeracy in 2017 than in 2016.\\\",\\n \\\"answer1\\\": \\\"False\\\",\\n \\\"distractor1\\\": \\\"True\\\",\\n \\\"advice1\\\": \\\"92.3% of students met the standard for Numeracy in 2017 whereas 94.2% of students met the standard for Numeracy in 2016.
Therefore the statement is false.\\\",\\n \\\"question2\\\": \\\"In 2018, 55 more students met the standard in the Literacy test than in the Numeracy test.\\\",\\n \\\"answer2\\\": \\\"False\\\",\\n \\\"distractor2\\\": \\\"True\\\",\\n \\\"advice2\\\": \\\"In 2018, 19 948 students met the standard in the Literacy test (90.4% of 22 066).
In 2018, 19 810 students met the standard in the Numeracy test (90% of 22 011).
The difference between these numbers is 19 948 - 19 810 = 138.
Therefore the statement is false.\\\"\\n }\\n]\"))", "description": "
\n
\n
\n

The 7 possible T/F question pairs, each along with their correct answer, distractor and the Advice.

", "templateType": "json", "can_override": false}, "prompt1": {"name": "prompt1", "group": "Ungrouped variables", "definition": "scenario[\"question1\"]", "description": "
\n
\n

The first question for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n

The second incorrect answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "explanation1": {"name": "explanation1", "group": "Ungrouped variables", "definition": "scenario[\"advice1\"]", "description": "

The customised advice for the first question in the given scenario.

", "templateType": "anything", "can_override": false}, "prompt2": {"name": "prompt2", "group": "Ungrouped variables", "definition": "scenario[\"question2\"]", "description": "

The second question for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "correct2": {"name": "correct2", "group": "Ungrouped variables", "definition": "scenario[\"answer2\"]", "description": "

The second correct answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "explanation2": {"name": "explanation2", "group": "Ungrouped variables", "definition": "scenario[\"advice2\"]", "description": "

The customised advice for the second question in the given scenario.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "prompt1", "prompt2", "correct1", "correct2", "wrong1", "wrong2", "explanation1", "explanation2"], "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": "

{prompt1}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correct1}", "{wrong1}"], "matrix": ["0.5", 0], "distractors": ["You're correct. Well done!", "Read the question carefully and try again."]}, {"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": "

{prompt2}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{correct2}", "{wrong2}"], "matrix": ["0.5", 0], "distractors": ["Well done! You are correct.", "Read the question carefully and try again."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NA Public Service infographic percentages (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Aust_Public_Service_disability_infographic_ver4.png", "/srv/numbas/media/question-resources/Aust_Public_Service_disability_infographic_ver4.png"], ["question-resources/Aust_Public_Service_disability_infographic_ver5.png", "/srv/numbas/media/question-resources/Aust_Public_Service_disability_infographic_ver5.png"], ["question-resources/Public_service_disabilities_link.png", "/srv/numbas/media/question-resources/Public_service_disabilities_link.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. Students are shown an infographic, and need to calculate a percentage from the information supplied. 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
\n
\n
\n
\n
\n

The Australian Public Service (APS) surveyed all of its staff in May 2019 regarding whether they have a disability. The results are shown in the infographic below.

\n

\n

Taken from    (modified to clarify Classification by disability section)

", "advice": "
\n

Use the infographic to locate the percentage of staff with a disability in the given category.

\n

{percentage*100}% of {categorydescription} have a disability.

\n

Then find {percentage*100}% of the number of staff in the given category.

\n

{percentage*100}% of {formatnumber(numberofstaff,\"si-en\")}

\n

= {percentage*100} ÷ 100 x {formatnumber(numberofstaff,\"si-en\")}

\n

= {formatnumber(percentage*numberofstaff,\"si-en\")}

\n

This needs to be rounded to the nearest whole number as we are finding the number of staff - you cannot have a decimal answer.

\n

{formatnumber(percentage*numberofstaff,\"si-en\")} rounded to the nearest whole number is {formatnumber(precround({percentage*numberofstaff},0),\"si-en\")}.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\n \\\"staffnum\\\": 65533,\\n \\\"category\\\": \\\"male staff\\\",\\n \\\"percent\\\": 0.038\\n },\\n {\\n \\\"staffnum\\\": 70994,\\n \\\"category\\\": \\\"female staff\\\",\\n \\\"percent\\\": 0.037\\n },\\n {\\n \\\"staffnum\\\": 578,\\n \\\"category\\\": \\\"SES staff\\\",\\n \\\"percent\\\": 0.026\\n },\\n {\\n \\\"staffnum\\\": 1245,\\n \\\"category\\\": \\\"EL staff\\\",\\n \\\"percent\\\": 0.029\\n },\\n {\\n \\\"staffnum\\\": 24590,\\n \\\"category\\\": \\\"staff in NSW\\\",\\n \\\"percent\\\": 0.039\\n },\\n {\\n \\\"staffnum\\\": 21372,\\n \\\"category\\\": \\\"staff in Victoria\\\",\\n \\\"percent\\\": 0.036\\n },\\n {\\n \\\"staffnum\\\": 14698,\\n \\\"category\\\": \\\"overseas staff\\\",\\n \\\"percent\\\": 0.006\\n }\\n]\"))", "description": "
\n
\n
\n
\n
\n
\n
\n

A list of possible staff cetegories, along with the number of staff in that category, and the percentage of staff who have a disability in that category.

", "templateType": "json", "can_override": false}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n

Randomly select one of the given scenarios.

", "templateType": "anything", "can_override": false}, "categorydescription": {"name": "categorydescription", "group": "Ungrouped variables", "definition": "scenario[\"category\"]", "description": "
\n
\n
\n
\n
\n

The name of the randomly selected category.

", "templateType": "anything", "can_override": false}, "numberofstaff": {"name": "numberofstaff", "group": "Ungrouped variables", "definition": "scenario[\"staffnum\"]", "description": "
\n
\n
\n
\n
\n

The number of staff for the randomly selected category.

", "templateType": "anything", "can_override": false}, "percentage": {"name": "percentage", "group": "Ungrouped variables", "definition": "scenario[\"percent\"]", "description": "
\n
\n
\n

The proportion of staff (as a decimal) who have a disability for the randomly selected category.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "categorydescription", "numberofstaff", "percentage"], "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": "

The APS employs {formatnumber(numberofstaff,\"si-en\")} {categorydescription}. How many of these staff have a disability? Give your answer as a whole number, and do not use a comma or space in your answer.

", "minValue": "precround({percentage*numberofstaff},0)", "maxValue": "precround({percentage*numberofstaff},0)", "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"}, {"name": "NA Simple interest vs compound interest (10+)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Compound_interest_formula.png", "/srv/numbas/media/question-resources/Compound_interest_formula.png"], ["question-resources/Simple_interest_formula.png", "/srv/numbas/media/question-resources/Simple_interest_formula.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. Students must do a simple interest calculation (geven principal, rate and months, all of which are randomly generated) then subtract their answer from the supplied compound interest amount to find the difference.

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

Simple interest can be calculated using the formula 

\n

$\\begin{aligned} I &= P \\times r \\times n \\end{aligned}$

\n

Compound interest can be calculated using the formulae 

\n

\n

$ A = P \\times (1+r)^n$       and        $ I = A - P $

\n

where for all formulae:

\n

$\\begin{aligned} \\quad I \\quad & \\text{is the interest earned,} \\\\ \\quad P \\quad & \\text{is the principal,} \\\\ \\quad r \\quad & \\text{is the interest rate per time period (as a decimal),} \\\\ \\quad n \\quad & \\text{is the number of time periods,} \\\\ \\quad A \\quad & \\text{is the final amount.} \\end{aligned}$

", "advice": "
\n
\n

Simple interest:

\n

$P = \\$ \\var{formatnumber(principal,'si-en')}$

\n

$\\begin{aligned} r &= \\var{rate} ÷ 100  \\\\ &= \\var{rate/100} \\end{aligned}$ 

\n

$\\begin{aligned} n &= \\var{months} ÷ 12 \\\\ &= \\var{months ÷12} \\text{ years} \\end{aligned}$

\n

$\\begin{aligned} I &= P \\times r \\times n  \\\\ &= \\$ \\var{formatnumber(principal,'si-en')} \\times \\var{rate/100} \\times \\var{months ÷ 12} \\\\&= \\$ \\var{trim(dpformat(simpleinterest,2,'si-en'))} \\end{aligned}$

\n

The simple interest is \\$ {trim(dpformat(simpleinterest,2,'si-en'))} to the nearest cent.

\n

\n

Compound interest was given as \\${trim(dpformat({compoundinterest},2,\"si-en\"))}

\n

\n

How much less:

\n

The question asked how much less interest {name1} would have earnt if simple interest had been calculated.

\n

Compound interest - simple interest

\n

$\\begin{aligned} &= \\$ \\var{trim(dpformat({compoundinterest},2,\"si-en\"))} -  \\$ \\var {trim(dpformat(simpleinterest,2,'si-en'))} \\\\ &= \\$ \\var{trim(dpformat((precround(compoundinterest,2)-precround(simpleinterest,2)),2,'si-en'))} \\end{aligned}$ 

\n

Rounded to the nearest dollar, {name1} would have earnt \\${answer} less from the simple interest compared to the compound interest.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"principal": {"name": "principal", "group": "Ungrouped variables", "definition": "random(3000 .. 50000#1000)", "description": "
\n
\n
\n
\n
\n

The amount invested.

", "templateType": "randrange", "can_override": false}, "months": {"name": "months", "group": "Ungrouped variables", "definition": "random(6 .. 42#3)", "description": "
\n
\n
\n
\n
\n

The period of the investment, in months.

", "templateType": "randrange", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "precround(compoundinterest-simpleinterest,0)", "description": "
\n
\n
\n
\n
\n
\n
\n
\n

The final answer (difference between compound and simple interest). It's rounded to the nearest dollar.

", "templateType": "anything", "can_override": false}, "amount": {"name": "amount", "group": "Ungrouped variables", "definition": "principal*(1+(rate/4)/100)^(months/3)", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

The exact value of the Amount in the compound interest formula.

", "templateType": "anything", "can_override": false}, "simpleinterest": {"name": "simpleinterest", "group": "Ungrouped variables", "definition": "principal*rate*months/(100*12)", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

The simple interest earnt. This variable only ever has a maximum of 2 decimal places so does not need rounding or truncating.

", "templateType": "anything", "can_override": false}, "rate": {"name": "rate", "group": "Ungrouped variables", "definition": "random(2.5 .. 5.25#0.25)", "description": "
\n
\n
\n
\n
\n

The annual interest rate as a percentage.

", "templateType": "randrange", "can_override": false}, "compoundinterest": {"name": "compoundinterest", "group": "Ungrouped variables", "definition": "(amount-principal)", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

The exact value of the compound interest.  principal*(1+(rate/4)/100)^(months/3)  Used in Advice section.

", "templateType": "anything", "can_override": false}, "names": {"name": "names", "group": "Ungrouped variables", "definition": "['Lola','Marco','Jenny','Liz','Peter','Harry','Ahmad','Abraham']", "description": "

The list of potential names.

", "templateType": "anything", "can_override": false}, "name1": {"name": "name1", "group": "Ungrouped variables", "definition": "random(names)", "description": "

The selected name.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["principal", "rate", "months", "simpleinterest", "amount", "compoundinterest", "answer", "names", "name1"], "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": "

{name1} earnt \\${trim(dpformat({compoundinterest},2,\"si-en\"))} in compound interest, when \\${formatnumber(principal,'si-en')} was invested at {rate}% per annum compound interest for {months} months, compounded quarterly.

\n

\n

How much less interest would {name1} have earnt by investing the same amount for {months} months at the simple interest rate of {rate}% per annum?

\n

Enter your answer to the nearest dollar, but do not type in the dollar sign.

", "minValue": "answer", "maxValue": "answer", "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"}, {"name": "NA SP Annual hours worked line graph by country (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/hours_worked_line_graph_ver3.png", "/srv/numbas/media/question-resources/hours_worked_line_graph_ver3.png"], ["question-resources/hours_worked_line_graph_So7l9S4.png", "/srv/numbas/media/question-resources/hours_worked_line_graph_So7l9S4.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "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": {}, "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"}, {"name": "NA SP Read data from a chart and perform calculations (10+)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/child_care_chart.png", "/srv/numbas/media/question-resources/child_care_chart.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NA = Number & Algebra strand. SP = Statistics & Probability strand. Students read a percentage from the chart, and calculate that percentage of the number of children (randomly generated).

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

The chart below shows the proportion and type of care used for children in Australia.

\n

\n

Taken from http://www.abs.gov.au/ausstats/abs@.nsf/0/F924A95E815CD063CA257657001619DE?Opendocument Accessed 22/11/2018

", "advice": "

There were {formatnumber(num_kids,\"si-en\")} children aged 0 - 12 in the Blacktown City Council area in 2017.   

\n

9.7% of them were using both types of care.

\n

To calculate 9.7% of {formatnumber(num_kids,\"si-en\")}, divide 9.7 by 100 then multiply the answer by {formatnumber(num_kids,\"si-en\")}.

\n

This gives {formatnumber(0.097*num_kids,\"si-en\")}.

\n

Then round this to the nearest {roundinglevel}.   

\n

{formatnumber(0.097*num_kids,\"si-en\")} rounded to the nearest {roundinglevel} is {trim(dpformat(siground({num_kids*0.097},{4-index}),0,\"si-en\"))}.

\n

Approximately {trim(dpformat(siground({num_kids*0.097},{4-index}),0,\"si-en\"))} children used both Formal and Informal care in 2017.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"num_kids": {"name": "num_kids", "group": "Ungrouped variables", "definition": "random(70000 .. 90000#1000)", "description": "

This is the number of children in the Blacktown area in 2017.

", "templateType": "randrange", "can_override": false}, "index": {"name": "index", "group": "Ungrouped variables", "definition": "random(1 .. 3#1)", "description": "

The randomised index which determines the rounding level.

", "templateType": "randrange", "can_override": false}, "roundinglevel": {"name": "roundinglevel", "group": "Ungrouped variables", "definition": "10^index", "description": "

The level of rounding - either 10, 100 or 1000.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["num_kids", "roundinglevel", "index"], "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": "

If there were {formatnumber(num_kids,\"si-en\")} children aged 0 - 12 in the Blacktown City Council area in 2017, how many of these children used both Formal and Informal care in 2017? Give your answer to the nearest {roundinglevel}. Do not put a comma in your answer.

", "minValue": "siground({num_kids*0.097},{4-index})", "maxValue": "siground({num_kids*0.097},{4-index})", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Measurement and Geometry", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", "", "", "", "", ""], "questions": [{"name": "MG Compass directions in WA (4)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/WA_map_compass_2.png", "/srv/numbas/media/question-resources/WA_map_compass_2.png"], ["question-resources/compass_rose_h7MJaDO.png", "/srv/numbas/media/question-resources/compass_rose_h7MJaDO.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. Students are always given the same map of Western Australia and asked to select the one incorrect statement from four statements. The statements are randomly selected from four incorrect statements and twelve correct statements in total. 

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

The route of National Highway 1 in Western Australia is shown on the map below.

\n

The arrow indicates the direction of North.

\n

\n

Image taken from https://en.wikipedia.org/wiki/File:Highway_1_(Western_Australia)_route_map.png

", "advice": "

The compass rose below shows the main compass points.

\n

The cardinal compass directions are north(N), south(S), east(E) and west(W).

\n

There are four intercardinal directions. For example, northeast(NE) is half-way between north and east.

\n

There are eight further points on the compass rose. For example, west-southwest(WSW) is half-way between west and southwest.

\n

\n

Image taken from https://commons.wikimedia.org/wiki/File:Compass_Rose_English_North.svg

\n

To check the statement \"Wyndham is northeast of Geraldton\", for example,

\n

imagine placing the centre of the compass on Geraldton,

\n

and then check whether Wyndham lies in a northeasterly direction.

\n

This statement is true, as Wyndham lies a northeasterly direction when the compass is centred on Geraldton.

\n

Note that when applying these compass directions to a map, they are approximate rather than exact.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"WrongStatements": {"name": "WrongStatements", "group": "Ungrouped variables", "definition": "[\"Carnarvon is southeast of Port Hedland\",\n \"Norseman is west of Perth\",\n \"Norseman is north of Broome\",\n \"Broome is southeast of Carnarvon\"\n ]", "description": "

The list of potential correct answers (false statements).

", "templateType": "anything", "can_override": false}, "True1": {"name": "True1", "group": "Ungrouped variables", "definition": "[\"Norseman is north of Esparence\",\n \"Bunbury is south of Perth\",\n \"Norseman is northeast of Albany\",\n \"Broome is west-southwest of Wyndham\"\n ]", "description": "

The list of potential first distractors (true statements).

", "templateType": "anything", "can_override": false}, "True2": {"name": "True2", "group": "Ungrouped variables", "definition": "[\"Geraldton is north-northwest of Perth\",\n\"Port Hedland is north-northeast of Geraldton\",\n\"Carnarvon is northwest of Norseman\",\n\"Bunbury is south-southwest of Broome\"]", "description": "

The list of potential second distractors (true statements).

", "templateType": "anything", "can_override": false}, "True3": {"name": "True3", "group": "Ungrouped variables", "definition": "[\"Esparence is south of Broome\",\n\"Wyndham is northeast of Geraldton\",\n\"Esparence is east-northeast of Albany\",\n\"Norseman is south-southeast of Port Hedland\"]", "description": "

The list of potential third distractors (true statements).

", "templateType": "anything", "can_override": false}, "wrongoption": {"name": "wrongoption", "group": "Ungrouped variables", "definition": "random(WrongStatements)", "description": "

The randomly selected correct answer (false statement).

", "templateType": "anything", "can_override": false}, "right1": {"name": "right1", "group": "Ungrouped variables", "definition": "random(True1)", "description": "

The randomly selected first distractor (true statement).

", "templateType": "anything", "can_override": false}, "right2": {"name": "right2", "group": "Ungrouped variables", "definition": "random(True2)", "description": "

The randomly selected second distractor (true statement).

", "templateType": "anything", "can_override": false}, "right3": {"name": "right3", "group": "Ungrouped variables", "definition": "random(True3)", "description": "

The randomly selected third distractor (true statement).

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["WrongStatements", "True1", "True2", "True3", "wrongoption", "right1", "right2", "right3"], "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": "

Which statement about this map is not true?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "2", "showCellAnswerState": true, "choices": ["{wrongoption}", "{right1}", "{right2}", "{right3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Check that you understand the points of the compass.", "Check that you understand the points of the compass.", "Check that you understand the points of the compass."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "MG Lap swimming metres to km (10+)", "extensions": ["random_person"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. Student must calculate distance swum in km given number of laps of 50m pool, days of week and weeks in term. These variables are randomly selected.

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

{name} goes to swimming training {days} days per week. On average, at each training session {heshe} swims {laps} laps of the 50 metre pool.

", "advice": "

{name} swims {laps} laps of the 50 metre pool on average each training session.

\n

Therefore {heshe} swims {laps} x 50 = {formatnumber(laps*50,\"si-en\")} metres each training session.

\n

{name} trains {days} days per week.

\n

After one week, {heshe} swims {days} x {formatnumber(laps*50,\"si-en\")} m = {formatnumber(days*laps*50,\"si-en\")} m.

\n

After {termlength} weeks, {heshe} swims {termlength} x {formatnumber(days*laps*50,\"si-en\")} m = {formatnumber(termlength*days*laps*50,\"si-en\")} m.

\n

There are 1000 metres in 1 kilometre so to convert from metres to kilometres we divide by 1000.

\n

{formatnumber(10*days*laps*50,\"si-en\")} ÷ 1000 = {formatnumber(kms,\"si-en\")} kilometres.

\n

{name} swims {formatnumber(kms,\"si-en\")} kilometres during the {termlength} week term.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"name": {"name": "name", "group": "Ungrouped variables", "definition": "person['name']", "description": "

The person's name.

", "templateType": "anything", "can_override": false}, "person": {"name": "person", "group": "Ungrouped variables", "definition": "random_person()", "description": "

Setting up the random person dictionary.

", "templateType": "anything", "can_override": false}, "heshe": {"name": "heshe", "group": "Ungrouped variables", "definition": "person['pronouns']['they']", "description": "

He or she based on name.

", "templateType": "anything", "can_override": false}, "days": {"name": "days", "group": "Ungrouped variables", "definition": "random(2 .. 6#1)", "description": "

The number of days training per week.

", "templateType": "randrange", "can_override": false}, "laps": {"name": "laps", "group": "Ungrouped variables", "definition": "random(20 .. 40#2)", "description": "

The number of laps of the 50m pool swum on average at each training session.

", "templateType": "randrange", "can_override": false}, "kms": {"name": "kms", "group": "Ungrouped variables", "definition": "laps*50*days*termlength/1000", "description": "

The number of kilometres swum after 10 week. This is the answer.

", "templateType": "anything", "can_override": false}, "termlength": {"name": "termlength", "group": "Ungrouped variables", "definition": "random(9..11)", "description": "

The number of weeks in the term.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["person", "name", "heshe", "days", "laps", "termlength", "kms"], "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 kilometres would {name} swim during a {termlength} week term?

\n

Do not round your answer, and do not enter the measurement units (km).

", "minValue": "{kms}", "maxValue": "{kms}", "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"}, {"name": "MG Granny flat scale drawing (6)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/granny_flat_plan_300_7ba0oVH.png", "/srv/numbas/media/question-resources/granny_flat_plan_300_7ba0oVH.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. A diagram of a granny flat is shown, and one multiple choice question asked. There are six potential questions (scenarios).

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational 
\n

The plan below shows a granny flat which has been drawn to scale.

\n

\n

https://www.mcdonaldjoneshomes.com.au/home-design/granny-flats#home-design-floor-plan

", "advice": "
\n
\n
\n

Specific Advice:

\n

{advice}

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "
\n
\n
\n
\n
\n

The third incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything", "can_override": false}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "
\n
\n
\n
\n
\n
\n

The correct answer for the randomly chosen scenario.

", "templateType": "anything", "can_override": false}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "
\n
\n
\n
\n
\n
\n

The first incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything", "can_override": false}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"question\\\":\\\"The length of the actual granny flat is 10.55 m. On the plan, the length of the granny flat is 211 mm. What is the scale of the plan?\\\",\\n \\\"answer\\\":\\\"1:50\\\",\\n \\\"distractor1\\\":\\\"1:500\\\",\\n \\\"distractor2\\\":\\\"1:20\\\",\\n \\\"distractor3\\\":\\\"1:200\\\",\\n \\\"feedback\\\":\\\"Convert 10.55 m to mm by multiplying by 1000.
10.55 x 1000 = 10 550.
So the granny flat length is 10 550 mm and the plan length is 211 mm.
Then divide 10 550mm by 211 mm.
10 550 \u00f7 211 = 50.
In other words, using ratios 211 mm : 10.55 m = 211:10550 = 1:50
Therefore the scale is 1:50.\\\"\\n },\\n {\\n \\\"question\\\":\\\"The width of the granny flat is 6.8 m. On the plan, the width of the granny flat is 170 mm. What is the scale of the plan?\\\",\\n \\\"answer\\\":\\\"1:40\\\",\\n \\\"distractor1\\\":\\\"1:400\\\",\\n \\\"distractor2\\\":\\\"1:25\\\",\\n \\\"distractor3\\\":\\\"1:250\\\",\\n \\\"feedback\\\":\\\"Convert 6.8 m to mm by multiplying by 1000.
6.8 x 1000 = 6 800.
So the granny flat width is 6 800 mm and the plan width is 170 mm.
Then divide 6 800 mm by 170 mm.
6 800 \u00f7 170 = 40.
In other words, using ratios 170 mm : 6.8 m = 170:6 800 = 1:40
Therefore the scale is 1:40.\\\"\\n },\\n {\\n \\\"question\\\":\\\"The kitchen is 3.4 metres long. How long will it be on the plan if the scale is 1:50?\\\",\\n \\\"answer\\\":\\\"68 mm\\\",\\n \\\"distractor1\\\":\\\"68 cm\\\",\\n \\\"distractor2\\\":\\\"170 mm\\\",\\n \\\"distractor3\\\":\\\"1.7 cm\\\",\\n \\\"feedback\\\":\\\"The kitchen is 3.4 metres long.
In millimetres that is 3.4 x 1 000 = 3 400 mm.
Every 50 mm on the granny flat is represented by 1mm on the plan.
3 400 \u00f7 50 = 68.
The kitchen will be 68 mm long on the plan.\\\"\\n },\\n {\\n \\\"question\\\":\\\"The alfresco cabana is 4.8 metres long. How long will it be on the plan if the scale is 1:30?\\\",\\n \\\"answer\\\":\\\"16 cm\\\",\\n \\\"distractor1\\\":\\\"16 mm\\\",\\n \\\"distractor2\\\":\\\"62.5 mm\\\",\\n \\\"distractor3\\\":\\\"62.5 cm\\\",\\n \\\"feedback\\\":\\\"The alfresco cabana is 4.8 metres long. In millimetres that is 4.8 x 1 000 = 4 800 mm.
Every 30 mm on the granny flat is represented by 1 mm on the plan.
4 800 \u00f7 30 = 160.
The cabana will be 160 mm long on the plan.
Converting that to cm by dividing by 10 gives 16 cm.\\\"\\n },\\n {\\n \\\"question\\\":\\\"The scale for this plan is 1:60. Bedroom 1 measures 52 mm long on the plan. How long is Bedroom 1 in the actual granny flat?\\\",\\n \\\"answer\\\":\\\"3.1 m\\\",\\n \\\"distractor1\\\":\\\"31.2 cm\\\",\\n \\\"distractor2\\\":\\\"870 mm\\\",\\n \\\"distractor3\\\":\\\"8 700 mm\\\",\\n \\\"feedback\\\":\\\"52 mm x 60 = 3 120 mm.
Dividing this by 1 000 to convert to metres gives 3 120 \u00f7 1 000 = 3.12 m.
The closest answer to this is 3.1 m.
Remember that a measurement from a scale drawing may be slightly inaccurate.\\\"\\n },\\n {\\n \\\"question\\\":\\\"The scale for this plan is 1:40. Bedroom 1 measures 70 mm long on the plan. In the actual granny flat, Bedroom 2 is 60 cm shorter than Bedroom 1. How long is Bedroom 2 in the actual granny flat?\\\",\\n \\\"answer\\\":\\\"2.2 m\\\",\\n \\\"distractor1\\\":\\\"2.8 m\\\",\\n \\\"distractor2\\\":\\\"6 m\\\",\\n \\\"distractor3\\\":\\\"4 m\\\",\\n \\\"feedback\\\":\\\"Bedroom 1 on the plan measures 70 mm long, and the scale is 1:40.
Therefore Bedroom 1 in the actual granny flat measures 70 x 40 = 2 800 mm.
Converting this to metres by dividing by 1 000 gives 2.8 m.
Bedroom 2 is 60 cm or 0.6 m shorter than Bedroom 1.
2.8 m - 0.6 m = 2.2 m.
Bedroom 2 in the granny flat is 2.2 m long.\\\"\\n }\\n]\"))", "description": "
\n
\n
\n
\n
\n

The question statement, correct answer and three distractors for each of the seven possible questions.

", "templateType": "json", "can_override": false}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n
\n
\n

The second incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything", "can_override": false}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n
\n
\n

The randomly chosen scenario, consisting of question statement, correct answer, and three distractors.

", "templateType": "anything", "can_override": false}, "questionwording": {"name": "questionwording", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "
\n
\n
\n
\n
\n
\n

The question statement for the randomly chosen scenario.

", "templateType": "anything", "can_override": false}, "advice": {"name": "advice", "group": "Ungrouped variables", "definition": "scenario[\"feedback\"]", "description": "

The custom advice (feedback) for the selected scenario question.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "questionwording", "correctanswer", "wrong1", "wrong2", "wrong3", "advice"], "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": "

{questionwording}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correctanswer}", "{wrong1}", "{wrong2}", "{wrong3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Have you read the question and the axis labels carefully? ", "Have you read the question and the axis labels carefully? ", "Have you read the question and the axis labels carefully? "]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "MG NC Area using 5mm grid multi image (6)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/black_shape.png", "/srv/numbas/media/question-resources/black_shape.png"], ["question-resources/blue_shape.png", "/srv/numbas/media/question-resources/blue_shape.png"], ["question-resources/green_shape.png", "/srv/numbas/media/question-resources/green_shape.png"], ["question-resources/orange_shape.png", "/srv/numbas/media/question-resources/orange_shape.png"], ["question-resources/purple_shape.png", "/srv/numbas/media/question-resources/purple_shape.png"], ["question-resources/red_shape.png", "/srv/numbas/media/question-resources/red_shape.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. NC = Non Calculator. A diagram of a shape on a 5mm grid is shown, and students are asked the area in square centimetres. There are six different diagrams.

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

What is the area of this shape in square centimetres? Each small square in the grid has length and width 5 mm. 

\n

{image('resources/question-resources/'+chosenimage)}

", "advice": "

The answer needs to be in square centimetres. It is simpler to convert the units from millimetres to centimetres before finding the area of the shape.

\n

Each small square has length and width 5 mm, or 0.5 cm.

\n

Each small square has area 0.5 cm x 0.5 cm = 0.25 cm2.

\n

The shape is made up of {area*4} small squares. 

\n

Four of these squares will make 1 square centimetre (1 cm2).

\n

{area*4} divided by 4 = {area}.

\n

So the area is {area} cm2.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"index": {"name": "index", "group": "Ungrouped variables", "definition": "random(0..len(images)-1)", "description": "
\n

The index is from 0 to 5 and is used to randomly choose an image.

", "templateType": "anything", "can_override": false}, "images": {"name": "images", "group": "Ungrouped variables", "definition": "['black_shape.png','blue_shape.png','red_shape.png','orange_shape.png','green_shape.png','purple_shape.png']", "description": "

The list of the 6 potential images (shape on a grid) to be used in the question.

", "templateType": "anything", "can_override": false}, "area": {"name": "area", "group": "Ungrouped variables", "definition": "Areas[index]", "description": "
\n

The area in square centimetres of the chosen image.

", "templateType": "anything", "can_override": false}, "chosenimage": {"name": "chosenimage", "group": "Ungrouped variables", "definition": "images[index]", "description": "
\n

The chosen image.

", "templateType": "anything", "can_override": false}, "Areas": {"name": "Areas", "group": "Ungrouped variables", "definition": "[3.125,6.75,8.5,7.5,4.5,6.0]", "description": "
\n

The list of the correct answers for the areas of each of the 6 images, in the same order as the images are listed.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["images", "index", "chosenimage", "Areas", "area"], "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": "
\n

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{area} cm2", "{area*2} cm2", "{area*4} cm2", "{area/10} cm2"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done! Four squares make 1 square centimetre.", "How many squares on the grid make 1 square cm? Click on Reveal Answers and scroll down for Advice regarding this question.", "How many squares on the grid make 1 square cm? Click on Reveal Answers and scroll down for Advice regarding this question.", "How many squares on the grid make 1 square cm? Click on Reveal Answers and scroll down for Advice regarding this question."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "MG NC Capacity problem involving unit conversion (7)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. NC = Non Calculator. Students are asked to determine how many 5mL teaspoon measures would fill a container with volume given in litres There are seven different volumes.

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

A standard teaspoon holds 5 mL of liquid.

", "advice": "

Here is one way of solving this problem:

\n

There are 1000 mL in 1 litre.

\n

1000 mL divided by 5 mL gives 200. So there are 200 teaspoons in each litre.

\n

Multiply the number of litres by 200 to get the number of teaspoons in the whole amount.

\n

{num_litres} x 200 = {num_litres*200}.

\n

\n

For questions of this kind, if you are not using a calculator, it may be helpful to use some of the following proportional reasoning:

\n

1 teaspoon = 5 millilitres, therefore

\n

50 teaspoons= 250 millilitres or 0.25 litre (one quarter of a litre), and

\n

100 teaspoons= 500 millilitres or 0.5 litre (half a litre), and

\n

200 teaspoons = 1000 millilitres or 1 litre.

\n

You can then use a combination of these to get the whole amount.

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"num_litres": {"name": "num_litres", "group": "Ungrouped variables", "definition": "random(1.25 .. 2.75#0.25)", "description": "

This is the number of litres.

", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["num_litres"], "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 teaspoons are in {num_litres} litres?How many teaspoons are in {num_litres} litres?How many teaspoons are in {num_litres} litres?How many teaspoons are in {num_litres} litres?How many teaspoons are in {num_litres} litres?How many teaspoons are in {num_litres} litres?
\n

How many teaspoons of liquid are in {num_litres} litres?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\var{num_litres*5}$", "$\\var{num_litres*100/5}$", "$\\var{10*num_litres/5}$", "$\\var{1000*num_litres/5}$"], "matrix": [0, 0, 0, "1"], "distractors": ["How many teaspoons would make up 1 litre? Click on Reveal Answers and scroll down for Advice regarding this question.", "How many mL are there in 1 litre? Click on Reveal Answers and scroll down for Advice regarding this question.", "How many teaspoons would make up 1 litre? Click on Reveal Answers and scroll down for Advice regarding this question.", "Well done!"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "MG NC Find the midpoint between two times (10+)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. NC = Non Calculator. The start time for Period 1 (randomised) and the end time for Period 2 (randomised) are given, and students are asked to find the middle of those two times. 

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

At The Lakes High School, period 1 starts at 8:{start} am. It is immediately followed by period 2, which ends at 10:{end} am. The two periods are of the same length. 

", "advice": "

First work out how many minutes there are between the start of period 1 and the end of period 2.

\n

Before 9 am there are {60-start} minutes.

\n

Between 9 am and 10 am there are 60 minutes.

\n

After 10 am there are {end} minutes.

\n

So in total periods 1 and 2 last for {60-start} + 60 + {end} minutes = {120-start+ end} minutes.

\n

Then halve this number to get the number of minutes in each period. Half of {120-start+ end} minutes is {per_length} minutes.

\n

Then count on this many minutes from the start of period 1.  Adding {per_length} minutes to 8:{start} am gives 9:{per2start} am.

\n

Period 2 will start at {per2start} minutes past 9 am.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"per_length": {"name": "per_length", "group": "Ungrouped variables", "definition": "total_time/2", "description": "

The length of each of the two periods. It is found by dividing total_time by 2. It will be an integer as both start and end are even.

", "templateType": "anything", "can_override": false}, "end": {"name": "end", "group": "Ungrouped variables", "definition": "random(10 .. 28#2)", "description": "

Period 2 ends this many minutes after 10am. ie Period 2 ends some time between 10:10 and 10:28.This is given in the question. It is an even number to ensure that there are no half minutes for period length, and greater than 9 to ensure two digits for the minutes.

", "templateType": "randrange", "can_override": false}, "total_time": {"name": "total_time", "group": "Ungrouped variables", "definition": "120+end-start", "description": "

How many minutes between the start of period 1 and the end of period 2. It is found by adding (60 - start (the minutes before 9am)) to (60 + end(the minutes after 9am)).

", "templateType": "anything", "can_override": false}, "per2start": {"name": "per2start", "group": "Ungrouped variables", "definition": "per_length-60+start", "description": "

Period 2 starts this many minutes after 9am. This is what students need to work out. From 9am, add the period length then subtract the portion of period 1 that is before 9am (ie 60 - start). This gives the calculation per_length - (60 - start).

", "templateType": "anything", "can_override": false}, "start": {"name": "start", "group": "Ungrouped variables", "definition": "random(32 .. 58#2)", "description": "

Period 1 starts this many minutes after 8am. ie Period 1 starts some time between 8:32 and 8:58. This is given in the question. It is an even number to ensure that there are no half minutes for period length.

", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["start", "end", "total_time", "per_length", "per2start"], "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 minutes past 9 am will Period 2 start? Enter just the number, without the unit.

", "minValue": "per2start", "maxValue": "per2start", "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"}, {"name": "MG Perimeter of vege patch fence (10+)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/vege_patch_500.png", "/srv/numbas/media/question-resources/vege_patch_500.png"], ["question-resources/vege_patch_soln_500.png", "/srv/numbas/media/question-resources/vege_patch_soln_500.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. The width and length of each vege bed are given in cm (randomised) as well as the path width in mm (randomised). Students are asked to find the perimeter of the whole vege patch in metres.

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

{school} school has a vegetable patch. It has three identical rectangular garden beds. They each measure {bwidth} cm by {bdepth} cm. The paths between the beds are {pwidth} mm wide. A fence will be built all the way around the three garden beds as shown. The distance between the garden beds and the fence is also {pwidth} mm. (This diagram is not drawn to scale).

\n

", "advice": "

\n

We are asked to find the length of the fencing, in metres. That is, we need to find the perimeter of the outside rectangle.

\n

The dimensions of the three rectangular beds was given in centimetres. These should be converted to metres. There are 100 cm in 1 metre, so divide by 100.

\n

Bed width = {bwidth} cm ÷ 100 = {bwidth/100} m

\n

Bed length = {bdepth} cm ÷ 100 = {bdepth/100} m

\n

The width of the paths was given in millimetres. This also should be converted to metres. There are 1000 mm in 1 metre, so divide by 1000.

\n

Path width = {pwidth} mm ÷ 1000 = {pwidth/1000} m

\n

The diagram below shows that the perimeter of the outside rectangle can be split up into sections, corresponding to the three measurements given.

\n

\n

Perimeter = (12 x path width) + (6 x bed width) + (2 x bed length)

\n

Perimeter = (12 x {pwidth/1000}) + (6 x {bwidth/100}) + (2 x {pwidth/1000}) metres

\n

Perimeter = {fencing} metres

\n

This measurement already has one decimal place, so there is no need to round it.

\n

Therefore, {fencing} metres of fencing is required to surround the vegetable patch.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"bwidth": {"name": "bwidth", "group": "Ungrouped variables", "definition": "decimal(random(60,70,80,90))", "description": "

The width of one garden bed in centimetres.

", "templateType": "anything", "can_override": false}, "bdepth": {"name": "bdepth", "group": "Ungrouped variables", "definition": "decimal(random(130,140,150,160))", "description": "

The depth (length) of one garden bed in centimetres.

", "templateType": "anything", "can_override": false}, "pwidth": {"name": "pwidth", "group": "Ungrouped variables", "definition": "decimal(random(300,400,500,600))", "description": "

The width of the path in mm.

", "templateType": "anything", "can_override": false}, "school": {"name": "school", "group": "Ungrouped variables", "definition": "random(\"Eastbeach Primary\",\"Westbourne High\",\"Northhampton Primary\",\"Southlake High\",\"Greenville Primary\",\"Forestmount High\")", "description": "

The list of potential school names, from which one is randomly chosen.

", "templateType": "anything", "can_override": false}, "fencing": {"name": "fencing", "group": "Ungrouped variables", "definition": "dpformat(0.012*pwidth+0.06*bwidth+0.02*bdepth,1)", "description": "

The answer for the perimeter, in metres.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["bwidth", "bdepth", "pwidth", "school", "fencing"], "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 metres of fencing are required to surround the vegetable patch as shown? Give your answer to one decimal place.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{fencing}", "{dpformat((0.012*pwidth+0.06*bwidth+0.02*bdepth)/2,1)}", "{dpformat((2*pwidth+bdepth+bwidth)/100,1)}", "{dpformat(pwidth*bwidth*bdepth/1000000,1)}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done - you are correct!", "Have you added up all four sides of the rectangle?", "Have you converted all measurements to metres, and included all components of the length and width of the fence?", "Have you converted all measurements to metres, and included all components of the length and width of the fence?"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "MG Volume of two flowerpots (8)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/pots_double_400.png", "/srv/numbas/media/question-resources/pots_double_400.png"], ["question-resources/pots_triple_400.png", "/srv/numbas/media/question-resources/pots_triple_400.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. Two cube-shaped flowerpots are shown, and their lengths given. The larger pot is either double or triple the length of the smaller pot. Students must work out the volume of the larger pot given the smaller one. There are eight potential questions.

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

Mrs {name1} has a pot plant in her classroom. The pot is cube-shaped, with length {size1} cm. It took 1 bag of potting mix to fill it. She has another larger pot, which she wants to use as well. It is also a cube shape, with length {size2} cm.

\n

{image('resources/question-resources/'+pot_pic)}

\n

", "advice": "

This question is equivalent to working out how many times greater the volume of the larger pot is than the volume of the small pot.

\n

First, work out how many times longer the larger pot is.

\n

{size2} cm ÷ {size1} cm = {scalefactor}

\n

Then work out how many small pots would be needed to form a square with the same base area as the larger pot.

\n

{scalefactor} x {scalefactor} = {scalefactor*scalefactor} small pots are needed to form a square with the same base area as the larger pot.

\n

Next, decide how many layers of small pots would be required to reach the top of the larger pot.

\n

{scalefactor} layers would be required, as the larger pot is {scalefactor} times higher than the small pot.

\n

Finally, work out how many small pots would be needed to give the same volume as the larger pot.

\n

{scalefactor} layers x {scalefactor^2} small pots in each layer = {scalefactor^3} small pots

\n

Each small pot uses one bag of potting mix.

\n

So Mrs {name1} will need {scalefactor^3} bags of potting mix to fill the larger pot.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"names": {"name": "names", "group": "Ungrouped variables", "definition": "[ \"Green\", \"Lee\", \"Jackson\", \"Singh\", \"Obeid\", \"Nguyen\" ]", "description": "

The list of potential teachers' names.

", "templateType": "list of strings", "can_override": false}, "size1": {"name": "size1", "group": "Ungrouped variables", "definition": "random(20,25,30,35)", "description": "

The length of the smaller pot in centimetres.

", "templateType": "anything", "can_override": false}, "scalefactor": {"name": "scalefactor", "group": "Ungrouped variables", "definition": "random(2,3)", "description": "

The scale factor to determine the length of the larger pot.

", "templateType": "anything", "can_override": false}, "size2": {"name": "size2", "group": "Ungrouped variables", "definition": "size1*scalefactor", "description": "

The length of the larger pot in centimetres.

", "templateType": "anything", "can_override": false}, "name1": {"name": "name1", "group": "Ungrouped variables", "definition": "random(names)", "description": "

The teacher's name for the given question.

", "templateType": "anything", "can_override": false}, "images": {"name": "images", "group": "Ungrouped variables", "definition": "['pots_double_400.png','pots_triple_400.png']", "description": "

The list containing the two images - the first for scalefactor = 2 and the second for scalefactor = 3.

", "templateType": "anything", "can_override": false}, "pot_pic": {"name": "pot_pic", "group": "Ungrouped variables", "definition": "images[scalefactor-2]", "description": "

The image which corresponds to the scale factor for the question.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["names", "size1", "scalefactor", "size2", "name1", "images", "pot_pic"], "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 bags of potting mix will Mrs {name1} need to fill the larger pot?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{scalefactor^3}", "{scalefactor^2}", "{scalefactor}", "{size2-size1}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done - you are correct!", "Have you considered that we are working in three dimensions?", "Have you considered that we are working in three dimensions?", "How many times larger is the larger pot?"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "MG NC Thermometers celsius fahrenheit (6)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/thermometer_25_degrees.png", "/srv/numbas/media/question-resources/thermometer_25_degrees.png"], ["question-resources/thermometer_minus_5_degrees.png", "/srv/numbas/media/question-resources/thermometer_minus_5_degrees.png"], ["question-resources/thermometer_30_degrees.png", "/srv/numbas/media/question-resources/thermometer_30_degrees.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. NC = Non-Calculator strand. Students are shown an image of a thermometer calibrated in both degrees Celsius and degrees Fahrenheit. Student must answer a question using the thermometer. The image is randomly selected from a pool of 3. There are two different potential questions for each thermometer. Hence 6 questions in total.

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

This thermometer is calibrated in both degrees Celsius and degrees Fahrenheit. Use the thermometer to answer the question shown below the thermometer.

\n

{image('resources/question-resources/'+picture)}

\n

https://www.mathworksheets4kids.com/reading-thermometers.php

", "advice": "

How to read the thermometer

\n

The scale measured in degrees Celsius increases in increments of 1°C. In other words, the space between each graduation represents 1°C.

\n

The scale measured in degrees Fahrenheit increases in increments of 2°F. In other words, the space between each graduation represents 2°F.

\n

Make sure you are taking the reading from the correct scale on the thermometer for each question.

\n

\n

Some useful things to know about temperatures measured in degrees Celsius (the scale used in Australia):

\n", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"question": {"name": "question", "group": "Ungrouped variables", "definition": "scenario[\"qn\"]", "description": "
\n

The question for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\n\\\"pic\\\":\\\"thermometer_30_degrees.png\\\",\\n\\\"qn\\\":\\\"If the temperature drops by 10°C, what will be the new temperature in degrees Fahrenheit?\\\",\\n\\\"ans\\\":\\\"68°F\\\",\\n\\\"wrong1\\\":\\\"64°F\\\",\\n\\\"wrong2\\\":\\\"76°F\\\"\\n},\\n{\\n\\\"pic\\\":\\\"thermometer_30_degrees.png\\\",\\n\\\"qn\\\":\\\"The temperature shown on the thermometer displays the temperature of:\\\",\\n\\\"ans\\\":\\\"a very warm day\\\",\\n\\\"wrong1\\\":\\\"water that is close to boiling\\\",\\n\\\"wrong2\\\":\\\"normal human body temperature\\\"\\n},\\n{\\n\\\"pic\\\":\\\"thermometer_minus_5_degrees.png\\\",\\n\\\"qn\\\":\\\"At the temperature shown on the thermometer:\\\",\\n\\\"ans\\\":\\\"snow would not melt\\\",\\n\\\"wrong1\\\":\\\"it would be a comfortable temperature for a bushwalk\\\",\\n\\\"wrong2\\\":\\\"snow would melt\\\"\\n},\\n{\\n\\\"pic\\\":\\\"thermometer_minus_5_degrees.png\\\",\\n\\\"qn\\\":\\\"By how many degrees Celsius would the temperature need to increase above the temperature shown, in order to be at 50°F?\\\",\\n\\\"ans\\\":\\\"15°C\\\",\\n\\\"wrong1\\\":\\\"55°C\\\",\\n\\\"wrong2\\\":\\\"27°C\\\"\\n},\\n{\\n\\\"pic\\\":\\\"thermometer_25_degrees.png\\\",\\n\\\"qn\\\":\\\"A 1°C increase in temperature would be:\\\",\\n\\\"ans\\\":\\\"more than a 1°F degree increase in temperature\\\",\\n\\\"wrong1\\\":\\\"the same as a 1°F degree increase in temperature\\\",\\n\\\"wrong2\\\":\\\"less than a 1°F degree increase in temperature\\\"\\n},\\n{\\n\\\"pic\\\":\\\"thermometer_25_degrees.png\\\",\\n\\\"qn\\\":\\\"The temperature shown was the daily maximum temperature yesterday. Overnight, the temperature then dropped to a minimum of 10°C. By how many degrees Fahrenheit did the temperature drop from the maximum to the minimum?\\\",\\n\\\"ans\\\":\\\"27°F\\\",\\n\\\"wrong1\\\":\\\"15°F\\\",\\n\\\"wrong2\\\":\\\"18°F\\\"\\n}\\n]\"))", "description": "

The list of images with corresponding question, answer and two distractors.

", "templateType": "json", "can_override": false}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "

The randomly selected scenario.

", "templateType": "anything", "can_override": false}, "picture": {"name": "picture", "group": "Ungrouped variables", "definition": "scenario[\"pic\"]", "description": "

The image for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "scenario[\"ans\"]", "description": "

The correct answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "dis1": {"name": "dis1", "group": "Ungrouped variables", "definition": "scenario[\"wrong1\"]", "description": "

The first incorrect answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "dis2": {"name": "dis2", "group": "Ungrouped variables", "definition": "scenario[\"wrong2\"]", "description": "

The second incorrect answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "picture", "question", "answer", "dis1", "dis2"], "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": "
\n

{question}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{answer}", "{dis1}", "{dis2}"], "matrix": ["1", 0, 0], "distractors": ["Well done! ", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "MG Analog clock to 24hr time (6)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/clock_342.png", "/srv/numbas/media/question-resources/clock_342.png"], ["question-resources/clock_518.png", "/srv/numbas/media/question-resources/clock_518.png"], ["question-resources/clock_612.png", "/srv/numbas/media/question-resources/clock_612.png"], ["question-resources/clock_828.png", "/srv/numbas/media/question-resources/clock_828.png"], ["question-resources/clock_904.png", "/srv/numbas/media/question-resources/clock_904.png"], ["question-resources/clock_1149.png", "/srv/numbas/media/question-resources/clock_1149.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. Student must convert the time shown on the analog clock to 24 hour time. One of six analog clock images is randomly selected and displayed.

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

{name1} was born on a {day} {period}. The clock below shows the exact time.

\n

{image('resources/question-resources/'+image)}

\n

https://www.math-salamanders.com/image-files/free-clock-worksheets-telling-the-time-to-1-min-1.gif

", "advice": "

There are two steps to this question.

\n

First, you need to read the analogue clock correctly.

\n

The time shown on the clock is {analogtime}.

\n

Then, this time needs to be converted to 24 hour time.

\n
\n

Because this time is in the morning, we simply write the time using four digits and no punctuation.

\n

{analogtime} in 24 hour time is {answer}.

\n
\n
\n

Because this time is after midday, we must add 12 to the hours, to convert it to 24 hour time.

\n

{analogtime} in 24 hour time is {answer}.

\n
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"index": {"name": "index", "group": "Ungrouped variables", "definition": "random(0..5)", "description": "

The randomly selected index which determines all of the other variables.

", "templateType": "anything", "can_override": false}, "images": {"name": "images", "group": "Ungrouped variables", "definition": "['clock_1149.png','clock_904.png','clock_828.png','clock_612.png','clock_518.png','clock_342.png']", "description": "

The lis of all of the analog clock images.

", "templateType": "anything", "can_override": false}, "image": {"name": "image", "group": "Ungrouped variables", "definition": "images[index]", "description": "

The randomly selected analog clock image.

", "templateType": "anything", "can_override": false}, "days": {"name": "days", "group": "Ungrouped variables", "definition": "['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']", "description": "

The list of all of the days.

", "templateType": "anything", "can_override": false}, "day": {"name": "day", "group": "Ungrouped variables", "definition": "days[index]", "description": "

The randomly selected day.

", "templateType": "anything", "can_override": false}, "names": {"name": "names", "group": "Ungrouped variables", "definition": "['Lucy','Abdul','Pham','Tony','Rita','Marco']", "description": "

The list of names.

", "templateType": "anything", "can_override": false}, "name1": {"name": "name1", "group": "Ungrouped variables", "definition": "names[index]", "description": "

The randomly selected name.

", "templateType": "anything", "can_override": false}, "periods": {"name": "periods", "group": "Ungrouped variables", "definition": "['morning','evening','evening','evening','morning','afternoon']", "description": "

The list of all of the periods to correspond with the clocks.

", "templateType": "anything", "can_override": false}, "period": {"name": "period", "group": "Ungrouped variables", "definition": "periods[index]", "description": "

The period for the randomly selected clock.

", "templateType": "anything", "can_override": false}, "answers": {"name": "answers", "group": "Ungrouped variables", "definition": "['1149','2104','2028','1812','0518','1542']", "description": "

The list of the correct 24 hour times.

", "templateType": "anything", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "answers[index]", "description": "

The correct 24 hour time corresponding to the selected clock.

", "templateType": "anything", "can_override": false}, "analogtimes": {"name": "analogtimes", "group": "Ungrouped variables", "definition": "['11:49 am','9:04 pm','8:28 pm','6:12 pm','5:18 am','3:42 pm']", "description": "

The list of analog times for the clocks.

", "templateType": "anything", "can_override": false}, "analogtime": {"name": "analogtime", "group": "Ungrouped variables", "definition": "analogtimes[index]", "description": "

The analog time for the given clock.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["index", "images", "image", "days", "day", "names", "name1", "periods", "period", "answers", "answer", "analogtimes", "analogtime"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "patternmatch", "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": "

What is this time written in 24 hour format?

\n

Enter it using four digits without any punctuation.

\n

For example, 2:34 am would be entered as 0234

", "answer": "{answer}", "displayAnswer": "", "matchMode": "regex"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Statistics and Probability", "pickingStrategy": "all-ordered", "pickQuestions": "10", "questionNames": ["", "", "", "", "", "", "", "", "", ""], "questions": [{"name": "SP Australian Health vs OECD average (6)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/OECD_Australian_Health.png", "/srv/numbas/media/question-resources/OECD_Australian_Health.png"], ["question-resources/InkedOECD_Australian_Health_pc_LIfinal.jpg", "/srv/numbas/media/question-resources/InkedOECD_Australian_Health_pc_LIfinal.jpg"], ["question-resources/OECD_Australian_Healthv2.png", "/srv/numbas/media/question-resources/OECD_Australian_Healthv2.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP = Statistics & Probability strand. Students are shown an unusual chart and asked one of six possible questions.

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

The chart below shows Australia's performance in a number of health measures, in comparison to the OECD (Organisation for Economic Co-operation and Development) average.

\n

\n

Source: https://www.oecd.org/australia/Health-at-a-Glance-2017-Key-Findings-AUSTRALIA.pdf

", "advice": "
\n

Take some time to examine all the features of this chart. Then read the question carefully to determine what is required.

\n

{explanation}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n

The randomly selected scenario.

", "templateType": "anything", "can_override": false}, "wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "
\n
\n

The third incorrect answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "correct": {"name": "correct", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "
\n
\n

The correct answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "
\n
\n
\n

The first incorrect answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\n\\\"question\\\":\\\"In how many indicators is Australia above the 75th percentile for the OECD?\\\",\\n\\\"answer\\\":7,\\n\\\"distractor1\\\":4,\\n\\\"distractor2\\\":13,\\n\\\"distractor3\\\":10,\\n\\\"advice\\\":\\\"Count the number of green and blue dots above the upper edge of the grey band (which is the 75th percentile line). There are seven dots above the upper edge of the grey band.\\\"\\n},\\n{\\n\\\"question\\\":\\\"In how many indicators is Australia below the 25th percentile for the OECD?\\\",\\n\\\"answer\\\":2,\\n\\\"distractor1\\\":4,\\n\\\"distractor2\\\":3,\\n\\\"distractor3\\\":6,\\n\\\"advice\\\":\\\"Count the number of green and blue dots below the lower edge of the grey band (which is the 25th percentile line). There are two dots below the lower edge of the grey band.\\\"\\n},\\n{\\n\\\"question\\\":\\\"In which category is Australia consistently above the OECD average?\\\",\\n\\\"answer\\\":\\\"Health Status\\\",\\n\\\"distractor1\\\":\\\"Access\\\",\\n\\\"distractor2\\\":\\\"Quality\\\",\\n\\\"distractor3\\\":\\\"Resources\\\",\\n\\\"advice\\\":\\\"Locate the OECD average (the horizontal line across the middle of the chart). Then look for the group where all of the dots are above this line. This occurs in the Health Status group.\\\"\\n},\\n{\\n\\\"question\\\":\\\"Which two RISK FACTORS does Australia perform most poorly on, relative to the rest of the OECD?\\\",\\n\\\"answer\\\":\\\"Alcohol consumption & Obesity\\\",\\n\\\"distractor1\\\":\\\"Obesity & Asthma and COPD\\\",\\n\\\"distractor2\\\":\\\"Smoking & Air Pollution\\\",\\n\\\"distractor3\\\":\\\"Quality & Risk factors\\\",\\n\\\"advice\\\":\\\"Locate the vertical band with the heading RISK FACTORS. Within that band/grouping, the two factors below the OECD average line are Alcohol consumption and Obesity.\\\"\\n},\\n{\\n\\\"question\\\":\\\"In which one of these items is Australia closest to the OECD average?\\\",\\n\\\"answer\\\":\\\"Doctors per capita\\\",\\n\\\"distractor1\\\":\\\"Nurses per capita\\\",\\n\\\"distractor2\\\":\\\"Consultations skipped due to cost\\\",\\n\\\"distractor3\\\":\\\"Life expectancy (M)\\\",\\n\\\"advice\\\":\\\"Locate the OECD average (the horizontal line across the middle of the chart). Then check to see how close the dots for each of the listed items are to this line. The dot for Doctors per capita is closest to the OECD average.\\\"\\n},\\n{\\n\\\"question\\\":\\\"In which category is Australia closest to the OECD average?\\\",\\n\\\"answer\\\":\\\"Resources\\\",\\n\\\"distractor1\\\":\\\"Access\\\",\\n\\\"distractor2\\\":\\\"Quality\\\",\\n\\\"distractor3\\\":\\\"Health status\\\",\\n\\\"advice\\\":\\\"Locate the OECD average (the horizontal line across the middle of the chart). Then check to see which category has its dots closest to this line. Both the Resources and Access categories have all of their dots within one standard deviation (1 SD) of the OECD average. The Resources dots are on average closer to the line than the Access dots, so it is the category which is closest to the OECD average.\\\"\\n}\\n]\"))", "description": "
\n
\n
\n

The 6 possible questions, each along with their correct answer, 3 distractors and the Advice.

", "templateType": "json", "can_override": false}, "Prompt": {"name": "Prompt", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "
\n
\n

The question for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n

The second incorrect answer for the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "explanation": {"name": "explanation", "group": "Ungrouped variables", "definition": "scenario[\"advice\"]", "description": "

The customised advice for the given scenario.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "Prompt", "correct", "wrong1", "wrong2", "wrong3", "explanation"], "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": "
\n

{Prompt}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correct}", "{wrong1}", "{wrong2}", "{wrong3}"], "matrix": ["1", 0, 0, 0], "distractors": ["you're correct. Well done!", "Take a careful look at the chart and try again.", "Take a careful look at the chart and try again.", "Take a careful look at the chart and try again."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP BMI chart (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/BMI_chart_4tIKPPW.png", "/srv/numbas/media/question-resources/BMI_chart_4tIKPPW.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP  Statistics & Probability strand. Students are shown a BMI chart and asked one of seven possible questions.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational 
\n

The Body Mass Index (BMI) is a way to determine whether an adult's weight is in the healthy range. It is calculated using a formula which takes height and weight as inputs.

\n

The BMI chart below gives the weight range (or band) for a given height-weight combination. The upper and lower BMI limits of each weight range are given on the right vertical axis. Each BMI is a curved line on the chart.

\n

\n

https://www.eatforhealth.gov.au/sites/default/files/files/the_guidelines/n55a_australian_dietary_guidelines_summary_book.pdf

", "advice": "
\n
\n
\n
\n

General advice:

\n

Make sure you check the axis labels carefully first. Then consider how to read this chart.

\n

The weight lines are horizontal, the height lines are vertical, but the BMI lines are curved. If you are working with a BMI number, you will need to read along a curved line.

\n

Then, read the question carefully and identify which part of the chart it is referring to. Read the question again, to double-check that you have interpreted it correctly. Check whether you need to convert between metres and centimetres.

\n

Specific Advice:

\n

{advice}

\n

", "rulesets": {}, "variables": {"wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "
\n
\n
\n
\n
\n

The third incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "
\n
\n
\n
\n
\n
\n

The correct answer for the randomly chosen scenario.

", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "
\n
\n
\n
\n
\n
\n

The first incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"question\\\":\\\"A person has height 1.6 m and BMI approximately equal to 23. Their weight would be closest to:\\\",\\n \\\"answer\\\":\\\"60 kg\\\",\\n \\\"distractor1\\\":\\\"90 kg\\\",\\n \\\"distractor2\\\":\\\"45 kg\\\",\\n \\\"distractor3\\\":\\\"75 kg\\\",\\n \\\"feedback\\\":\\\"Find 160 cm on the horizontal axis. Go up until just below the BMI 25 curve.
Then go straight across to the vertical axis.
The weight is approximately 60 kg.\\\"\\n },\\n {\\n \\\"question\\\":\\\"A person has height 1.85 m and BMI approximately equal to 25. Their weight would be closest to:\\\",\\n \\\"answer\\\":\\\"85 kg\\\",\\n \\\"distractor1\\\":\\\"93 kg\\\",\\n \\\"distractor2\\\":\\\"100 kg\\\",\\n \\\"distractor3\\\":\\\"75 kg\\\",\\n \\\"feedback\\\":\\\"Find 185 cm on the horizontal axis. Go up to the BMI 25 curve.
Then go straight across to the vertical axis.
The weight is approximately 85kg.\\\"\\n },\\n {\\n \\\"question\\\":\\\"A person has weight 100 kg and height around 170 cm. Their BMI would be closest to:\\\",\\n \\\"answer\\\":\\\"35\\\",\\n \\\"distractor1\\\":\\\"25\\\",\\n \\\"distractor2\\\":\\\"30\\\",\\n \\\"distractor3\\\":\\\"40\\\",\\n \\\"feedback\\\":\\\"Find 100 kg on the vertical axis. Find 170 cm on the horizontal axis.
Find where the two lines meet in the graph.
They meet close to the BMI 35 curve.\\\"\\n },\\n {\\n \\\"question\\\":\\\"A person has weight 55 kg and height around 180 cm. Their BMI would be closest to:\\\",\\n \\\"answer\\\":\\\"17\\\",\\n \\\"distractor1\\\":\\\"20\\\",\\n \\\"distractor2\\\":\\\"14\\\",\\n \\\"distractor3\\\":\\\"10\\\",\\n \\\"feedback\\\":\\\"Find 55 kg on the vertical axis. Find 180 cm on the horizontal axis.
Find where the two lines meet in the graph.
They meet close to the BMI 17 curve.\\\"\\n },\\n {\\n \\\"question\\\":\\\"A person has weight 110 kg and height around 1.95 m. Which weight range would their BMI place them in?\\\",\\n \\\"answer\\\":\\\"Overweight\\\",\\n \\\"distractor1\\\":\\\"Obese\\\",\\n \\\"distractor2\\\":\\\"Severe Obesity\\\",\\n \\\"distractor3\\\":\\\"Healthy Weight Range\\\",\\n \\\"feedback\\\":\\\"Find 110 kg on the vertical axis. Find 195 cm on the horizontal axis.
Find where the two lines meet in the graph.
They meet under the BMI 30 curve, which is in the Overweight range.\\\"\\n },\\n {\\n \\\"question\\\":\\\"A person has height 175 cm and weight around 45 kg. Which weight range would their BMI place them in?\\\",\\n \\\"answer\\\":\\\"Very Underweight\\\",\\n \\\"distractor1\\\":\\\"Underweight\\\",\\n \\\"distractor2\\\":\\\"Healthy Weight Range\\\",\\n \\\"distractor3\\\":\\\"Overweight\\\",\\n \\\"feedback\\\":\\\"Find 45 kg on the vertical axis. Find 175 cm on the horizontal axis.
Find where the two lines meet in the graph.
They meet under the BMI 17 curve, which is in the Very Underweight range.\\\"\\n },\\n {\\n \\\"question\\\":\\\"A person is in the Underweight range. Their height is 1.8 m. Which of the following could be their weight?\\\",\\n \\\"answer\\\":\\\"57 kg\\\",\\n \\\"distractor1\\\":\\\"50 kg\\\",\\n \\\"distractor2\\\":\\\"62 kg\\\",\\n \\\"distractor3\\\":\\\"53 kg\\\",\\n \\\"feedback\\\":\\\"Follow the 180 cm line up until you are in between the BMI 17 and BMI 18.5 curves. Then move left until you meet the vertical axis.
The weight range for the Underweight category is between about 56 kg and 59 kg.
So the correct weight is 57 kg.\\\"\\n }\\n]\"))", "description": "
\n
\n
\n
\n
\n

The question statement, correct answer, three distractors and Advice for each of the seven possible questions.

", "templateType": "json"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n
\n
\n

The second incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n
\n
\n

The randomly chosen scenario, consisting of question statement, correct answer, three distractors and Advice.

", "templateType": "anything"}, "questionwording": {"name": "questionwording", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "
\n
\n
\n
\n
\n
\n

The question statement for the randomly chosen scenario.

", "templateType": "anything"}, "advice": {"name": "advice", "group": "Ungrouped variables", "definition": "scenario[\"feedback\"]", "description": "

The custom advice (feedback) for the selected scenario question.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "questionwording", "correctanswer", "wrong1", "wrong2", "wrong3", "advice"], "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": "

Use the chart to answer the following question:

\n

{questionwording}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correctanswer}", "{wrong1}", "{wrong2}", "{wrong3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Have you read the question and the axis labels carefully? ", "Have you read the question and the axis labels carefully? ", "Have you read the question and the axis labels carefully? "]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP Council rates infographic counting percentages (6)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/BlacktownCouncilRatesImageCropped.png", "/srv/numbas/media/question-resources/BlacktownCouncilRatesImageCropped.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP = Statistics & Probability strand. Students are shown an infographic and asked one of six possible questions.

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

The infographic below shows how Blacktown City Council spends the rates it collects from ratepayers.

\n

\n

https://www.blacktown.nsw.gov.au › bcc020_2019-rates-brochure_v10

", "advice": "
\n

The infographic shows the number of dollars per \\$100 allocated to each item. A percentage is always out of 100. Note that they are both out of 100.

\n

Therefore {percentage}% of \\$100 is equivalent to {dollars}.

\n

Count the number of items listed which are {whichway} than {dollars}.

\n

There are {answer} items which are {whichway} than {dollars}.

", "rulesets": {}, "variables": {"answer": {"name": "answer", "group": "Ungrouped variables", "definition": "scenario[\"howmany\"]", "description": "
\n
\n
\n
\n

How many budget items are in the target region?

", "templateType": "anything"}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\n \\\"greaterorless\\\":\\\"more\\\",\\n \\\"cutoffpercent\\\":10,\\n \\\"percentasdollars\\\":\\\"$10\\\",\\n \\\"howmany\\\":4\\n},\\n{\\n \\\"greaterorless\\\":\\\"more\\\",\\n \\\"cutoffpercent\\\":5,\\n \\\"percentasdollars\\\":\\\"$5\\\",\\n \\\"howmany\\\":6\\n},\\n{\\n \\\"greaterorless\\\":\\\"less\\\",\\n \\\"cutoffpercent\\\":1,\\n \\\"percentasdollars\\\":\\\"$1\\\",\\n \\\"howmany\\\":2\\n},\\n{\\n \\\"greaterorless\\\":\\\"less\\\",\\n \\\"cutoffpercent\\\":1.5,\\n \\\"percentasdollars\\\":\\\"$1.50\\\",\\n \\\"howmany\\\":4\\n},\\n{\\n \\\"greaterorless\\\":\\\"less\\\",\\n \\\"cutoffpercent\\\":2.5,\\n \\\"percentasdollars\\\":\\\"$2.50\\\",\\n \\\"howmany\\\":7\\n},\\n{\\n \\\"greaterorless\\\":\\\"less\\\",\\n \\\"cutoffpercent\\\":10,\\n \\\"percentasdollars\\\":\\\"$10\\\",\\n \\\"howmany\\\":11\\n}\\n]\"))", "description": "
\n
\n
\n
\n

Six different sets of questions. 

", "templateType": "json"}, "dollars": {"name": "dollars", "group": "Ungrouped variables", "definition": "scenario[\"percentasdollars\"]", "description": "
\n
\n
\n
\n

The percentage of \\\\$100. As text to cater for \\\\$1.50 and \\\\$2.50. Used in the Advice section only. Note that the currency command could have been used as an alternative.

", "templateType": "anything"}, "whichway": {"name": "whichway", "group": "Ungrouped variables", "definition": "scenario[\"greaterorless\"]", "description": "
\n
\n
\n
\n

Are we looking for more or less than the stated cutoff percentage?

", "templateType": "anything"}, "percentage": {"name": "percentage", "group": "Ungrouped variables", "definition": "scenario[\"cutoffpercent\"]", "description": "
\n
\n
\n
\n

What is the cutoff percentage level for the given question?

", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n
\n
\n
\n

The current randomly selected scenario.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "whichway", "percentage", "answer", "dollars"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "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": "
\n
\n
\n
\n

According to the infographic, there are [[0]] items which each account for {whichway} than {percentage}% of council's expenditure.

", "gaps": [{"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, "minValue": "{answer}", "maxValue": "{answer}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP Error bars true or false (5)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/error_bars.png", "/srv/numbas/media/question-resources/error_bars.png"], ["question-resources/error_barsv2_886.png", "/srv/numbas/media/question-resources/error_barsv2_886.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP = Statistics & Probability strand. Students are shown a bar chart with error bars and asked one of five possible questions.

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

A researcher wanted to examine the relationship between caffeine intake and short-term memory. He designed a memory test for 40 participants. The participants were all instructed to avoid consuming caffeine that day before attending the memory test experiment.

\n

Half of the participants were asked to drink a caffeine drink immediately prior to the commencement of the experiment. The other half were not. All participants were then given an identical list of eighteen random three-digit numbers and asked to memorise them in order.

\n

They were given one minute initially to memorise the numbers, then they were tested. The same list of three-digit numbers was returned to the participants after the test for another minute of study. They were then each tested again. This process was repeated until the participants had been tested five times, with access to the list of numbers for one minute in between each test.

\n

The mean and standard deviation for the number of correctly recalled numbers was calculated for each group for each test attempt. The results are shown in the chart below. The error bars represent the standard deviation.

\n

\n

", "advice": "
\n

{advicetext}

\n

", "rulesets": {}, "variables": {"Scenarios": {"name": "Scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[{\\\"question\\\":\\\"Between the two groups, there was less variation within the Caffeine group compared to the No-Caffeine group.\\\",\\n \\\"answer\\\":\\\"true\\\",\\n \\\"distractor1\\\":\\\"false\\\",\\n \\\"distractor2\\\":\\\"it is not possible to say based on the information given\\\",\\n \\\"advice\\\":\\\"If asked about variation within a group, look at the black lines (error bars), as they show the standard deviation either side of the mean, of each group at each point in time. The standard deviation is a measure of spread or variability within the group. The error bars are consistently shorter for the orange (Caffeine) bars than for the corresponding grey (No Caffeine) bars, so the statement is true.\\\"\\n },\\n \\n {\\\"question\\\":\\\"The error bars for the two groups overlapped at two points in time.\\\",\\n \\\"answer\\\":\\\"false\\\",\\n \\\"distractor1\\\":\\\"true\\\",\\n \\\"distractor2\\\":\\\"it is not possible to say based on the information given\\\",\\n \\\"advice\\\":\\\"If two error bars overlap, part of one bar will be directly underneath the other bar, for the same points in time. The only time this occurs is for the first test attempt. Therefore the statement is false.\\\"\\n },\\n \\n {\\\"question\\\":\\\"There was less variation within the No-Caffeine group as time went on.\\\",\\n \\\"answer\\\":\\\"false\\\",\\n \\\"distractor1\\\":\\\"true\\\",\\n \\\"distractor2\\\":\\\"it is not possible to say based on the information given\\\",\\n \\\"advice\\\":\\\"If asked about variation within a group, look at the black lines (error bars), as they show the standard deviation either side of the mean, of each group at each point in time. The standard deviation is a measure of spread or variability within the group. The error bars for the No-Caffeine (grey) bars become longer at each test attempt. Therefore the statement is false.\\\"\\n },\\n \\n {\\\"question\\\":\\\"Both groups improved the most between the first and third attempts.\\\",\\n \\\"answer\\\":\\\"true\\\",\\n \\\"distractor1\\\":\\\"false\\\",\\n \\\"distractor2\\\":\\\"it is not possible to say based on the information given\\\",\\n \\\"advice\\\":\\\"The No-Caffeine (grey) group recalled an average of two additional numbers at the second test attempt, two more in the third test attempt, then one, then none. The Caffeine (orange) group recalled an average of three additional numbers at the second test attempt, three more at the third test attempt, then one, then one. Therefore the statement is true.\\\"\\n },\\n \\n {\\\"question\\\":\\\"Overall, the Caffeine group performed better in the experiment.\\\",\\n \\\"answer\\\":\\\"true\\\",\\n \\\"distractor1\\\":\\\"false\\\",\\n \\\"distractor2\\\":\\\"it is not possible to say based on the information given\\\",\\n \\\"advice\\\":\\\"If asked about overall performance, look at the coloured bars, as they show the average performance of each group at each point in time. At each test attempt, the orange (Caffeine) bar is longer than the grey (No-Caffeine) bar, therefore the statement is true.\\\"\\n }\\n]\"))", "description": "
\n
\n
\n
\n

A listing of all four possible questions with correct answer, distractors and Advice.

", "templateType": "json"}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "
\n
The particular question that will be asked.The particular question that will be asked.
\n

The correct answer to the particular question.

", "templateType": "anything"}, "distractor1": {"name": "distractor1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "
\n
\n

The first incorrect answer for the question.

", "templateType": "anything"}, "distractor2": {"name": "distractor2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n
\n

The second incorrect answer for the selected question.

", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n

Randomly select one of the four scenarios (question, answer, distractors and Advice).

", "templateType": "anything"}, "question": {"name": "question", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "
\n
\n

The particular question that will be asked.

", "templateType": "anything"}, "advicetext": {"name": "advicetext", "group": "Ungrouped variables", "definition": "scenario[\"advice\"]", "description": "

The Advice text specific to the particular question.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["Scenarios", "scenario", "question", "answer", "distractor1", "distractor2", "advicetext"], "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": "
\n

Select the correct response to the following statement regarding the chart above:

\n

{question}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{answer}", "{distractor1}", "{distractor2}"], "matrix": ["1", 0, 0], "distractors": ["Well done!", "Read the information above the chart carefully, then look at the chart again.", "Read the information above the chart carefully, then look at the chart again."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP hiccup hiccough ngram (8)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/hiccup_hiccough_ngram_1200.png", "/srv/numbas/media/question-resources/hiccup_hiccough_ngram_1200.png"], ["question-resources/hiccup_hiccough_ngram_900_avVaspQ.png", "/srv/numbas/media/question-resources/hiccup_hiccough_ngram_900_avVaspQ.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP = Statistics & Probability strand. Students are shown an ngram and asked one of eight possible questions.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational \n

The table below shows average annual expenditure on eating out in Australia in 2016

\n

, broken down by establishment type and state. The average annual expenditure was calculated by dividing total revenues by the number of households in the state.

\n

\n

Source: http://www.the-drop.com.au/wp-content/uploads/2016/11/EatingOutinAustralia_2017_Respondent-Summary.compressed.pdf

\n

The table below shows average annual expenditure on eating out in Australia in 2016

\n

, broken down by establishment type and state. The average annual expenditure was calculated by dividing total revenues by the number of households in the state.

\n

\n

Source: http://www.the-drop.com.au/wp-content/uploads/2016/11/EatingOutinAustralia_2017_Respondent-Summary.compressed.pdf

\n
\n

The ngram below charts the frequency with which the spellings 'hiccup' and 'hiccough' appear in English language publications in the three-hundred year period from 1700 AD.

\n

The vertical axis measures the percentage of the specific words compared to all words published.\"

\n

\n
https://books.google.com/ngrams/graph?content=hiccup%2Chiccough&year_start=1700&year_end=2000&corpus=15&smoothing=3&share=&direct_url=t1%3B%2Chiccup%3B%2Cc0%3B.t1%3B%2Chiccough%3B%2Cc0
", "advice": "
\n
\n
\n

General Advice:

\n

Study the graph carefully. Examine the axes and labels.

\n

Then, read the question carefully and identify which part of the graph it is referring to. Does it refer to the red line, the blue line, or both?

\n

Read the question again, to double-check that you have interpreted it correctly.

\n

Specific Advice:

\n

{advice}

", "rulesets": {}, "variables": {"wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "
\n
\n
\n
\n

The third incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"question\\\":\\\"During which decade did the spelling \\'hiccup\\' experience the greatest increase in usage?\\\",\\n \\\"answer\\\":\\\"1760 - 1770\\\",\\n \\\"distractor1\\\":\\\"1740 - 1750\\\",\\n \\\"distractor2\\\":\\\"1780 - 1790\\\",\\n \\\"distractor3\\\":\\\"1980 - 1990\\\",\\n \\\"feedback\\\":\\\"Check each decade given and determine in which one the blue \\'hiccup\\' line went up the most.
Of the decades given, the decade with the greatest increase in usage was 1760 - 1770.\\\"\\n },\\n {\\n \\\"question\\\":\\\"During which period did the spelling \\'hiccup\\' experience the least variation in usage?\\\",\\n \\\"answer\\\":\\\"1940 - 1960\\\",\\n \\\"distractor1\\\":\\\"1860 - 1880\\\",\\n \\\"distractor2\\\":\\\"1700 - 1720\\\",\\n \\\"distractor3\\\":\\\"1920 - 1940\\\",\\n \\\"feedback\\\":\\\"Check each time period given and determine in which one the blue \\'hiccup\\' line remained the flattest.
Of the periods given, the one with the least variation in usage was 1940 - 1960.\\\"\\n },\\n {\\n \\\"question\\\":\\\"During which decade did the spelling \\'hiccough\\' experience the largest decline in popularity?\\\",\\n \\\"answer\\\":\\\"1780 - 1790\\\",\\n \\\"distractor1\\\":\\\"1880 - 1890\\\",\\n \\\"distractor2\\\":\\\"1740 - 1750\\\",\\n \\\"distractor3\\\":\\\"1910 - 1920\\\",\\n \\\"feedback\\\":\\\"Check each decade given and determine in which one the red \\'hiccough\\' line went down the most.
Of the decades given, the decade with the largest decline in usage was 1780 - 1790.\\\"\\n },\\n {\\n \\\"question\\\":\\\"Out of the ten million words published in 1800, approximately how many times did \\'hiccup\\' appear?\\\",\\n \\\"answer\\\":\\\"4\\\",\\n \\\"distractor1\\\":\\\"40\\\",\\n \\\"distractor2\\\":\\\"400\\\",\\n \\\"distractor3\\\":\\\"4000\\\",\\n \\\"feedback\\\":\\\"Locate the \\'hiccup\\' line for 1800, and read the relative proportion from the vertical axis. It is close to 0.00004%.
Then calculate 0.00004% of 10 000 000 (0.00004 \u00f7 100 x 10 000 000).
This gives 4, which is surprisingly small.
The word \\'hiccup\\' appeared four times out of the ten million words published in 1800.\\\"\\n },\\n {\\n \\\"question\\\":\\\"Out of the hundred million words published in 1860, approximately how many times did \\'hiccough\\' appear?\\\",\\n \\\"answer\\\":\\\"30\\\",\\n \\\"distractor1\\\":\\\"3\\\",\\n \\\"distractor2\\\":\\\"300\\\",\\n \\\"distractor3\\\":\\\"3000\\\",\\n \\\"feedback\\\":\\\"Locate the \\'hiccough\\' line for 1860, and read the relative proportion from the vertical axis.It is close to 0.00003%.
Then calculate 0.00003% of 100 000 000 (0.00003 \u00f7 100 x 100 000 000).
This gives 30, which is surprisingly small.
The word \\'hiccough\\' appeared thirty times out of the hundred million words published in 1860.\\\"\\n },\\n {\\n \\\"question\\\":\\\"For the period 1750 - 2000, what proportion of the time was \\'hiccough\\' the more popular spelling?\\\",\\n \\\"answer\\\":\\\"40%\\\",\\n \\\"distractor1\\\":\\\"25%\\\",\\n \\\"distractor2\\\":\\\"30%\\\",\\n \\\"distractor3\\\":\\\"50%\\\",\\n \\\"feedback\\\":\\\"Determine for how many years between 1750 and 2000, the red \\'hiccough\\' line is above the blue \\'hiccup\\' line.
It is above for roughly 100 years out of the 250 year timespan.
Then convert 100/250 to a percentage (100 \u00f7 250 x 100%). This gives an answer of 40%.
So \\'hiccough\\' was the more popular spelling during 40% of the period 1750 - 2000.\\\"\\n },\\n {\\n \\\"question\\\":\\\"If the trend with \\'hiccup\\' from 1980 - 2000 continues, and \\'hiccough\\' remains stable at the 1980 - 2000 average level, approximately how many times more frequently would you expect \\'hiccup\\' than \\'hiccough\\' to occur in 2020?\\\",\\n \\\"answer\\\":\\\"6\\\",\\n \\\"distractor1\\\":\\\"5\\\",\\n \\\"distractor2\\\":\\\"4\\\",\\n \\\"distractor3\\\":\\\"3\\\",\\n \\\"feedback\\\":\\\"Between 1980 and 2000, \\'hiccough\\' was fairly stable at around 0.000005%.
Between 1980 and 2000, \\'hiccup\\' increased from 0.00001% to 0.00002%.
If it continues at the same rate, it should reach 0.00003% by 2020.
0.00003 \u00f7 0.000005 = 6.
So \\'hiccup\\' will occur 6 times as frequently as \\'hiccough\\' by the year 2020.\\\"\\n },\\n {\\n \\\"question\\\":\\\"In which year did the spellings \\'hiccup\\' and \\'hiccough\\' appear in very similar proportions?\\\",\\n \\\"answer\\\":\\\"1960\\\",\\n \\\"distractor1\\\":\\\"1940\\\",\\n \\\"distractor2\\\":\\\"1920\\\",\\n \\\"distractor3\\\":\\\"1900\\\",\\n \\\"feedback\\\":\\\"Check each given year and look for the year where the two lines are closest together.
The year where this occurs is 1960.
So the spellings \\'hiccup\\' and \\'hiccough\\' appear in very similar proportions in 1960.\\\"\\n }\\n]\"))", "description": "
\n
\n
\n
\n

The question statement, correct answer, three distractors and specific feedback for each of the eight possible questions.

", "templateType": "json"}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "
\n
\n
\n
\n

The correct answer for the randomly chosen scenario.

", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n
\n

The randomly chosen scenario, consisting of question statement, correct answer, Advice and three distractors.

", "templateType": "anything"}, "questionwording": {"name": "questionwording", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "
\n
\n
\n
\n

The question statement for the randomly chosen scenario.

", "templateType": "anything"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n
\n

The second incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "
\n
\n
\n
\n

The first incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "advice": {"name": "advice", "group": "Ungrouped variables", "definition": "scenario[\"feedback\"]", "description": "

Specific feedback based on the selected question.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "questionwording", "correctanswer", "wrong1", "wrong2", "wrong3", "advice"], "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": "
\n

{questionwording}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correctanswer}", "{wrong1}", "{wrong2}", "{wrong3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Make sure you read the question and the graph carefully.", "Make sure you read the question and the graph carefully.", "Make sure you read the question and the graph carefully."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP NC Household Eating Out expenditure table (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Eating_out_table_Pyu6AZz.png", "/srv/numbas/media/question-resources/Eating_out_table_Pyu6AZz.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP  Statistics & Probability strand. NC = Non Calculator strand. Students are shown a table and asked one of seven possible questions.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational \n

The table below shows average annual expenditure on eating out in Australia in 2016

\n

, broken down by establishment type and state. The average annual expenditure was calculated by dividing total revenues by the number of households in the state.

\n

\n

Source: http://www.the-drop.com.au/wp-content/uploads/2016/11/EatingOutinAustralia_2017_Respondent-Summary.compressed.pdf

\n

The table below shows average annual expenditure on eating out in Australia in 2016

\n

, broken down by establishment type and state. The average annual expenditure was calculated by dividing total revenues by the number of households in the state.

\n

\n

Source: http://www.the-drop.com.au/wp-content/uploads/2016/11/EatingOutinAustralia_2017_Respondent-Summary.compressed.pdf

\n
\n

The table below shows the average annual expenditure on eating out in Australia in 2016, broken down by establishment type and state.

\n

The average annual expenditure was calculated by dividing total revenues by the number of households in the state.

\n

Source: http://www.the-drop.com.au/wp-content/uploads/2016/11/EatingOutinAustralia_2017_Respondent-Summary.compressed.pdf

", "advice": "
\n
\n
\n

General advice:

\n

First, study the table carefully. Do you know what each number in the table represents?

\n\n

Then, read the question carefully and identify which part of the table it is referring to. It may be referring to a row, a column, or an individual number in the table. Read the question again, to double-check that you have interpreted it correctly.

\n

Specific advice:

\n

{advice}

", "rulesets": {}, "variables": {"wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "
\n
\n
\n
\n

The third incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "
\n
\n
\n
\n

The correct answer for the randomly chosen scenario.

", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "
\n
\n
\n
\n

The first incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"question\\\":\\\"In 2018, spending in Pubs and bars rose to \\\\\\\\$400 per Australian household. The percentage increase in 2018 on the 2016 spend is closest to:\\\",\\n \\\"answer\\\":\\\"30%\\\",\\n \\\"distractor1\\\":\\\"40%\\\",\\n \\\"distractor2\\\":\\\"3%\\\",\\n \\\"distractor3\\\":\\\"4%\\\",\\n \\\"feedback\\\":\\\"The table gives the average Australian 2016 spend in Pubs and bars as \\\\\\\\$304.
The increase from 2016 to 2018 was \\\\\\\\$400 - \\\\\\\\$304 = \\\\\\\\$96.
To find out the proportion increase, calculate \\\\\\\\$96 \u00f7 \\\\\\\\$304 x 100% to get 31.6%.
The closest answer to this is 30%.
Without a calculator, round \\\\\\\\$304 to \\\\\\\\$300. An increase of \\\\\\\\$100 on \\\\\\\\$300 is one third, or 33%.
The closest answer to this is 30%.\\\"\\n },\\n {\\n \\\"question\\\":\\\"What is the difference between the spending on Restaurants per household in NSW, and the spending on Restaurants per household in the NT?\\\",\\n \\\"answer\\\":\\\"$754\\\",\\n \\\"distractor1\\\":\\\"$756\\\",\\n \\\"distractor2\\\":\\\"$2 426\\\",\\n \\\"distractor3\\\":\\\"$1 366\\\",\\n \\\"feedback\\\":\\\"NSW spent \\\\\\\\$1 590 per household on restaurants.
The NT spent \\\\\\\\$836 per household on restaurants.
Subtract these to get the difference. \\\\\\\\$1 590 - \\\\\\\\$836 = \\\\\\\\$754.
The difference between spending on Restaurants per household in NSW, and the NT is \\\\\\\\$754.\\\"\\n },\\n{\\n \\\"question\\\":\\\"What is the range of expenditures on Fast food, between the states?\\\",\\n \\\"answer\\\":\\\"$1 679\\\",\\n \\\"distractor1\\\":\\\"$2 321\\\",\\n \\\"distractor2\\\":\\\"$3 460\\\",\\n \\\"distractor3\\\":\\\"$2 679\\\",\\n \\\"feedback\\\":\\\"The largest and smallest expenditures in the Fast Food column are \\\\\\\\$3 460 (NT) and \\\\\\\\$1 781 (SA).
Subtract these to get the range. \\\\\\\\$3 460 - \\\\\\\\$1 781 = \\\\\\\\$1 679.
The range of expenditures on Fast food, between the states is \\\\\\\\$1 679.\\\"\\n },\\n{\\n \\\"question\\\":\\\"For South Australia, what was the range of annual eating out expenditures between the different establishment types? \\\",\\n \\\"answer\\\":\\\"$1 569\\\",\\n \\\"distractor1\\\":\\\"$1 781\\\",\\n \\\"distractor2\\\":\\\"$212\\\",\\n \\\"distractor3\\\":\\\"$1 561\\\",\\n \\\"feedback\\\":\\\"The largest and smallest expenditures in the SA row are \\\\\\\\$1 781 (Fast Food) and \\\\\\\\$212 (Clubs).
Subtract these to get the range. \\\\\\\\$1 781 - \\\\\\\\$212 = \\\\\\\\$1 569.
The range within South Australia\\'s annual eating out expenditures is \\\\\\\\$1 569.\\\"\\n },\\n{\\n \\\"question\\\":\\\"Which state was closest to the Australian average expenditure for Fast food?\\\",\\n \\\"answer\\\":\\\"Queensland\\\",\\n \\\"distractor1\\\":\\\"ACT\\\",\\n \\\"distractor2\\\":\\\"Victoria\\\",\\n \\\"distractor3\\\":\\\"WA\\\",\\n \\\"feedback\\\":\\\"The Australian average expenditure for Fast Food was \\\\\\\\$2 160.
The closest amount to \\\\\\\\$2 160 in the Fast Food column is \\\\\\\\$2 167 which was Queensland.\\\"\\n },\\n{\\n \\\"question\\\":\\\"Which state was closest to the Australian Total expenditure?\\\",\\n \\\"answer\\\":\\\"Victoria\\\",\\n \\\"distractor1\\\":\\\"NSW\\\",\\n \\\"distractor2\\\":\\\"WA\\\",\\n \\\"distractor3\\\":\\\"SA\\\",\\n \\\"feedback\\\":\\\"The Australian Total expenditure was \\\\\\\\$4 905.
The closest number to \\\\\\\\$4 905 in the Total column is \\\\\\\\$4 896, so the state which was closest to the average Total expenditure was Victoria.\\\"\\n },\\n{\\n \\\"question\\\":\\\"There are 90 000 households in the Northern Territory. What was the total expenditure in the NT on food in Clubs?\\\",\\n \\\"answer\\\":\\\"$37 800 000\\\",\\n \\\"distractor1\\\":\\\"$90 420\\\",\\n \\\"distractor2\\\":\\\"$37 800\\\",\\n \\\"distractor3\\\":\\\"$36 180 000\\\",\\n \\\"feedback\\\":\\\"The average annual expenditure in Clubs in the NT per household was \\\\\\\\$420.
Multiply \\\\\\\\$420 by the 90 000 households in the NT to obtain \\\\\\\\$37 800 000.
The total expenditure in the NT on food in Clubs was \\\\\\\\$37 800 000.\\\"\\n }\\n]\"))", "description": "
\n
\n
\n
\n

The question statement, correct answer, three distractors and Advice for each of the seven possible questions.

", "templateType": "json"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n
\n

The second incorrect answer (distractor) for the randomly chosen scenario.

", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n
\n

The randomly chosen scenario, consisting of question statement, correct answer, three distractors and Advice.

", "templateType": "anything"}, "questionwording": {"name": "questionwording", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "
\n
\n
\n
\n

The question statement for the randomly chosen scenario.

", "templateType": "anything"}, "advice": {"name": "advice", "group": "Ungrouped variables", "definition": "scenario[\"feedback\"]", "description": "

This is the feedback given in the Advice section, for the selected question.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "questionwording", "correctanswer", "wrong1", "wrong2", "wrong3", "advice"], "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": "
\n

{questionwording}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correctanswer}", "{wrong1}", "{wrong2}", "{wrong3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Make sure you read the question and the table carefully.", "Make sure you read the question and the table carefully.", "Make sure you read the question and the table carefully."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP NC lunch pack combinations (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Eating_out_table_Pyu6AZz.png", "/srv/numbas/media/question-resources/Eating_out_table_Pyu6AZz.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP = Statistics & Probability strand. NC = Non Calculator strand. Students are shown a table of lunch options, given a child's food preferences and asked how many combinations are possible. There are seven possible questions.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational Percentage of grade 6 pupils reaching reading proficiency levels— Southern and Eastern Africa Consortium for Monitoring Educational \n

The table below shows average annual expenditure on eating out in Australia in 2016

\n

, broken down by establishment type and state. The average annual expenditure was calculated by dividing total revenues by the number of households in the state.

\n

\n

Source: http://www.the-drop.com.au/wp-content/uploads/2016/11/EatingOutinAustralia_2017_Respondent-Summary.compressed.pdf

\n

The table below shows average annual expenditure on eating out in Australia in 2016

\n

, broken down by establishment type and state. The average annual expenditure was calculated by dividing total revenues by the number of households in the state.

\n

\n

Source: http://www.the-drop.com.au/wp-content/uploads/2016/11/EatingOutinAustralia_2017_Respondent-Summary.compressed.pdf

\n
\n

The Carrington Public School canteen offers pre-ordered lunch packs. Each lunch pack contains three things - a main item, a snack, and a drink. 

\n

The choices are listed in the table below.

\n

Children must choose one item from each row in the table.

\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
ItemChoice 1Choice 2Choice 3Choice 4Choice 5
Main itemsandwichwrap---------
Snackapplebananamuffinbag of chipsmega cookie
Drinkjuicewatermilk------
", "advice": "
\n
\n
\n

Read the question carefully, and look at the table. How many options are there for each of the three items, for this particular student, without the items they don't like?

\n

Main items: {mains}             Snacks: {snacks}             Drinks: {drinks}

\n

To find the total number of possible combinations, we multiply these three numbers (we do not add them).

\n

{mains} x {snacks} x {drinks} = {mains*snacks*drinks}

\n

There are {mains*snacks*drinks} combinations that this student can potentially choose from. 

", "rulesets": {}, "variables": {"mains": {"name": "mains", "group": "Ungrouped variables", "definition": "scenario[\"main\"]", "description": "
\n
\n
\n

The number of main item options for the given scenario. It is preset in the scenario.

", "templateType": "anything"}, "snacks": {"name": "snacks", "group": "Ungrouped variables", "definition": "scenario[\"snack\"]", "description": "
\n
\n

The number of snack options for the given scenario. It is preset in the scenario.

", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n
\n
\n

The randomly chosen scenario, consisting of question statement, the numbers for mains, snacks & drinks, the correct answer, and two distractors.

", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "mains+snacks+drinks", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n

The first incorrect answer (distractor) for the randomly chosen scenario. Students will get this answer if they add instead of multiply. It is calculated from the variables which hold the counts for the number of mains, snacks and drinks.

", "templateType": "anything"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n
\n
\n
\n

The second incorrect answer (distractor) for the randomly chosen scenario. It is preset in the scenario, not calculated.

", "templateType": "anything"}, "wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "
\n
\n
\n
\n
\n

The third incorrect answer (distractor) for the randomly chosen scenario. It is preset in the scenario, not calculated.

", "templateType": "anything"}, "questionwording": {"name": "questionwording", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "
\n
\n
\n
\n
\n

The question statement for the randomly chosen scenario.

", "templateType": "anything"}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "mains*snacks*drinks", "description": "
\n
\n
\n
\n
\n
\n
\n
\n

The correct answer for the randomly chosen scenario, calculated from the variables which hold the counts for the number of mains, snacks and drinks.

", "templateType": "anything"}, "drinks": {"name": "drinks", "group": "Ungrouped variables", "definition": "scenario[\"drink\"]", "description": "
\n
\n

The number of  drink options for the given scenario. It is preset in the scenario.

", "templateType": "anything"}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"question\\\":\\\"Jenny does not like wraps or milk. How many different combinations of lunch packs could she choose?\\\",\\n \\\"main\\\":1,\\n \\\"snack\\\":5,\\n \\\"drink\\\":2,\\n \\\"distractor2\\\":\\\"9\\\",\\n \\\"distractor3\\\":\\\"12\\\"\\n },\\n {\\n \\\"question\\\":\\\"Maria does not like bananas or water. How many different combinations of lunch packs could she choose?\\\",\\n \\\"main\\\":2,\\n \\\"snack\\\":4,\\n \\\"drink\\\":2,\\n \\\"distractor2\\\":\\\"12\\\",\\n \\\"distractor3\\\":\\\"10\\\"\\n },\\n {\\n \\\"question\\\":\\\"Alison cannot drink milk. How many different combinations of lunch packs could she choose?\\\",\\n \\\"main\\\":2,\\n \\\"snack\\\":5,\\n \\\"drink\\\":2,\\n \\\"distractor2\\\":\\\"24\\\",\\n \\\"distractor3\\\":\\\"16\\\"\\n },\\n {\\n \\\"question\\\":\\\"Tina does not like sandwiches or muffins. How many different combinations of lunch packs could she choose?\\\",\\n \\\"main\\\":1,\\n \\\"snack\\\":4,\\n \\\"drink\\\":3,\\n \\\"distractor2\\\":\\\"16\\\",\\n \\\"distractor3\\\":\\\"14\\\"\\n },\\n {\\n \\\"question\\\":\\\"Jon is not a fussy eater, and likes everything on the menu. How many different combinations of lunch packs could he choose?\\\",\\n \\\"main\\\":2,\\n \\\"snack\\\":5,\\n \\\"drink\\\":3,\\n \\\"distractor2\\\":\\\"20\\\",\\n \\\"distractor3\\\":\\\"15\\\"\\n },\\n {\\n \\\"question\\\":\\\"Ravi does not like apples. How many different combinations of lunch packs could he choose?\\\",\\n \\\"main\\\":2,\\n \\\"snack\\\":4,\\n \\\"drink\\\":3,\\n \\\"distractor2\\\":\\\"15\\\",\\n \\\"distractor3\\\":\\\"28\\\"\\n },\\n {\\n \\\"question\\\":\\\"Cheng does not like wraps, chips or cookies. How many different combinations of lunch packs could he choose?\\\",\\n \\\"main\\\":1,\\n \\\"snack\\\":3,\\n \\\"drink\\\":3,\\n \\\"distractor2\\\":\\\"10\\\",\\n \\\"distractor3\\\":\\\"12\\\"\\n }\\n]\"))", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n

The question statement, number of mains, snacks and drinks choices, and two distractors for each of the seven possible questions.

", "templateType": "json"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "questionwording", "correctanswer", "wrong1", "wrong2", "wrong3", "mains", "snacks", "drinks"], "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": "
\n

{questionwording}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correctanswer}", "{wrong1}", "{wrong2}", "{wrong3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Working out combinations involves multiplication, not addition.", "Hint: Working out combinations involves multiplication.", "Hint: Working out combinations involves multiplication."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP NC Read data from a chart (5)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/child_care_chart.png", "/srv/numbas/media/question-resources/child_care_chart.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia).SP = Statistics & Probability strand. NC = Non Calculator strand. Students are shown an infographic and asked two of five possible true/false questions.

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

The chart below shows the proportion and type of care used for children in Australia.

\n

\n

Taken from http://www.abs.gov.au/ausstats/abs@.nsf/0/F924A95E815CD063CA257657001619DE?Opendocument Accessed 22/11/2018

\n

Decide whether each statement below is True or False:

", "advice": "

a) {advice1}

\n

b) {advice2}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"statements": {"name": "statements", "group": "Ungrouped variables", "definition": "[\n \"The proportion of children aged 0 \u2013 12 using only informal care decreased between 2011 and 2017.\",\n \"In 2014, twice as many parents used only informal care, compared to those that used both types of care.\",\n \"In 2017, more than half of the parents who were using some form of care, included at least some use of informal care.\",\n \"In 2011, 32.1% of parents used only one type of care.\",\n \"Around one half of parents of children aged 0 \u2013 12 are using some form of care.\"\n ]", "description": "

This is the list of potential question statements. Two are chosen.

", "templateType": "anything", "can_override": false}, "answers": {"name": "answers", "group": "Ungrouped variables", "definition": "[\n \"True\",\n \"False\",\n \"True\",\n \"False\",\n \"True\"\n ]", "description": "

These are the list of answers corresponding to each potential question statement.

", "templateType": "anything", "can_override": false}, "index1": {"name": "index1", "group": "Ungrouped variables", "definition": "random(0..4)", "description": "

This number selects the first statement.

", "templateType": "anything", "can_override": false}, "index2": {"name": "index2", "group": "Ungrouped variables", "definition": "random(0..4 except index1)", "description": "

This number selects the second statement.

", "templateType": "anything", "can_override": false}, "statement1": {"name": "statement1", "group": "Ungrouped variables", "definition": "statements[index1]", "description": "

This is the first question statement.

", "templateType": "anything", "can_override": false}, "statement2": {"name": "statement2", "group": "Ungrouped variables", "definition": "statements[index2]", "description": "

This is the second question statement.

", "templateType": "anything", "can_override": false}, "answer1": {"name": "answer1", "group": "Ungrouped variables", "definition": "answers[index1]", "description": "

This is the answer to the first statement.

", "templateType": "anything", "can_override": false}, "answer2": {"name": "answer2", "group": "Ungrouped variables", "definition": "answers[index2]", "description": "

This is the answer to the second statement.

", "templateType": "anything", "can_override": false}, "solutions": {"name": "solutions", "group": "Ungrouped variables", "definition": "[\n \"The proportion of parents using only informal care was 28.5% in 2011, 24.2% in 2014 and 22.2% in 2017.
It steadily decreased over this time, so the statement is true.\",\n \"In 2014, 24.2% of parents used only informal care. Only 8.5% of parents used both.
24.2% is much more than double 8.5%, so the statement is false.\",\n \"In 2017, 49.3% of parents used some sort of care.
31.9% included at least some informal care (22.2% + 9.7%).
Therefore the statement that more than half of those parents using some sort of care used at least some informal care is true.\",\n \"In 2011, 13.6% of parents used formal care only and 28.5% of parents used informal care only.
These figures do not add to 32.1% so the statement is false.\",\n \"Overall care usage was 52.2% (2011), 48.1% (2014) and 49.3% (2017).
These proportions are all very close to one half, so the statement is true.\"\n ]", "description": "

This is the list of advice statements corresponding to each potential question statement.

", "templateType": "anything", "can_override": false}, "advice1": {"name": "advice1", "group": "Ungrouped variables", "definition": "solutions[index1]", "description": "

The advice for the first statement question.

", "templateType": "anything", "can_override": false}, "advice2": {"name": "advice2", "group": "Ungrouped variables", "definition": "solutions[index2]", "description": "

The advice for the second statement question.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["index1", "index2", "statements", "statement1", "statement2", "answers", "answer1", "answer2", "solutions", "advice1", "advice2"], "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": "

{statement1}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["True", "False"], "matrix": ["if(answer1=\"True\",0.5,0)", "if(answer1=\"True\",0,0.5)"], "distractors": ["", ""]}, {"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": "

{statement2}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["True", "False"], "matrix": ["if(answer2=\"True\",0.5,0)", "if(answer2=\"True\",0,0.5)"], "distractors": ["", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP Net worth asset proportions divided bars (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Net_worth_asset_proportions.png", "/srv/numbas/media/question-resources/Net_worth_asset_proportions.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia).SP = Statistics & Probability strand. Students are shown a divided bar chart and asked one of seven possible true/false questions.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
\n
\n
\n
\n
What Assets Makeup WealthWhat Assets Makeup WealthWhat Assets Makeup Wealth
\n

The divided bar chart below displays the proportion of assets held (on average) by people in various net worth tiers (wealth categories).

\n

K = thousand     M = million      B = billion     

\n

\n

Source: https://www.skyviewadv.com/insight-post/politics-and-taxes-interesting-charts-and-graphs/

", "advice": "
\n
\n

\n

{advice}

\n

", "rulesets": {}, "variables": {"scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n

The one randomly chosen scenario consisting of the question, answer and two distractors.

", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "
\n
\n
\n

The first incorrect answer for the question in the current scenario.

", "templateType": "anything"}, "questiontext": {"name": "questiontext", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "
\n
\n
\n

The question in the current scenario.

", "templateType": "anything"}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "
\n
\n

The answer for the question in the current scenario.

", "templateType": "anything"}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"question\\\":\\\"A typical person with net worth \\\\\\\\$1B has less money invested in their Primary Residence, than does a typical person with net worth \\\\\\\\$1M.\\\",\\n \\\"answer\\\":\\\"False\\\",\\n \\\"distractor1\\\":\\\"True\\\",\\n \\\"distractor2\\\":\\\"It is not possible to determine from the given information\\\",\\n \\\"solution\\\":\\\"The people in the \\\\\\\\$1M tier have a higher proportion of their money invested in their Primary Residence (their red bar is approximately 25% whereas the red bar for the \\\\\\\\$1B tier is only about 2%).
However, the typical person with net worth \\\\\\\\$1B has more money invested in their Primary Residence in dollar terms.
2% of \\\\\\\\$1B = \\\\\\\\$20 000 000 whereas 25% of \\\\\\\\$1M is only \\\\\\\\$250 000.
Therefore this statement is false.\\\"\\n },\\n {\\n \\\"question\\\":\\\"Typically, a person with net worth \\\\\\\\$100K has more money in Retirement funds than they have in Liquid investments.\\\",\\n \\\"answer\\\":\\\"True\\\",\\n \\\"distractor1\\\":\\\"False\\\",\\n \\\"distractor2\\\":\\\"It is not possible to determine from the given information\\\",\\n \\\"solution\\\":\\\"This question relates to people with net worth \\\\\\\\$100K.
In that tier, the Retirement funds bar (dark yellow) is significantly longer than the Liquid Investments bar (dark green).
Therefore the statement is true.\\\"\\n },\\n{\\n \\\"question\\\":\\\"Every person who has their Primary Residence as their main asset has net worth \\\\\\\\$100K.\\\",\\n \\\"answer\\\":\\\"False\\\",\\n \\\"distractor1\\\":\\\"True\\\",\\n \\\"distractor2\\\":\\\"It is not possible to determine from the given information\\\",\\n \\\"solution\\\":\\\"The longest red Primary Residence bar occurs in the \\\\\\\\$100K tier.
However, it is not the only tier which has the Primary Residence bar as its longest tier (this also occurs for the \\\\\\\\$10K tier and the \\\\\\\\$1M tier).
Therefore the statement is false.\\\"\\n },\\n {\\n \\\"question\\\":\\\"As net worth increases, Business Interests increase as a proportion of net wealth.\\\",\\n \\\"answer\\\":\\\"True\\\",\\n \\\"distractor1\\\":\\\"False\\\",\\n \\\"distractor2\\\":\\\"It is not possible to determine from the given information\\\",\\n \\\"solution\\\":\\\"This statement is true, because as you move to the higher net worth tiers in the chart (eg \\\\\\\\$1M, \\\\\\\\$10M, \\\\\\\\$100M etc), the length of the dark blue Business Interests bar increases.\\\"\\n },\\n{\\n \\\"question\\\":\\\"A person with high net worth will typically have less expensive vehicles than a person with much lower net worth.\\\",\\n \\\"answer\\\":\\\"False\\\",\\n \\\"distractor1\\\":\\\"True\\\",\\n \\\"distractor2\\\":\\\"It is not possible to determine from the given information\\\",\\n \\\"solution\\\":\\\"The people in the higher net worth tiers have a shorter orange Vehicles bar.
However, the value of their vehicles will probably be more in dollar terms.
For example, 1% of \\\\\\\\$1B = \\\\\\\\$10 000 000 whereas 15% of \\\\\\\\$100K = \\\\\\\\$15 000.
Therefore this statement is false.\\\"\\n },\\n{\\n \\\"question\\\":\\\"If a person has Business Interests as their main asset, typically, they will have net worth of at least \\\\\\\\$10M.\\\",\\n \\\"answer\\\":\\\"True\\\",\\n \\\"distractor1\\\":\\\"False\\\",\\n \\\"distractor2\\\":\\\"It is not possible to determine from the given information\\\",\\n \\\"solution\\\":\\\"This statement is true.
People in net worth tiers less than \\\\\\\\$10M have their Primary Residence as their main asset, whereas people in net worth tiers of \\\\\\\\$10M or more have Business Interests as their main asset.\\\"\\n },\\n {\\n \\\"question\\\":\\\"As net worth increases, people typically have less money invested in Liquid assets.\\\",\\n \\\"answer\\\":\\\"False\\\",\\n \\\"distractor1\\\":\\\"True\\\",\\n \\\"distractor2\\\":\\\"It is not possible to determine from the given information\\\",\\n \\\"solution\\\":\\\"As net worth increases, the dark green Liquid assets bar decreases in length.
However, this does not mean that less money is invested in Liquid assets.
For example, 1% of \\\\\\\\$1B = \\\\\\\\$10 000 000 whereas 15% of \\\\\\\\$10K is only \\\\\\\\$1 500. Therefore this statement is false.\\\"\\n }\\n]\"))", "description": "
\n
\n
\n
\n
\n
\n
\n
\n

The list of all possible questions, answers, feedback (advice) and two distractors per question.

", "templateType": "json"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "
\n

The second incorrect answer for the question in the current scenario.

", "templateType": "anything"}, "advice": {"name": "advice", "group": "Ungrouped variables", "definition": "scenario[\"solution\"]", "description": "

The specific advice for the given question.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "questiontext", "correctanswer", "wrong1", "wrong2", "advice"], "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": "
\n

Select the correct option for the following statement:

\n

{questiontext}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correctanswer}", "
\n{wrong1}", "
\n{wrong2}"], "matrix": ["1", 0, 0], "distractors": ["Well done!", "Read the question again, and look carefully at the chart.", "Read the question again, and look carefully at the chart."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "SP OECD bar chart with 1 for 1 return (10+)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/OECD_obesity_bar_chart.png", "/srv/numbas/media/question-resources/OECD_obesity_bar_chart.png"], ["question-resources/OECD_obesity_bar_chart2.png", "/srv/numbas/media/question-resources/OECD_obesity_bar_chart2.png"], ["question-resources/OECD_obesity_bar_chart3.png", "/srv/numbas/media/question-resources/OECD_obesity_bar_chart3.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). SP = Statistics & Probability strand. Students are shown a column graph and asked to calculate the net benefit given the amount invested (randomly generated) and the intervention type (one of seven possible).

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

The Organisation for Economic Co-operation and Development (OECD) has researched various interventions for reducing the rate of people who are overweight. The graph below shows how many US dollars (USD) are returned in Gross Domestic Product (GDP) for each US dollar invested on an intervention. Any result greater than 1 has a net benefit to the economy. The net benefit to the economy is the GDP returned less the money invested on the intervention.

\n

\n

https://www.oecd.org/health/health-systems/Heavy-burden-of-obesity-London-launch-presentation-Cecchini.pdf

", "advice": "
\n

First, for the given intervention, {interventiontype}, read the return rate from the vertical axis. It is approximately {returnrate}.

\n

Next, subtract 1 from the return rate as it costs 1 dollar for every {returnrate} dollars gained in GDP.

\n

{returnrate} - 1 = {returnrate - 1}. This is the net return rate.

\n

Finally, multiply this net return rate by the amount invested.

\n

{returnrate - 1} x \\${formatnumber(investment,\"si-en\")} = \\${trim(dpformat((returnrate - 1)*investment,0,\"si-en\"))} 

\n
\n

The expected net benefit in GDP is \\${trim(dpformat((returnrate - 1)*investment,0,\"si-en\"))}.

\n
\n
\n

The expected net benefit in GDP is \\${trim(dpformat((returnrate - 1)*investment,0,\"si-en\"))}. In other words, it costs more to invest in this intervention than is gained in benefits from it.

\n
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n

The randomly chosen scenario, from the list of seven possible scenarios.

", "templateType": "anything", "can_override": false}, "interventiontype": {"name": "interventiontype", "group": "Ungrouped variables", "definition": "scenario[\"intervention\"]", "description": "
\n
\n
\n
\n
\n
\n
\n

The name of the intervention in the randomly selected scenario.

", "templateType": "anything", "can_override": false}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\n\\\"intervention\\\":\\\"Food advertising regulation\\\",\\n\\\"returnfactor\\\":5.7\\n},\\n{\\n\\\"intervention\\\":\\\"Mobile apps\\\",\\n\\\"returnfactor\\\":2.2\\n},\\n{\\n\\\"intervention\\\":\\\"Physical activity packages\\\",\\n\\\"returnfactor\\\":1.8\\n},\\n{\\n\\\"intervention\\\":\\\"Workplace wellness programmes\\\",\\n\\\"returnfactor\\\":0.8\\n},\\n{\\n\\\"intervention\\\":\\\"Menu labelling\\\",\\n\\\"returnfactor\\\":4.9\\n},\\n{\\n\\\"intervention\\\":\\\"a Mass media campaign\\\",\\n\\\"returnfactor\\\":4.1\\n},\\n{\\n\\\"intervention\\\":\\\"a Mixed package\\\",\\n\\\"returnfactor\\\":1.2\\n}\\n]\"))", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

The data from the chart, for seven selected interventions.

", "templateType": "json", "can_override": false}, "investment": {"name": "investment", "group": "Ungrouped variables", "definition": "random(10000 .. 100000#10000)", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

The randomly generated amount invested in the intervention. 

", "templateType": "randrange", "can_override": false}, "returnrate": {"name": "returnrate", "group": "Ungrouped variables", "definition": "scenario[\"returnfactor\"]", "description": "
\n
\n
\n
\n
\n
\n

The size of the returnfactor for the intervention in the randomly selected scenario. One must be subtracted from this to obtain the net return rate.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "investment", "interventiontype", "returnrate"], "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": "

If \\${formatnumber(investment,\"si-en\")} USD is invested in {interventiontype}, what would be the approximate expected net benefit?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["\\${trim(dpformat(returnrate*investment,0,\"si-en\"))}", "
\n
\n\\${trim(dpformat(returnrate*1000,0,\"si-en\"))}", "
\n
\n
\n\\${trim(dpformat((returnrate-1)*1000,0,\"si-en\"))}", "
\n
\n\\${trim(dpformat((returnrate-1)*investment,0,\"si-en\"))}"], "matrix": [0, 0, 0, "1"], "distractors": ["Remember to subtract one dollar from the return rate, before multiplying by the amount invested.", "Remember to subtract one dollar from the return rate, then multiply by the amount invested.", "Remember to multiply by the amount invested.", "Well done!"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Non calculator", "pickingStrategy": "all-ordered", "pickQuestions": "10", "questionNames": ["", "", "", "", "", "", "", "", "", ""], "questions": [{"name": "NC NA box of chocolates ratios (10+)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

This question was modified from a Newcastle University question. Used for LANTITE preparation (Australia). NC = Non Calculator strand. NA = Number & Algebra strand. Students need to work out a ratio and simplify it.

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

A family received a box of chocolates as a gift. There were five different kinds of chocolates inside: Plain, nut, caramel, dark and coconut.

", "advice": "

You are asked you to compare coconut chocolates to the rest of the box. It states that there are {c} coconut chocolates. To calculate the number of chocolates in the rest of the box, add together the stated amounts of plain, dark and nutty chocolates:

\n

$\\var{p}+\\var{d}+\\var{n}$ = $\\var{rob}$.

\n

Insert these two figures into the gaps.

\n

Coconut   $\\var{c}$ : $\\var{rob}$   Other chocolates

\n

From this, we should look to see if this answer can be simplified down. To do this, we need to find the greatest common divisor of $\\var{c}$ and $\\var{rob}$. 

\n

The greatest common divisor is $\\var{gcd2}$.

\n

Using this value to simplify the ratio by dividing each term by the value, the final answer is

\n

Coconut    $\\var{ratio_coconut}$ : $\\var{ratio_rest}$    Other chocolates.

\n

This states that for every {ratio_coconut} coconut {if(ratio_coconut=1,\"chocolate\",\"chocolates\")}, there {if(ratio_rest=1,\"is\",\"are\")} {ratio_rest} other {if(ratio_rest=1,\"chocolate\",\"chocolates\")} in the box.

\n

Therefore, it is not possible to simplify further and the final answer is 

\n

Coconut    $\\var{c}$ : $\\var{rob}$    Other chocolates.

\n

This states that for every {c} coconut {if(c=1,\"chocolate\",\"chocolates\")}, there {if(rob=1,\"is\",\"are\")} {rob} other {if(rob=1,\"chocolate\",\"chocolates\")} in the box.

\n

Note that this question contains additional information that is not required to answer the question.

", "rulesets": {}, "variables": {"d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..3)*p", "description": "
\n
\n
\n
\n
\n

Number of dark chocolates on day 3.

", "templateType": "anything"}, "chocs": {"name": "chocs", "group": "Ungrouped variables", "definition": "random(70 .. 95#5)", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Total number of chocolates in the box before eating.

", "templateType": "randrange"}, "ratio_rest": {"name": "ratio_rest", "group": "Ungrouped variables", "definition": "rob/gcd(c, rob)", "description": "
\n
\n
\n
\n
\n

Number of 'rest of box' chocolates in ratio of coconut to rest of box. Second part of the answer.

", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2..14 except 7 except 11 except 13)", "description": "
\n
\n
\n
\n
\n
\n
\n

Number of coconut chocolates on day 3.

", "templateType": "anything"}, "gcd2": {"name": "gcd2", "group": "Ungrouped variables", "definition": "gcd(c,rob)", "description": "
\n
\n
\n
\n
\n

The greatest common denominator of coconut and the rest of the box.

", "templateType": "anything"}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "
\n
\n
\n
\n
\n
\n
\n

Number of plain chocolates on day 3.

", "templateType": "anything"}, "rob": {"name": "rob", "group": "Ungrouped variables", "definition": "p+n+d", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n

Sum of the rest of the box excluding coconut.

", "templateType": "anything"}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2..14 except 7 except 11 except 13)", "description": "
\n
\n
\n
\n
\n

Number of nutty chocolates on day 3.

", "templateType": "anything"}, "ratio_coconut": {"name": "ratio_coconut", "group": "Ungrouped variables", "definition": "c/gcd(c, rob)", "description": "
\n
\n
\n
\n
\n

Number of coconut chocolates in ratio of coconut to rest of box. First part of the answer.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["chocs", "p", "n", "d", "c", "rob", "ratio_coconut", "ratio_rest", "gcd2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "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": "
\n
\n
\n
\n
\n
\n
\n

The box initially contained equal numbers of each kind of chocolate, and there were $\\var{chocs}$ chocolates in the box altogether.

\n

Caramel flavoured chocolate is the family favourite, and so all of these chocolates were eaten first.

\n

Over the next few days, the remaining chocolates in the box were slowly devoured so that by the start of day three, all that remained was:

\n

$\\var{p}$ plain chocolates, $\\var{n}$ nutty chocolates, $\\var{c}$ coconut chocolates and $\\var{d}$ dark chocolates.

\n

What is the ratio of coconut chocolates to the rest of the box, at the start of day three? Give your answer in its simplest form.

\n

Coconut  [[0]] : [[1]]  Rest of the box

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ratio_coconut", "maxValue": "ratio_coconut", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "ratio_rest", "maxValue": "ratio_rest", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC NA Choose the higher probability from two fractions randomised (7)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. NA = Number & Algebra strand. Students are given two probabilities in ratio form, and are required to select the higher probability. 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
\n
\n
\n

It has rained on the day of the {school1} Primary School swimming carnival {rainydays1} times in the past {years1} years.

\n

It has rained on the day of the {school2} Primary School swimming carnival {rainydays2} times in the past {years2} years.

", "advice": "

To work out a probability, divide the number of desirable outcomes by the total number of outcomes.

\n

In this case, the number of rainy days for {school1} is {rainydays1} and the total number of swimming carnival days is {years1}.

\n

$ \\frac{\\var{rainydays1}}{\\var{years1}} $ can be converted to a fraction out of 100 by multiplying top and bottom by {100/{years1}}. This gives $ \\frac{\\var{rainydays1/years1*100}}{100} $ which equals {rainydays1/years1} when written as a decimal.

\n

(Alternatively, using a calculator, {rainydays1} divided by {years1} = {rainydays1/years1}). 

\n

This is the experimental probability of rain at the {school1} swimming carnival.

\n

To get the probability of a rainy day for {school2}, $ \\frac{\\var{rainydays2}}{\\var{years2}} $ can be converted to a fraction out of 100 by multiplying top and bottom by {100/{years2}}. This gives $ \\frac{\\var{rainydays2/years2*100}}{100} $ which equals {rainydays2/years2} when written as a decimal.

\n

(Or, using a calculator, {rainydays2} divided by {years2} = {(rainydays2)/{years2}}).

\n

Then compare the two decimals to decide which is higher.

\n
\n

{rainydays1/years1} is greater than {rainydays2/years2}.

\n

Therefore {school1} has the higher probability of rain on the day of the swimming carnival.

\n
\n
\n

{rainydays2/years2} is greater than {rainydays1/years1}.

\n

Therefore {school2} has the higher probability of rain on the day of the swimming carnival.

\n
\n

", "rulesets": {}, "variables": {"years2": {"name": "years2", "group": "Ungrouped variables", "definition": "scenario[\"years2\"]", "description": "

The total number of swimming carnivals held at the second school of the randomly chosen pair.

", "templateType": "anything"}, "scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"school1\\\": \\\"Windy Ridge\\\",\\n \\\"rainydays1\\\": 4,\\n \\\"years1\\\": 25,\\n \\\"school2\\\": \\\"West Wingham\\\",\\n \\\"rainydays2\\\": 3,\\n \\\"years2\\\": 20\\n },\\n {\\n \\\"school1\\\": \\\"East Epson\\\",\\n \\\"rainydays1\\\": 3,\\n \\\"years1\\\": 25,\\n \\\"school2\\\": \\\"North Norton\\\",\\n \\\"rainydays2\\\": 2,\\n \\\"years2\\\": 20\\n },\\n {\\n \\\"school1\\\": \\\"UpRiver\\\",\\n \\\"rainydays1\\\": 2,\\n \\\"years1\\\": 25,\\n \\\"school2\\\": \\\"DownRiver\\\",\\n \\\"rainydays2\\\": 3,\\n \\\"years2\\\": 50\\n },\\n {\\n \\\"school1\\\": \\\"South Somerset\\\",\\n \\\"rainydays1\\\": 2,\\n \\\"years1\\\": 25,\\n \\\"school2\\\": \\\"Sunny Corner\\\",\\n \\\"rainydays2\\\": 1,\\n \\\"years2\\\": 20\\n },\\n {\\n \\\"school1\\\": \\\"MountainRidge\\\",\\n \\\"rainydays1\\\": 9,\\n \\\"years1\\\": 50,\\n \\\"school2\\\": \\\"GreenValley\\\",\\n \\\"rainydays2\\\": 4,\\n \\\"years2\\\": 20\\n },\\n {\\n \\\"school1\\\": \\\"SouthBeach\\\",\\n \\\"rainydays1\\\": 7,\\n \\\"years1\\\": 50,\\n \\\"school2\\\": \\\"NorthLagoon\\\",\\n \\\"rainydays2\\\": 3,\\n \\\"years2\\\": 20\\n },\\n {\\n \\\"school1\\\": \\\"Greenville\\\",\\n \\\"rainydays1\\\": 4,\\n \\\"years1\\\": 25,\\n \\\"school2\\\": \\\"Timbertown\\\",\\n \\\"rainydays2\\\": 4,\\n \\\"years2\\\": 20\\n }\\n ]\"))", "description": "
\n
\n

A list of the possible different schools and their rainfall statistics.

", "templateType": "json"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n

One randomly chosen pair of schools

", "templateType": "anything"}, "rainydays2": {"name": "rainydays2", "group": "Ungrouped variables", "definition": "scenario[\"rainydays2\"]", "description": "

The number of wet swimming carnivals at the second school of the randomly chosen pair.

", "templateType": "anything"}, "rainydays1": {"name": "rainydays1", "group": "Ungrouped variables", "definition": "scenario[\"rainydays1\"]", "description": "

The number of wet swimming carnivals at the first school of the randomly chosen pair.

", "templateType": "anything"}, "school2": {"name": "school2", "group": "Ungrouped variables", "definition": "scenario[\"school2\"]", "description": "

The name of the second school of the randomly chosen pair.

", "templateType": "anything"}, "school1": {"name": "school1", "group": "Ungrouped variables", "definition": "scenario[\"school1\"]", "description": "
\n
\n
\n

The name of the first school of the randomly chosen pair.

", "templateType": "anything"}, "years1": {"name": "years1", "group": "Ungrouped variables", "definition": "scenario[\"years1\"]", "description": "

The total number of swimming carnivals held at the first school of the randomly chosen pair.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "school1", "rainydays1", "years1", "school2", "rainydays2", "years2"], "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": "

Which school has the higher probability of rain on the day of the swimming carnival, assuming that the weather follows the long term average? 

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["{school1} Primary School", "{school2} Primary School", "The probability is the same for both schools.", "It is not possible to determine this based on the information given."], "matrix": ["if(rainydays1/years1>rainydays2/years2, 1, 0)", "if(rainydays1/years1Used for LANTITE preparation (Australia). NC = Non Calculator strand. NA = Number & Algebra strand. Students are given a proportion of students who DO speak a language other than English at home, and are asked to find the percentage who do NOT. The fraction denominator is either 20 or 25, and the numerator is randomised.

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

{capitalise(written_number(num_students))} of the {written_number(class_size)} students in Mrs Griva’s class speak a language other than English at home.

", "advice": "

First work out the number of students who do NOT speak a language other than English at home.

\n

In this case it is  $\\var{class_size} - \\var{num_students} = \\var{class_size-num_students}$  students.

\n

Then write this as a fraction out of  $\\var{class_size}$.

\n

$ \\displaystyle{\\frac{\\var{class_size-num_students}} {\\var{class_size}}} $  of the students in Mrs Griva’s class do NOT speak a language other than English at home.

\n

Finally, convert this to a percentage. You could multiply the fraction by  $ \\displaystyle{\\frac{\\var{100/class_size}}{\\var{100/class_size}}} $ in order to scale up to a mark out of  $100$. 

\n

 $ \\displaystyle{\\frac{\\var{class_size-num_students}} {\\var{class_size}} \\times \\frac{\\var{100/class_size}}{\\var{100/class_size}}  =  \\frac{\\var{(class_size-num_students)/class_size*100}}{100} = \\var{(class_size-num_students)/class_size*100}\\%}$

\n

$\\var{(class_size-num_students)/class_size*100}\\%$  of the students in Mrs Griva’s class do NOT speak a language other than English at home.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"num_students": {"name": "num_students", "group": "Ungrouped variables", "definition": "random(3 .. 19#1)", "description": "

The number of students in the class who do speak a language other than English. 

", "templateType": "randrange", "can_override": false}, "class_size": {"name": "class_size", "group": "Ungrouped variables", "definition": "random(20,25)", "description": "

There are either 20 or 25 students in the class, to enable the conversion to a percentage to be done without a calculator, and without the need for rounding.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["num_students", "class_size"], "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": "
\n

What percentage of Mrs Griva’s students do not speak a language other than English at home? 

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["$\\var{class_size-num_students}\\%$", "$\\var{num_students*100/class_size}\\%$", "$\\var{num_students}\\%$", "$\\var{(class_size-num_students)/class_size*100}\\%$"], "matrix": [0, 0, 0, "1"], "distractors": ["Have you converted this to a percentage? Click on Reveal Answer and scroll down for Advice regarding this question.", "How many students do NOT speak a language other than English at home? Click on Reveal Answer and scroll down for Advice regarding this question.", "How many students do NOT speak a language other than English at home? Then convert this to a percentage. Click on Reveal Answer and scroll down for Advice regarding this question.", "Well done!"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC NA Decimal multiplication - proportion of gifted students (9)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. NA = Number & Algebra strand. Students are given the gifted proportion as a decimal, and the proportion of those who receive support as a decimal, and are required to find the proportion of the whole school who are gifted but do not receive support (as a decimal). There are 9 versions of this question.

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

The proportion of students at {school} school who have been identified as being gifted is {dec1}.

\n

However, only {dec2} of those students receive additional support in the classroom.

", "advice": "
\n

{dec2} of the students identified as being gifted at {school} school receive additional support in the classroom.

\n

Therefore, 1 - {dec2} = {1-dec2} of the students that are identified as being gifted do NOT receive additional support in the classroom.

\n

So, {1-dec2} of the students that are gifted do NOT receive additional support in the classroom, and the students identified as being gifted are {dec1} of the whole school population.

\n

We need to find {1-dec2} of {dec1}.

\n

To find a proportion of a proportion, we multiply.

\n

We need to evaluate {1-dec2} x {dec1}.

\n

To multiply decimals without a calculator, you could convert each decimal to a fraction, then multiply, then convert back to a decimal:

\n

{1-dec2} x {dec1} = $\\frac {\\var{10-num2}} {10} \\times \\frac {\\var{num1}} {10} = \\frac {\\var{(10-num2)*num1}} {100}$ =  {(10-num2)*num1/100}

\n

Alternatively, multiply the numbers (ignoring decimal points), then count the total number of decimal places in the question. Put the decimal point back in, ensuring that the answer has this same number of decimal places.

\n

{10-num2} x {num1} = {num1*(10-num2)}. There are two digits after the decimal point in the question (two decimal places in the question), so the answer requires two digits after the decimal point.

\n

{1-dec2} x {dec1} = {(1-dec2)*dec1}

\n

The proportion of all students at {school} school who have been identified as being gifted, but do not receive additional support in the classroom is {(1-dec2)*dec1}.

", "rulesets": {}, "variables": {"school": {"name": "school", "group": "Ungrouped variables", "definition": "random(\"Eastbourne Primary\",\"Westmount High\",\"Northlake Primary\",\"Southville High\",\"Greenville Primary\",\"Forestway High\")", "description": "
\n
\n

The randomly selected name of the school.

", "templateType": "anything"}, "dec1": {"name": "dec1", "group": "Ungrouped variables", "definition": "random(0.1,0.2,0.3)", "description": "
\n
\n
\n

The proportion of students in the school who are identified as being gifted.

", "templateType": "anything"}, "dec2": {"name": "dec2", "group": "Ungrouped variables", "definition": "random(0.6,0.7,0.8)", "description": "
\n
\n
\n

The proportion of the diagnosed gifted students who receive support.

", "templateType": "anything"}, "num1": {"name": "num1", "group": "Ungrouped variables", "definition": "dec1*10", "description": "

The numerator for dec1.

", "templateType": "anything"}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "dec2*10", "description": "

The numerator for dec2.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["school", "dec1", "dec2", "num1", "num2"], "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": "

What proportion of all students in the school have been identified as being gifted, but do not receive additional support in the classroom?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{(1-dec2)*dec1}", "{1-dec2}", "{dec2-dec1}", "{dec2*dec1}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "You need to find a proportion of a proportion, so you will need to multiply.", "You need to find a proportion of a proportion, so you will need to multiply.", "What proportion do NOT receive support in the classroom?"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC NA Fraction addition - sausage sizzle leftovers (9)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. NA = Number & Algebra strand. Students need to add two fractions with different denominators, then subtract the answer from 1. There are 9 different versions of this question.

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

Northam High School held a sausage sizzle at their athletics carnival.

\n

Three Year 11 students, {name1}, {name2} and {name3} volunteered to cook the sausages.

\n

{name1} cooked {frac1name} of the sausages, and {name2} cooked {frac2name} of the sausages.

", "advice": "
\n
\n
\n

{name1} cooked {frac1name} of the sausages, and {name2} cooked {frac2name} of the sausages. 

\n

We need to add these fractions. 

\n

$ \\frac{\\var{frac1num}}{\\var{frac1denom}} + \\frac{\\var{frac2num}}{\\var{frac2denom}} $

\n

= $ \\frac{\\var{frac1num*frac2denom}}{\\var{frac1denom*frac2denom}} + \\frac{\\var{frac2num*frac1denom}}{\\var{frac2denom*frac1denom}} $

\n

=$ \\frac{\\var{frac1num*frac2denom+frac2num*frac1denom}}{\\var{frac1denom*frac2denom}} $

\n

Then we subtract this answer from one whole to find the fraction of sausages remaining for {name3} to cook.

\n

1 - $ \\frac{\\var{frac1num*frac2denom+frac2num*frac1denom}}{\\var{frac1denom*frac2denom}} $

\n

= $ \\frac {\\var{frac1denom*frac2denom-(frac1num*frac2denom+frac2num*frac1denom)}}{\\var{frac1denom*frac2denom}} $

\n
\n

This fraction cannot be simplified.

\n

So {name3} cooked the remaining $ \\frac {\\var{answernumerator}} {\\var{answerdenominator}} $ of the sausages.

\n
\n

\n
\n

This fraction needs to be simplified. Divide both numerator and denominator by {gcd(frac1denom*frac2denom-(frac1num*frac2denom+frac2num*frac1denom),frac1denom*frac2denom)}.

\n

$ \\frac  {\\var {frac1denom*frac2denom-(frac1num*frac2denom+frac2num*frac1denom)}}{\\var{frac1denom*frac2denom}} $ = $ \\frac {\\var{answernumerator}} {\\var{answerdenominator}}$

\n

So {name3} cooked the remaining $ \\frac {\\var{answernumerator}} {\\var{answerdenominator}} $ of the sausages.

\n
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"frac1name": {"name": "frac1name", "group": "Ungrouped variables", "definition": "frac1[\"name\"]", "description": "
\n
\n

The randomly selected fraction for the first student -  in word form.

", "templateType": "anything", "can_override": false}, "fractionnotcooked": {"name": "fractionnotcooked", "group": "Ungrouped variables", "definition": "rational_approximation(decimalnotcooked)", "description": "
\n
\n

The proportion of sausages not cooked by students 1 and 2 together, as a fraction.

", "templateType": "anything", "can_override": false}, "answernumerator": {"name": "answernumerator", "group": "Ungrouped variables", "definition": "fractionnotcooked[0]", "description": "
\n
\n

The numerator of the proportion of sausages not cooked by students 1 and 2 together (fraction not yet simplified)

", "templateType": "anything", "can_override": false}, "decimalnotcooked": {"name": "decimalnotcooked", "group": "Ungrouped variables", "definition": "1-((frac1num/frac1denom)+(frac2num/frac2denom))", "description": "
\n
\n

The proportion of sausages not cooked by students 1 and 2 together.

", "templateType": "anything", "can_override": false}, "frac2": {"name": "frac2", "group": "Ungrouped variables", "definition": "random(frac2options)", "description": "
\n
\n

The randomly selected fraction for the second student - in both word and numerical form.

", "templateType": "anything", "can_override": false}, "name1": {"name": "name1", "group": "Ungrouped variables", "definition": "random(\"Sue\",\"Edwin\",\"Matt\",\"Jake\",\"Madi\",\"Julia\")", "description": "
\n
\n
\n
\n

A randomly selected name from the list for the first person.

", "templateType": "anything", "can_override": false}, "frac1denom": {"name": "frac1denom", "group": "Ungrouped variables", "definition": "frac1[\"denom\"]", "description": "
\n
\n

The denominator of the randomly selected fraction for the first student.

", "templateType": "anything", "can_override": false}, "frac2denom": {"name": "frac2denom", "group": "Ungrouped variables", "definition": "frac2[\"denom\"]", "description": "
\n

The denominator of the randomly selected fraction for the second student.

", "templateType": "anything", "can_override": false}, "frac2options": {"name": "frac2options", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"name\\\": \\\"one fifth\\\",\\n \\\"num\\\": 1,\\n \\\"denom\\\": 5\\n },\\n {\\n \\\"name\\\": \\\"one sixth\\\",\\n \\\"num\\\": 1,\\n \\\"denom\\\": 6\\n },\\n {\\n \\\"name\\\": \\\"two fifths\\\",\\n \\\"num\\\": 2,\\n \\\"denom\\\": 5\\n }\\n]\"))", "description": "
\n

List of three possible scenarios for the proportion of sausages cooked by the second student.

", "templateType": "json", "can_override": false}, "frac2name": {"name": "frac2name", "group": "Ungrouped variables", "definition": "frac2[\"name\"]", "description": "
\n

The randomly selected fraction for the second student -  in word form.

", "templateType": "anything", "can_override": false}, "frac1options": {"name": "frac1options", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"name\\\": \\\"half\\\",\\n \\\"num\\\": 1,\\n \\\"denom\\\": 2\\n },\\n {\\n \\\"name\\\": \\\"one third\\\",\\n \\\"num\\\": 1,\\n \\\"denom\\\": 3\\n },\\n {\\n \\\"name\\\": \\\"one quarter\\\",\\n \\\"num\\\": 1,\\n \\\"denom\\\": 4\\n }\\n]\"))", "description": "
\n
\n
\n
\n

List of three possible scenarios for the proportion of sausages cooked by the first student.

", "templateType": "json", "can_override": false}, "answerdenominator": {"name": "answerdenominator", "group": "Ungrouped variables", "definition": "fractionnotcooked[1]", "description": "
\n

The denominator of the proportion of sausages not cooked by students 1 and 2 together (fraction not yet simplified)

", "templateType": "anything", "can_override": false}, "frac1": {"name": "frac1", "group": "Ungrouped variables", "definition": "random(frac1options)", "description": "
\n
\n
\n

The randomly selected fraction for the first student - in both word and numerical form.

", "templateType": "anything", "can_override": false}, "name2": {"name": "name2", "group": "Ungrouped variables", "definition": "random(\"Lisa\",\"Shelley\",\"Liz\",\"Mike\",\"Jack\",\"Andrew\")", "description": "

A randomly selected name from the list for the second person.

", "templateType": "anything", "can_override": false}, "name3": {"name": "name3", "group": "Ungrouped variables", "definition": "random(\"Amber\",\"Becky\",\"Yuhan\",\"Shani\",\"Ravi\",\"Jim\")", "description": "

A randomly selected name from the list for the third person.

", "templateType": "anything", "can_override": false}, "frac1num": {"name": "frac1num", "group": "Ungrouped variables", "definition": "frac1[\"num\"]", "description": "

The numerator of the randomly selected fraction for the first student.

", "templateType": "anything", "can_override": false}, "frac2num": {"name": "frac2num", "group": "Ungrouped variables", "definition": "frac2[\"num\"]", "description": "

The numerator of the randomly selected fraction for the second student.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["name1", "name2", "name3", "frac1options", "frac1", "frac1name", "frac1num", "frac1denom", "frac2options", "frac2", "frac2name", "frac2num", "frac2denom", "decimalnotcooked", "fractionnotcooked", "answernumerator", "answerdenominator"], "variable_groups": [{"name": "Unnamed group", "variables": []}], "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": "

What fraction of the sausages was left for {name3} to cook? 

\n

Use the  /  key to enter your answer as a fraction in simplest form.

", "minValue": "decimalnotcooked", "maxValue": "decimalnotcooked", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": 0, "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC NA Write a proportion as a simple fraction using gcd (10+)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. NA = Number & Algebra strand. Students are given the number of pages read (randomised) and number of pages remaining (randomised), and asked to write the proportion read as a simple fraction.

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

{name1} has read {pagesread} pages of a book. There are still {pagesleft} pages yet to read. 

", "advice": "
\n
\n
\n

First, calculate the total number of pages in the book.    {pagesread} + {pagesleft} = {pagesread + pagesleft}

\n

Next write the proportion read as a fraction, with the number of pages read on the top, and the total number of pages on the bottom. 

\n

 {name1} has read $ \\frac{\\var{pagesread}} {\\var{pagesread + pagesleft}} $ of the book.

\n

Finally, simplify this fraction by dividing top (numerator) and bottom (denominator) by the highest common factor, which is {scale_factor}.

\n

$\\frac{\\var{pagesread} ÷ {\\var{scale_factor}}} {\\var{pagesread + pagesleft} ÷ {\\var{scale_factor}}}$ = $\\frac{\\var{numerator}} {\\var{denominator}}$

\n

{name1} has read $\\frac{\\var{numerator}} {\\var{denominator}}$ of the book, in simplest form.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"den": {"name": "den", "group": "Ungrouped variables", "definition": "num+increment", "description": "

This is the denominator of the unsimplified answer. It is forced to be larger than the numerator to ensure a proper fraction by the use of the increment.

", "templateType": "anything", "can_override": false}, "scale_factor": {"name": "scale_factor", "group": "Ungrouped variables", "definition": "random(6 .. 24#1)", "description": "

The scale factor ensures that the book has enough pages, and that the fraction answer will require simplification.

", "templateType": "randrange", "can_override": false}, "denominator": {"name": "denominator", "group": "Ungrouped variables", "definition": "den/hcf", "description": "

This is the denominator of the final simplified answer.

", "templateType": "anything", "can_override": false}, "pagesleft": {"name": "pagesleft", "group": "Ungrouped variables", "definition": "scale_factor*(denominator-numerator)", "description": "

This is given in the question. It is the number of pages already read. It is calculated by multiplying the difference between the denominator and the numerator of the final answer by the scale factor.

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

This is the numerator of the unsimplified answer. It is the starting point of the fraction answer set-up.

", "templateType": "randrange", "can_override": false}, "pagesread": {"name": "pagesread", "group": "Ungrouped variables", "definition": "scale_factor*numerator", "description": "

This is given in the question. It is calculated by multiplying the numerator of the final answer by the scale factor.

", "templateType": "anything", "can_override": false}, "numerator": {"name": "numerator", "group": "Ungrouped variables", "definition": "num/hcf", "description": "

This is the numerator of the final simplified answer.

", "templateType": "anything", "can_override": false}, "hcf": {"name": "hcf", "group": "Ungrouped variables", "definition": "gcd(num,den)", "description": "

This is the highest common factor of num and den. They are divided by it to give the final simplified answer.

", "templateType": "anything", "can_override": false}, "increment": {"name": "increment", "group": "Ungrouped variables", "definition": "random(1..5 except num)", "description": "

The increment is added to numerator to force the denominator to be larger than the numerator. This ensures a proper fraction.

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

The random number used to index the list of names.

", "templateType": "randrange", "can_override": false}, "Names": {"name": "Names", "group": "Ungrouped variables", "definition": "[ \"Nick\", \"Jessi\", \"Ali\", \"Jo\", \"Lachlan\", \"Ravi\", \"Elisa\" ]", "description": "

The lsit of names from which one name is selected.

", "templateType": "list of strings", "can_override": false}, "name1": {"name": "name1", "group": "Ungrouped variables", "definition": "Names[NamesIndex]", "description": "

The chosen name for the question.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "numeratorWhat fraction of the book has he read, in simplest form? 

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$ \\frac{\\var{pagesread}}{\\var{pagesleft}} $", "$ \\frac{\\var{pagesread}}{\\var{pagesread+pagesleft}} $", "$ \\frac{\\var{numerator}}{\\var{denominator}} $", "$ \\frac{\\var{numerator}}{\\var{denominator-numerator}} $"], "matrix": [0, 0, "1", 0], "distractors": ["How many pages does the book have in total? And is your fraction in simplified form? Click on Reveal Answer and scroll down for Advice regarding this question.", "Is your fraction in simplified form? Click on Reveal Answer and scroll down for Advice regarding this question.", "Well done!", "How many pages does the book have in total? Click on Reveal Answer and scroll down for Advice regarding this question."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC SP Difference between mean and median (10+)", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "Stanislav Duris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1590/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. SP = Statistics & Probability strand.This question provides a list of data to the student. They are asked to find the difference between the mean and the median. This question was based on a Newcastle Uni question which also asked the mode, hence the surplus legacy variables (too tricky to delete).

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

A random sample of 10 residents from Sydney were asked how many times they had watched a movie at a cinema last year.

\n

Here are their responses:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\var{a[0]}$$\\var{a[1]}$$\\var{a[2]}$$\\var{a[3]}$$\\var{a[4]}$$\\var{a[5]}$$\\var{a[6]}$$\\var{a[7]}$$\\var{a[8]}$$\\var{a[9]}$
", "advice": "
\n
\n

The mean is the sum of all the responses ($\\sum x$) divided by the number of responses ($n$).

\n

Here, $n = 10$.

\n

\\begin{align}
\\sum x &= \\var{a[0]} + \\var{a[1]} +\\var{a[2]} +\\var{a[3]} +\\var{a[4]} +\\var{a[5]} +\\var{a[6]} +\\var{a[7]} +\\var{a[8]} +\\var{a[9]} \\\\
&= \\var{sum(a)} \\text{.}
\\end{align}

\n

Therefore we calculate the mean

\n

\\begin{align}
\\overline{x} &= \\frac{\\sum x}{n} \\\\[0.5em]
&= \\frac{\\var{sum(a)}}{10} \\\\[0.5em]
&= \\var{mean} \\text{.}
\\end{align}

\n

 

\n

The median is the middle value. We need to sort the list in order:

\n

\\[ \\var{a_s[0]}, \\quad \\var{a_s[1]}, \\quad \\var{a_s[2]}, \\quad \\var{a_s[3]}, \\quad \\var{a_s[4]}, \\quad \\var{a_s[5]}, \\quad \\var{a_s[6]}, \\quad \\var{a_s[7]}, \\quad \\var{a_s[8]}, \\quad \\var{a_s[9]}\\]

\n

There is an even number of responses, so there are two numbers in the middle (5th and 6th place). To find the median, we need to find the mean of these two numbers $\\var{a_s[4]}$ and $\\var{a_s[5]}$:

\n

\\begin{align}
\\frac{\\var{a_s[4]} + \\var{a_s[5]}}{2} &=  \\frac{\\var{a_s[4] + a_s[5]}}{2} \\\\
&= \\var{median} \\text{.} 
\\end{align}

\n

 

\n

To find the difference between the mean and the median, we subtract the two values:

\n
\n

Since we require a positive number, we subtract the median from the mean.

\n

mean - median = {mean} - {median} = {mean-median}

\n

Finally, check that we have answered to one decimal place.

\n

The difference between the mean and the median is {abs(precround({mean-median},1))}.

\n
\n
\n

Since we require a positive number, we subtract the mean from the median.

\n

median - mean = {median} - {mean} =  {median - mean}

\n

Finally, check that we have answered to one decimal place.

\n

The difference between the mean and the median is {abs(precround({mean-median},1))}.

\n
\n
\n

However, the mean and the median are equal.

\n

Therefore the difference between the mean and the median is 0.

\n
", "rulesets": {}, "variables": {"a3": {"name": "a3", "group": "Ungrouped variables", "definition": "shuffle([ random(0..1),\n 2, \n random(4..6),\n random(0..3 except 2), \n random(0..3 except 2),\n random(4..6),\n 2,\n 2,\n random(4..6),\n random(7..8)\n])", "description": "
\n
\n
\n
\n

Option 3 for the list. Ensures there is only one mode (2) while still randomising the data.

", "templateType": "anything"}, "a": {"name": "a", "group": "final list", "definition": "if(len(modea1) = 1, a1, if(len(modea2) = 1, a2, a3))", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

The final list.

", "templateType": "anything"}, "a_s": {"name": "a_s", "group": "final list", "definition": "sort(a)", "description": "
\n
\n
\n
\n
\n
\n
\n

Sorted list.

", "templateType": "anything"}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "repeat(random(0..8), 10)", "description": "
\n
\n
\n
\n
\n

Option 1 for the list. Only used if there is only one mode. Generates a list of 10 numbers between 0 and 8.

", "templateType": "anything"}, "modea1": {"name": "modea1", "group": "Ungrouped variables", "definition": "mode(a1)", "description": "
\n
\n
\n
\n

", "templateType": "anything"}, "modea2": {"name": "modea2", "group": "Ungrouped variables", "definition": "mode(a2)", "description": "
\n
\n
\n

", "templateType": "anything"}, "mean": {"name": "mean", "group": "final list", "definition": "mean(a)", "description": "
\n
\n
\n
\n
\n

The calculated mean of the list of numbers.

", "templateType": "anything"}, "median": {"name": "median", "group": "final list", "definition": "median(a)", "description": "
\n
\n
\n
\n
\n

The calculated median of the list of numbers.

", "templateType": "anything"}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "repeat(random(0..8), 10)", "description": "
\n
\n
\n
\n
\n

Option 2 for the list. Only used if there is only one mode and option 1 was not used. Generates a list of 10 numbers between 0 and 8.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["modea1", "modea2", "a1", "a2", "a3"], "variable_groups": [{"name": "final list", "variables": ["a", "a_s", "mean", "median"]}], "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": "
\n
\n
\n

What is the difference between the mean and the median for this data set? Give your answer as a positive number rounded to one decimal place.

", "minValue": "precround(abs(mean-median),1)", "maxValue": "precround(abs(mean-median),1)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC SP Find the experimental probability of a rainy day (7)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. SP = Statistics & Probability strand. Students are given the experimental probability in ratio form in a sentence, and asked to write it as a decimal. 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
\n
\n
\n

It has rained on the day of the {school1} Primary School swimming carnival {rainydays1} times in the past {years1} years.

", "advice": "

To work out a probability, divide the number of desirable outcomes by the total number of outcomes.

\n

In this case, the number of rainy days for {school1} is {rainydays1} and the total number of swimming carnival days is {years1}.

\n

$ \\frac{\\var{rainydays1}}{\\var{years1}} $ can be converted to a fraction out of 100 by multiplying top and bottom by {100/{years1}}. This gives $ \\frac{\\var{rainydays1/years1*100}}{100} $ which equals {rainydays1/years1} when written as a decimal.

\n

(Alternatively, using a calculator, {rainydays1} divided by {years1} = {rainydays1/years1}). 

\n

This is the experimental probability of rain at the {school1} swimming carnival.

\n

", "rulesets": {}, "variables": {"scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"school1\\\": \\\"Windy Ridge\\\",\\n \\\"rainydays1\\\": 4,\\n \\\"years1\\\": 25\\n },\\n {\\n \\\"school1\\\": \\\"East Epson\\\",\\n \\\"rainydays1\\\": 3,\\n \\\"years1\\\": 25\\n },\\n {\\n \\\"school1\\\": \\\"UpRiver\\\",\\n \\\"rainydays1\\\": 2,\\n \\\"years1\\\": 20\\n },\\n {\\n \\\"school1\\\": \\\"South Somerset\\\",\\n \\\"rainydays1\\\": 2,\\n \\\"years1\\\": 25\\n },\\n {\\n \\\"school1\\\": \\\"MountainRidge\\\",\\n \\\"rainydays1\\\": 9,\\n \\\"years1\\\": 50\\n },\\n {\\n \\\"school1\\\": \\\"SouthBeach\\\",\\n \\\"rainydays1\\\": 7,\\n \\\"years1\\\": 50\\n },\\n {\\n \\\"school1\\\": \\\"Greenville\\\",\\n \\\"rainydays1\\\": 4,\\n \\\"years1\\\": 25\\n }\\n ]\"))", "description": "
\n
\n

A list of the possible different schools and their rainfall statistics.

", "templateType": "json"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "
\n
\n

One randomly chosen school.

", "templateType": "anything"}, "rainydays1": {"name": "rainydays1", "group": "Ungrouped variables", "definition": "scenario[\"rainydays1\"]", "description": "

The number of wet swimming carnivals at the school.

", "templateType": "anything"}, "school1": {"name": "school1", "group": "Ungrouped variables", "definition": "scenario[\"school1\"]", "description": "
\n
\n
\n

The name of the school.

", "templateType": "anything"}, "years1": {"name": "years1", "group": "Ungrouped variables", "definition": "scenario[\"years1\"]", "description": "

The total number of swimming carnivals held at the school.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "school1", "rainydays1", "years1"], "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": "

What is the experimental probability of rain on the day of the {school1} School swimming carnival? Enter your answer as a decimal. 

", "minValue": "{rainydays1}/{years1}", "maxValue": "{rainydays1}/{years1}", "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"}, {"name": "NC SP Year 9 absences Area chart (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Area_chart_cropped2.png", "/srv/numbas/media/question-resources/Area_chart_cropped2.png"], ["question-resources/Area_chart_600.png", "/srv/numbas/media/question-resources/Area_chart_600.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. SP  Statistics & Probability strand. Students are shown an area chart and asked one of seven possible questions.

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

The number of absent Year 9 students was recorded by three schools, every day for one week. The area chart below shows the absences for the three schools for the week.

\n

", "advice": "

General comment

\n

It is not always straightforward to read the data from an area chart.

\n

The absences for School 1 can be read directly from the vertical axis.

\n

However, the absences for School 2 are shown by the height of the middle (dark blue) band at each day of the week. The lower reading must be subtracted from the upper reading. For example, there were 4 absences from School 2 on Monday, as 10 - 6 = 4.

\n

Similarly, the absences for School 3 are shown by the height of the top (yellow) band at each day of the week. For example, there were 2 absences from School 3 on Tuesday, as 16 - 14 = 2.

\n

For this question:

\n

{specificadvice}

", "rulesets": {}, "variables": {"Scenarios": {"name": "Scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n{\\n\\\"question\\\":\\\"Which school had four students absent on three different days?\\\",\\n\\\"answer\\\":\\\"School 3\\\",\\n\\\"distractor1\\\":\\\"School 1\\\",\\n\\\"distractor2\\\":\\\"School 2\\\",\\n\\\"advice\\\":\\\"School 3 had 4 students absent on Monday, Thursday and Friday. \\\"\\n},\\n{\\n\\\"question\\\":\\\"Which school had the most students absent on Wednesday?\\\",\\n\\\"answer\\\":\\\"School 2\\\",\\n\\\"distractor1\\\":\\\"School 1\\\",\\n\\\"distractor2\\\":\\\"School 3\\\",\\n\\\"advice\\\":\\\"On Wednesday, School 1 had 6 absentees, School 2 had 8 absentees, and School 3 had only 2 absentees. Therefore School 2 had the most students absent on Wednesday.\\\"\\n},\\n{\\n\\\"question\\\":\\\"What was the total number of students absent from School 3 that week?\\\",\\n\\\"answer\\\":\\\"16\\\",\\n\\\"distractor1\\\":\\\"82\\\",\\n\\\"distractor2\\\":\\\"44\\\",\\n\\\"advice\\\":\\\"School 3 had daily absences of 4, 2, 2, 4, and 4. Therefore School 3 had 16 students absent that week.\\\"\\n},\\n{\\n\\\"question\\\":\\\"School 2 has 160 Year 9 students in total. What percentage of Year 9 students were absent from School 2 on Wednesday?\\\",\\n\\\"answer\\\":\\\"5%\\\",\\n\\\"distractor1\\\":\\\"8.75%\\\",\\n\\\"distractor2\\\":\\\"14%\\\",\\n\\\"advice\\\":\\\"School 2 had 8 absences out of 160 students. To convert this to a percentage, simplify the fraction 8/160 to get 1/20. 1/10 is equivalent to 10%, so 1/20 is equivalent to 5% of students absent from School 2 on Wednesday.\\\"\\n},\\n{\\n\\\"question\\\":\\\"What was the total number of students absent from School on Friday that week?\\\",\\n\\\"answer\\\":\\\"22\\\",\\n\\\"distractor1\\\":\\\"50\\\",\\n\\\"distractor2\\\":\\\"38\\\",\\n\\\"advice\\\":\\\"It is not necessary to add up the individual absences for the three schools. The combined absences of 22 can be read straight from the vertical axis of the graph. Twenty-two students were absent from School on Friday that week.\\\"\\n},\\n{\\n\\\"question\\\":\\\"What was the total number of students absent from School on Tuesday that week?\\\",\\n\\\"answer\\\":\\\"16\\\",\\n\\\"distractor1\\\":\\\"38\\\",\\n\\\"distractor2\\\":\\\"24\\\",\\n\\\"advice\\\":\\\"It is not necessary to add up the individual absences for the three schools. The combined absences of 16 can be read straight from the vertical axis of the graph. Sixteen students were absent from School on Tuesday that week\\\"\\n},\\n{\\n\\\"question\\\":\\\"On which day did the three schools have very similar absentee numbers?\\\",\\n\\\"answer\\\":\\\"Monday\\\",\\n\\\"distractor1\\\":\\\"Tuesday\\\",\\n\\\"distractor2\\\":\\\"Thursday\\\",\\n\\\"advice\\\":\\\"On Monday, the absences at Schools 1, 2 & 3 were 6, 4 and 4 respectively. All the other days had a much wider range of absences. Therefore the day with the most similar absentee numbers was Monday.\\\"\\n}\\n]\"))", "description": "

The list of all possible questions.

", "templateType": "json"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "

The randomly selected scenario (question, answer and advice combination).

", "templateType": "anything"}, "questiontext": {"name": "questiontext", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "

The question text for the randomly selected scenario.

", "templateType": "anything"}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "

The correct answer text for the randomly selected scenario.

", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "

The first wrong answer text for the randomly selected scenario.

", "templateType": "anything"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "

The second wrong answer text for the randomly selected scenario.

", "templateType": "anything"}, "specificadvice": {"name": "specificadvice", "group": "Ungrouped variables", "definition": "scenario[\"advice\"]", "description": "

The advice text for the randomly selected scenario.

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["Scenarios", "scenario", "questiontext", "correctanswer", "wrong1", "wrong2", "specificadvice"], "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": "

{questiontext}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{correctanswer}", "{wrong1}", "{wrong2}"], "matrix": ["1", 0, 0], "distractors": ["Well done!", "Have you correctly read the data on the vertical axis?", "Have you correctly read the data on the vertical axis?"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "NC NA Create an algebraic expression from a word problem and simplify (sweets) (10+)", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Bradley Bush", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1521/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "tags": ["LANTITE"], "metadata": {"description": "

Used for LANTITE preparation (Australia). NC = Non Calculator strand. NA = Number & Algebra strand. Given a description in words of the costs of some items in terms of an unknown cost, write down an expression for the total cost of a selection of items. Then simplify the expression. The word problem is about the costs of sweets in a sweet shop. The quantity of each type of sweet is randomised.

\n

This question was modified from a Newcastle University question.

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

{name1} eats a lot of sweets. You are trying to work out the cost of the sweets that {name1} ate last month.

\n

{name1} ate $\\var{a1}$ lollipops, $\\var{b1}$ chocolate bars and $\\simplify{{c1}}$ giant jelly snakes.

\n

You know that a chocolate bar costs $\\$1$ more than a lollipop, and a giant jelly snake costs half the price of a chocolate bar.

", "advice": "

We are told that the price of a lollipop is represented by the letter $x$.

\n

A chocolate bar costs $\\$1$ more than a lollipop, so the price of a chocolate bar can be represented by $x+1$.

\n

A giant jelly snake costs half as much as a chocolate bar, so the price of a giant jelly snake can be represented by$\\frac{1}{2}(x+1)$.

\n

\n

To find the total cost, multiply the expressions above for the cost of each kind of sweet by the number of sweets eaten, and add the three terms together.

\n

Without simplifying, we obtain:

\n

\\begin{align}
\\text{Cost} &= \\simplify[]{{a1}x+{b1}(x+1) + {c1}*(1/2)*(x+1)} \\\\
&= \\simplify[]{{a1}x+{b1}(x+1) + {c1/2}*(x+1)}
\\text{.}
\\end{align}

\n

The first step in simplifying this expression is to expand both sets of brackets:

\n

\\begin{align}
\\simplify[]{ {a1}x + {b1}(x+1) + {c1/2}*(x+1)} &= \\var{a1}x + \\simplify[alwaystimes]{{b1}x + {b1}1 + {c1/2}x + {c1/2}1} \\\\
&= \\simplify[] { {a1}x + {b1}x + {b1} + {c1/2}x + {c1/2} } \\text{.}
\\end{align}

\n

\n

Finally, collect like terms:

\n

\\begin{align}
\\simplify[] { {a1}x + {b1}x + {b1} + {c1/2}x + {c1/2} } &= \\simplify[]{ {a1+b1+c1/2}x + {b1+c1/2} } \\text{.}
\\end{align}

\n

The correct algebraic expression for the overall cost of the sweets {name1} ate, in terms of  $x$ is  $\\simplify[]{ {a1+b1+c1/2}x + {b1+c1/2} } \\text{.}$

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"name1": {"name": "name1", "group": "Ungrouped variables", "definition": "random('Jerry','Jessica','Luke','Lisa','Sam','Tom','Tina','Mark','Maria')", "description": "
\n
\n
\n
\n

The name of the lolly eater.

", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Number of packets eaten", "definition": "random(5..10)", "description": "
\n
\n
\n

Number of lollipops eaten

", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Number of packets eaten", "definition": "random(2..10 except a1)", "description": "
\n
\n
\n
\n

Number of chocolate bars eaten

", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Number of packets eaten", "definition": "random(2..5)*2", "description": "
\n
\n
\n
\n

Number of giant jelly snakes eaten.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "gcd(a1,b1+c1/2)=1", "maxRuns": 100}, "ungrouped_variables": ["name1"], "variable_groups": [{"name": "Number of packets eaten", "variables": ["a1", "b1", "c1"]}], "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": "

Let the cost of a lollipop be $\\$x$.

\n

Which is the correct algebraic expression for the overall cost of the sweets {name1} ate, in terms of $x$?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\simplify[]{ {a1+b1+c1/2}x + {b1+c1/2} }$", "$\\simplify[]{ {a1+b1+c1}x  }$", "$\\simplify[]{ 5x/2 + 1.5 }$", "$\\simplify[]{ {a1+b1+c1/2}x + 2 }$"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Have you considered the differing costs of the three different types of sweets?", "Have you considered the different quantities of each type of sweet?", "Check your expansion of brackets - have you multiplied both terms inside the bracket by the factor outside the bracket?"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "navigation": {"allowregen": false, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "warn", "message": "

Your time has expired. You are welcome to try this test again, or practise with the untimed practise questions.

"}, "timedwarning": {"action": "warn", "message": "

You have 5 minutes remaining.

"}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": false, "advicethreshold": 0, "intro": "

This practice quiz delivers 40 questions, covering all strands.

\n

You may use a calculator for questions 1 - 30.

\n

You should not use a calculator for questions 31-40.

\n

The time allowed for this test is 1 hour and 15 minutes. You will receive a warning five minutes before the end.

", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "extensions": ["random_person", "stats", "written-number"], "custom_part_types": [], "resources": [["question-resources/BMI_table.png", "/srv/numbas/media/question-resources/BMI_table.png"], ["question-resources/BMI_formula_cropped.png", "/srv/numbas/media/question-resources/BMI_formula_cropped.png"], ["question-resources/halogen_LED_900.png", "/srv/numbas/media/question-resources/halogen_LED_900.png"], ["question-resources/LANTITE_data_from_2016_to_2018_cropped_900.png", "/srv/numbas/media/question-resources/LANTITE_data_from_2016_to_2018_cropped_900.png"], ["question-resources/Aust_Public_Service_disability_infographic_ver4.png", "/srv/numbas/media/question-resources/Aust_Public_Service_disability_infographic_ver4.png"], ["question-resources/Aust_Public_Service_disability_infographic_ver5.png", "/srv/numbas/media/question-resources/Aust_Public_Service_disability_infographic_ver5.png"], ["question-resources/Public_service_disabilities_link.png", "/srv/numbas/media/question-resources/Public_service_disabilities_link.png"], ["question-resources/Compound_interest_formula.png", "/srv/numbas/media/question-resources/Compound_interest_formula.png"], ["question-resources/Simple_interest_formula.png", "/srv/numbas/media/question-resources/Simple_interest_formula.png"], ["question-resources/hours_worked_line_graph_ver3.png", "/srv/numbas/media/question-resources/hours_worked_line_graph_ver3.png"], ["question-resources/hours_worked_line_graph_So7l9S4.png", "/srv/numbas/media/question-resources/hours_worked_line_graph_So7l9S4.png"], ["question-resources/child_care_chart.png", "/srv/numbas/media/question-resources/child_care_chart.png"], ["question-resources/WA_map_compass_2.png", "/srv/numbas/media/question-resources/WA_map_compass_2.png"], ["question-resources/compass_rose_h7MJaDO.png", "/srv/numbas/media/question-resources/compass_rose_h7MJaDO.png"], ["question-resources/granny_flat_plan_300_7ba0oVH.png", "/srv/numbas/media/question-resources/granny_flat_plan_300_7ba0oVH.png"], ["question-resources/black_shape.png", "/srv/numbas/media/question-resources/black_shape.png"], ["question-resources/blue_shape.png", "/srv/numbas/media/question-resources/blue_shape.png"], ["question-resources/green_shape.png", "/srv/numbas/media/question-resources/green_shape.png"], ["question-resources/orange_shape.png", "/srv/numbas/media/question-resources/orange_shape.png"], ["question-resources/purple_shape.png", "/srv/numbas/media/question-resources/purple_shape.png"], ["question-resources/red_shape.png", "/srv/numbas/media/question-resources/red_shape.png"], ["question-resources/vege_patch_500.png", "/srv/numbas/media/question-resources/vege_patch_500.png"], ["question-resources/vege_patch_soln_500.png", "/srv/numbas/media/question-resources/vege_patch_soln_500.png"], ["question-resources/pots_double_400.png", "/srv/numbas/media/question-resources/pots_double_400.png"], ["question-resources/pots_triple_400.png", "/srv/numbas/media/question-resources/pots_triple_400.png"], ["question-resources/thermometer_25_degrees.png", "/srv/numbas/media/question-resources/thermometer_25_degrees.png"], ["question-resources/thermometer_minus_5_degrees.png", "/srv/numbas/media/question-resources/thermometer_minus_5_degrees.png"], ["question-resources/thermometer_30_degrees.png", "/srv/numbas/media/question-resources/thermometer_30_degrees.png"], ["question-resources/clock_342.png", "/srv/numbas/media/question-resources/clock_342.png"], ["question-resources/clock_518.png", "/srv/numbas/media/question-resources/clock_518.png"], ["question-resources/clock_612.png", "/srv/numbas/media/question-resources/clock_612.png"], ["question-resources/clock_828.png", "/srv/numbas/media/question-resources/clock_828.png"], ["question-resources/clock_904.png", "/srv/numbas/media/question-resources/clock_904.png"], ["question-resources/clock_1149.png", "/srv/numbas/media/question-resources/clock_1149.png"], ["question-resources/OECD_Australian_Health.png", "/srv/numbas/media/question-resources/OECD_Australian_Health.png"], ["question-resources/InkedOECD_Australian_Health_pc_LIfinal.jpg", "/srv/numbas/media/question-resources/InkedOECD_Australian_Health_pc_LIfinal.jpg"], ["question-resources/OECD_Australian_Healthv2.png", "/srv/numbas/media/question-resources/OECD_Australian_Healthv2.png"], ["question-resources/BMI_chart_4tIKPPW.png", "/srv/numbas/media/question-resources/BMI_chart_4tIKPPW.png"], ["question-resources/BlacktownCouncilRatesImageCropped.png", "/srv/numbas/media/question-resources/BlacktownCouncilRatesImageCropped.png"], ["question-resources/error_bars.png", "/srv/numbas/media/question-resources/error_bars.png"], ["question-resources/error_barsv2_886.png", "/srv/numbas/media/question-resources/error_barsv2_886.png"], ["question-resources/hiccup_hiccough_ngram_1200.png", "/srv/numbas/media/question-resources/hiccup_hiccough_ngram_1200.png"], ["question-resources/hiccup_hiccough_ngram_900_avVaspQ.png", "/srv/numbas/media/question-resources/hiccup_hiccough_ngram_900_avVaspQ.png"], ["question-resources/Eating_out_table_Pyu6AZz.png", "/srv/numbas/media/question-resources/Eating_out_table_Pyu6AZz.png"], ["question-resources/Net_worth_asset_proportions.png", "/srv/numbas/media/question-resources/Net_worth_asset_proportions.png"], ["question-resources/OECD_obesity_bar_chart.png", "/srv/numbas/media/question-resources/OECD_obesity_bar_chart.png"], ["question-resources/OECD_obesity_bar_chart2.png", "/srv/numbas/media/question-resources/OECD_obesity_bar_chart2.png"], ["question-resources/OECD_obesity_bar_chart3.png", "/srv/numbas/media/question-resources/OECD_obesity_bar_chart3.png"], ["question-resources/Area_chart_cropped2.png", "/srv/numbas/media/question-resources/Area_chart_cropped2.png"], ["question-resources/Area_chart_600.png", "/srv/numbas/media/question-resources/Area_chart_600.png"]]}