// 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.
\nThere are 10 questions each from the Number and Algebra, Measurement and Geometry, Statistics and Probability, and non-Calculator strands.
\nStudents 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.
\nThe formula for calculating the BMI is given below:
\n\nThe BMI is rounded to 1 decimal place.
\nThe BMI table below can be used to determine the weight range (or band) for a given BMI.
\n\n\nBMI | \nWeight range | \n
Less than 17 | \nVery Underweight | \n
17 - 18.4 | \nUnderweight | \n
18.5 - 24.9 | \nHealthy Weight Range | \n
25 - 29.9 | \nOverweight | \n
30 - 34.9 | \nObese | \n
35 or greater | \nSeverely Obese | \n
The BMI formula requires the height to be in metres.
\nConvert the given height in centimetres by dividing it by 100.
\n{height} cm ÷ 100 = {decimal(height/100)} m.
\nNow substitute the given height and weight into the BMI formula.
\nBMI = $ \\frac {Weight} {Height^{2}} $
\nBMI = $ \\frac {\\var{weight}} {({\\var{height/100}} \\times {\\var{height/100}})} $
\nBMI = {precround(10000*weight/(height*height),6)}...
\nThis BMI value must now be rounded to one decimal place, so BMI = {bmi}.
\nFinally, locate this value in the table to determine the Weight range.
\nA 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\nThe 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\nThe 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\nThe 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\nThe 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": "\nWhich 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}}$
\nThe table below gives the average speed of a variety of moving objects in metres per second (m/s).
\n\nMoving object | \nSpeed (m/s) | \n
snail gliding | \n0.01 | \n
tortoise walking | \n0.12 | \n
person jogging | \n3.2 | \n
horse galloping | \n13.7 | \n
car cruising | \n26.4 | \n
cheetah running | \n28.3 | \n
aeroplane cruising | \n220 | \n
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}
\nRounded to one decimal place, the {thing} is {moving} at a speed of {dpformat(3.6*speed,1)} km/h.
\nAs 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)?
\nGive your answer rounded to one decimal place.
\nThe {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.
\nIn 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}.
\nOn 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": "\nHow 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\nEmployees 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.
\nYears of service | \nDiscount (%) | \n
1 - 4 | \n4 | \n
5 - 9 | \n8 | \n
10 - 14 | \n12 | \n
15 - 19 | \n16 | \n
20 - 24 | \n20 | \n
{name1} has worked for Megashoppa for {years} years.
\nFrom the table, the relevant percentage discount is {pdiscount}%.
\nUsing this discount, {name1} paid {100-pdiscount}% (100% - {pdiscount}% ) of the full price.
\n{100-pdiscount}% of the full price = \\${formatnumber(amountpaid,'si-en')}.
\nTo 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')}
\nThe 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\nThe 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\nThe 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\nThis 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\nThis 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\nThe 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\nThis 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.
\nWhat 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.
\nThe 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\nhttps://accreditedpower.com.au/led-upgrades/nsw-home-led-upgrade-program/
", "advice": "Halogen globe costs
The school currently has {globes} new halogen globes, and each halogen globe will need to be replaced every 2 years.
\nOver the next {years} years, the globes will each need to be replaced {trunc(years/2)} times once .
\nThe 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]}
\nEach halogen globe costs \\$35.13 per year in electricity, and there are {globes} globes which will be used for {years} years.
\nThe electricity cost for the halogen globes over the {years} years is {globes} x {years} x \\$35.13 = \\${haleleccost}
\nTo 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}
\nRounded 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.
\nHow much will this school pay for this halogen lighting during the next {years} years?
\nAssume that the existing halogen globes would first need replacement in 2 years time, and that replacement halogen globes cost {currency(halogencost,\"\\$\",\"\")} each.
\nIn your calculations, include the cost of buying replacement halogen globes every 2 years, and the cost of the electricity.
\nDo not include the money they lose by not converting to LED globes.
\nRound 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\nThe 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\nhttps://www.education.gov.au/literacy-and-numeracy-test-initial-teacher-education-students
\nUse the chart to decide whether each statement below is True or False:
", "advice": "\na) {explanation1}
\n\nb) {explanation2}
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "\n\nThe randomly selected scenario.
", "templateType": "anything", "can_override": false}, "correct1": {"name": "correct1", "group": "Ungrouped variables", "definition": "scenario[\"answer1\"]", "description": "\n\nThe 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\nThe 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.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\nThe first question for the randomly selected scenario.
", "templateType": "anything", "can_override": false}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "\nThe 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\nThe 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\nTaken from (modified to clarify Classification by disability section)
", "advice": "\nUse the infographic to locate the percentage of staff with a disability in the given category.
\n{percentage*100}% of {categorydescription} have a disability.
\nThen 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\")}
\nThis 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\nA 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\nRandomly 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\nThe 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\nThe 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\nThe 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\nSimple interest can be calculated using the formula
\n$\\begin{aligned} I &= P \\times r \\times n \\end{aligned}$
\nCompound interest can be calculated using the formulae
\n\n$ A = P \\times (1+r)^n$ and $ I = A - P $
\nwhere 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\nSimple 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}$
\nThe simple interest is \\$ {trim(dpformat(simpleinterest,2,'si-en'))} to the nearest cent.
\n\nCompound interest was given as \\${trim(dpformat({compoundinterest},2,\"si-en\"))}
\n\n
How much less:
\nThe question asked how much less interest {name1} would have earnt if simple interest had been calculated.
\nCompound 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}$
\nRounded 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\nThe amount invested.
", "templateType": "randrange", "can_override": false}, "months": {"name": "months", "group": "Ungrouped variables", "definition": "random(6 .. 42#3)", "description": "\n\n\n\n\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nHow much less interest would {name1} have earnt by investing the same amount for {months} months at the simple interest rate of {rate}% per annum?
\nEnter 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\nThe 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\nhttp://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).
\nSecondly, calculate the number of weeks/year worked.
\n52 - {annualleave[index]} = {52 - annualleave[index]}
\nFinally, 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}...
\nThe number of hours per week worked by people in {country[index]} is {weeklyhours}.
\nRounded to the nearest hour, the number of hours per week worked by people in {country[index]} is {weeklyhours}.
\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe chart below shows the proportion and type of care used for children in Australia.
\n\nTaken 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.
\n9.7% of them were using both types of care.
\nTo calculate 9.7% of {formatnumber(num_kids,\"si-en\")}, divide 9.7 by 100 then multiply the answer by {formatnumber(num_kids,\"si-en\")}.
\nThis gives {formatnumber(0.097*num_kids,\"si-en\")}.
\nThen 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\"))}.
\nApproximately {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.
\nThe arrow indicates the direction of North.
\n\nImage 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.
\nThe cardinal compass directions are north(N), south(S), east(E) and west(W).
\nThere are four intercardinal directions. For example, northeast(NE) is half-way between north and east.
\nThere are eight further points on the compass rose. For example, west-southwest(WSW) is half-way between west and southwest.
\n\nImage taken from https://commons.wikimedia.org/wiki/File:Compass_Rose_English_North.svg
\nTo check the statement \"Wyndham is northeast of Geraldton\", for example,
\nimagine placing the centre of the compass on Geraldton,
\nand then check whether Wyndham lies in a northeasterly direction.
\nThis statement is true, as Wyndham lies a northeasterly direction when the compass is centred on Geraldton.
\nNote 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.
\nTherefore {heshe} swims {laps} x 50 = {formatnumber(laps*50,\"si-en\")} metres each training session.
\n{name} trains {days} days per week.
\nAfter one week, {heshe} swims {days} x {formatnumber(laps*50,\"si-en\")} m = {formatnumber(days*laps*50,\"si-en\")} m.
\nAfter {termlength} weeks, {heshe} swims {termlength} x {formatnumber(days*laps*50,\"si-en\")} m = {formatnumber(termlength*days*laps*50,\"si-en\")} m.
\nThere 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?
\nDo 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\nThe plan below shows a granny flat which has been drawn to scale.
\n\nhttps://www.mcdonaldjoneshomes.com.au/home-design/granny-flats#home-design-floor-plan
", "advice": "\n\n\nSpecific 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\nThe 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\nThe 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.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\nThe 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\nThe 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\nThe 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\nWhat 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.
\nEach small square has length and width 5 mm, or 0.5 cm.
\nEach small square has area 0.5 cm x 0.5 cm = 0.25 cm2.
\nThe shape is made up of {area*4} small squares.
\nFour of these squares will make 1 square centimetre (1 cm2).
\n{area*4} divided by 4 = {area}.
\nSo 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": "\nThe 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": "\nThe area in square centimetres of the chosen image.
", "templateType": "anything", "can_override": false}, "chosenimage": {"name": "chosenimage", "group": "Ungrouped variables", "definition": "images[index]", "description": "\nThe 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": "\nThe 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\nA standard teaspoon holds 5 mL of liquid.
", "advice": "Here is one way of solving this problem:
\nThere are 1000 mL in 1 litre.
\n1000 mL divided by 5 mL gives 200. So there are 200 teaspoons in each litre.
\nMultiply 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\nFor questions of this kind, if you are not using a calculator, it may be helpful to use some of the following proportional reasoning:
\n1 teaspoon = 5 millilitres, therefore
\n50 teaspoons= 250 millilitres or 0.25 litre (one quarter of a litre), and
\n100 teaspoons= 500 millilitres or 0.5 litre (half a litre), and
\n200 teaspoons = 1000 millilitres or 1 litre.
\nYou 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 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\nAt 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.
\nBefore 9 am there are {60-start} minutes.
\nBetween 9 am and 10 am there are 60 minutes.
\nAfter 10 am there are {end} minutes.
\nSo in total periods 1 and 2 last for {60-start} + 60 + {end} minutes = {120-start+ end} minutes.
\nThen halve this number to get the number of minutes in each period. Half of {120-start+ end} minutes is {per_length} minutes.
\nThen count on this many minutes from the start of period 1. Adding {per_length} minutes to 8:{start} am gives 9:{per2start} am.
\nPeriod 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": "\nWe are asked to find the length of the fencing, in metres. That is, we need to find the perimeter of the outside rectangle.
\nThe 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.
\nBed width = {bwidth} cm ÷ 100 = {bwidth/100} m
\nBed length = {bdepth} cm ÷ 100 = {bdepth/100} m
\nThe 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.
\nPath width = {pwidth} mm ÷ 1000 = {pwidth/1000} m
\nThe diagram below shows that the perimeter of the outside rectangle can be split up into sections, corresponding to the three measurements given.
\n\nPerimeter = (12 x path width) + (6 x bed width) + (2 x bed length)
\nPerimeter = (12 x {pwidth/1000}) + (6 x {bwidth/100}) + (2 x {pwidth/1000}) metres
\nPerimeter = {fencing} metres
\nThis measurement already has one decimal place, so there is no need to round it.
\nTherefore, {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.
\nFirst, work out how many times longer the larger pot is.
\n{size2} cm ÷ {size1} cm = {scalefactor}
\nThen 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.
\nNext, 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.
\nFinally, 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
\nEach small pot uses one bag of potting mix.
\nSo 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\nThis 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)}
\nhttps://www.mathworksheets4kids.com/reading-thermometers.php
", "advice": "How to read the thermometer
\nThe scale measured in degrees Celsius increases in increments of 1°C. In other words, the space between each graduation represents 1°C.
\nThe scale measured in degrees Fahrenheit increases in increments of 2°F. In other words, the space between each graduation represents 2°F.
\nMake sure you are taking the reading from the correct scale on the thermometer for each question.
\n\nSome useful things to know about temperatures measured in degrees Celsius (the scale used in Australia):
\nThe 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)}
\nhttps://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.
\nFirst, you need to read the analogue clock correctly.
\nThe time shown on the clock is {analogtime}.
\nThen, this time needs to be converted to 24 hour time.
\nBecause 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}.
\nBecause 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}.
\nThe 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?
\nEnter it using four digits without any punctuation.
\nFor 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\nThe 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\nSource: https://www.oecd.org/australia/Health-at-a-Glance-2017-Key-Findings-AUSTRALIA.pdf
", "advice": "\nTake 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\nThe randomly selected scenario.
", "templateType": "anything", "can_override": false}, "wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "\n\nThe third incorrect answer for the randomly selected scenario.
", "templateType": "anything", "can_override": false}, "correct": {"name": "correct", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "\n\nThe correct answer for the randomly selected scenario.
", "templateType": "anything", "can_override": false}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "\n\n\nThe 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\nThe 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\nThe question for the randomly selected scenario.
", "templateType": "anything", "can_override": false}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "\nThe 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\nThe 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.
\nThe 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", "advice": "\n\n\n\nGeneral advice:
\nMake sure you check the axis labels carefully first. Then consider how to read this chart.
\nThe 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.
\nThen, 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.
\nSpecific 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\nThe correct answer for the randomly chosen scenario.
", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "\n\n\n\n\n\nThe 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.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\nThe 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\nThe 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\nThe 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\nThe infographic below shows how Blacktown City Council spends the rates it collects from ratepayers.
\n\nhttps://www.blacktown.nsw.gov.au › bcc020_2019-rates-brochure_v10
", "advice": "\nThe 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.
\nTherefore {percentage}% of \\$100 is equivalent to {dollars}.
\nCount the number of items listed which are {whichway} than {dollars}.
\nThere are {answer} items which are {whichway} than {dollars}.
", "rulesets": {}, "variables": {"answer": {"name": "answer", "group": "Ungrouped variables", "definition": "scenario[\"howmany\"]", "description": "\n\n\n\nHow 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\nSix different sets of questions.
", "templateType": "json"}, "dollars": {"name": "dollars", "group": "Ungrouped variables", "definition": "scenario[\"percentasdollars\"]", "description": "\n\n\n\nThe 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\nAre 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\nWhat 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\nThe 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\nAccording 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\nA 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.
\nHalf 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.
\nThey 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.
\nThe 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\nA listing of all four possible questions with correct answer, distractors and Advice.
", "templateType": "json"}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "\nThe correct answer to the particular question.
", "templateType": "anything"}, "distractor1": {"name": "distractor1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "\n\nThe first incorrect answer for the question.
", "templateType": "anything"}, "distractor2": {"name": "distractor2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "\n\nThe second incorrect answer for the selected question.
", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "\n\n\nRandomly select one of the four scenarios (question, answer, distractors and Advice).
", "templateType": "anything"}, "question": {"name": "question", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "\n\nThe 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": "\nSelect 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\nThe 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\nThe 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\nThe 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.
\nThe vertical axis measures the percentage of the specific words compared to all words published.\"
\n\n", "advice": "\n\n\nGeneral Advice:
\nStudy the graph carefully. Examine the axes and labels.
\nThen, 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?
\nRead the question again, to double-check that you have interpreted it correctly.
\nSpecific Advice:
\n{advice}
", "rulesets": {}, "variables": {"wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "\n\n\n\nThe 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.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\nThe correct answer for the randomly chosen scenario.
", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "\n\n\n\nThe 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\nThe question statement for the randomly chosen scenario.
", "templateType": "anything"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "definition": "scenario[\"distractor2\"]", "description": "\n\nThe second incorrect answer (distractor) for the randomly chosen scenario.
", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "\n\n\n\nThe 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\nThe 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\nThe 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\nThe table below shows the average annual expenditure on eating out in Australia in 2016, broken down by establishment type and state.
\nThe average annual expenditure was calculated by dividing total revenues by the number of households in the state.
\n", "advice": "\n\n\nGeneral advice:
\nFirst, study the table carefully. Do you know what each number in the table represents?
\nThen, 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.
\nSpecific advice:
\n{advice}
", "rulesets": {}, "variables": {"wrong3": {"name": "wrong3", "group": "Ungrouped variables", "definition": "scenario[\"distractor3\"]", "description": "\n\n\n\nThe third incorrect answer (distractor) for the randomly chosen scenario.
", "templateType": "anything"}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "\n\n\n\nThe correct answer for the randomly chosen scenario.
", "templateType": "anything"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "definition": "scenario[\"distractor1\"]", "description": "\n\n\n\nThe 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 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\nThe second incorrect answer (distractor) for the randomly chosen scenario.
", "templateType": "anything"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "\n\n\n\nThe 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\nThe 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\nThe 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\nThe 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\nThe Carrington Public School canteen offers pre-ordered lunch packs. Each lunch pack contains three things - a main item, a snack, and a drink.
\nThe choices are listed in the table below.
\nChildren must choose one item from each row in the table.
\nItem | \nChoice 1 | \nChoice 2 | \nChoice 3 | \nChoice 4 | \nChoice 5 | \n
Main item | \nsandwich | \nwrap | \n--- | \n--- | \n--- | \n
Snack | \napple | \nbanana | \nmuffin | \nbag of chips | \nmega cookie | \n
Drink | \njuice | \nwater | \nmilk | \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?
\nMain items: {mains} Snacks: {snacks} Drinks: {drinks}
\nTo 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}
\nThere 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nThe chart below shows the proportion and type of care used for children in Australia.
\n\nTaken from http://www.abs.gov.au/ausstats/abs@.nsf/0/F924A95E815CD063CA257657001619DE?Opendocument Accessed 22/11/2018
\nDecide whether each statement below is True or False:
", "advice": "a) {advice1}
\nb) {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.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\nThe divided bar chart below displays the proportion of assets held (on average) by people in various net worth tiers (wealth categories).
\nK = thousand M = million B = billion
\n\nSource: 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\nThe 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\nThe first incorrect answer for the question in the current scenario.
", "templateType": "anything"}, "questiontext": {"name": "questiontext", "group": "Ungrouped variables", "definition": "scenario[\"question\"]", "description": "\n\n\nThe question in the current scenario.
", "templateType": "anything"}, "correctanswer": {"name": "correctanswer", "group": "Ungrouped variables", "definition": "scenario[\"answer\"]", "description": "\n\nThe 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%).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": "\nThe 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": "\nSelect 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\nThe 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", "advice": "\nFirst, for the given intervention, {interventiontype}, read the return rate from the vertical axis. It is approximately {returnrate}.
\nNext, 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.
\nFinally, 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\"))}
\nThe expected net benefit in GDP is \\${trim(dpformat((returnrate - 1)*investment,0,\"si-en\"))}.
\nThe 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.
\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nA 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}$.
\nInsert these two figures into the gaps.
\nCoconut $\\var{c}$ : $\\var{rob}$ Other chocolates
\nFrom 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}$.
\nThe greatest common divisor is $\\var{gcd2}$.
\nUsing this value to simplify the ratio by dividing each term by the value, the final answer is
\nCoconut $\\var{ratio_coconut}$ : $\\var{ratio_rest}$ Other chocolates.
\nThis 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.
\nTherefore, it is not possible to simplify further and the final answer is
\nCoconut $\\var{c}$ : $\\var{rob}$ Other chocolates.
\nThis 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.
\nNote 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\nNumber 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\nTotal 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\nNumber 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\nNumber of coconut chocolates on day 3.
", "templateType": "anything"}, "gcd2": {"name": "gcd2", "group": "Ungrouped variables", "definition": "gcd(c,rob)", "description": "\n\n\n\n\nThe 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\nNumber 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\nSum 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\nNumber 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\nNumber 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\nThe box initially contained equal numbers of each kind of chocolate, and there were $\\var{chocs}$ chocolates in the box altogether.
\nCaramel flavoured chocolate is the family favourite, and so all of these chocolates were eaten first.
\nOver 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.
\nWhat 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.
\nCoconut [[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\nIt has rained on the day of the {school1} Primary School swimming carnival {rainydays1} times in the past {years1} years.
\nIt 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.
\nIn 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}).
\nThis is the experimental probability of rain at the {school1} swimming carnival.
\nTo 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}}).
\nThen compare the two decimals to decide which is higher.
\n{rainydays1/years1} is greater than {rainydays2/years2}.
\nTherefore {school1} has the higher probability of rain on the day of the swimming carnival.
\n{rainydays2/years2} is greater than {rainydays1/years1}.
\nTherefore {school2} has the higher probability of rain on the day of the swimming carnival.
\nThe 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\nA list of the possible different schools and their rainfall statistics.
", "templateType": "json"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "\n\nOne 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\nThe 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/years1{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.
\nIn this case it is $\\var{class_size} - \\var{num_students} = \\var{class_size-num_students}$ students.
\nThen 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.
\nFinally, 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": "\nWhat 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\nThe proportion of students at {school} school who have been identified as being gifted is {dec1}.
\nHowever, 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.
\nTherefore, 1 - {dec2} = {1-dec2} of the students that are identified as being gifted do NOT receive additional support in the classroom.
\nSo, {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.
\nWe need to find {1-dec2} of {dec1}.
\nTo find a proportion of a proportion, we multiply.
\nWe need to evaluate {1-dec2} x {dec1}.
\nTo 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}
\nAlternatively, 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}
\nThe 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\nThe 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\nThe 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\nThe 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\nNortham High School held a sausage sizzle at their athletics carnival.
\nThree 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.
\nWe 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}} $
\nThen we subtract this answer from one whole to find the fraction of sausages remaining for {name3} to cook.
\n1 - $ \\frac{\\var{frac1num*frac2denom+frac2num*frac1denom}}{\\var{frac1denom*frac2denom}} $
\n= $ \\frac {\\var{frac1denom*frac2denom-(frac1num*frac2denom+frac2num*frac1denom)}}{\\var{frac1denom*frac2denom}} $
\nThis fraction cannot be simplified.
\nSo {name3} cooked the remaining $ \\frac {\\var{answernumerator}} {\\var{answerdenominator}} $ of the sausages.
\nThis 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}}$
\nSo {name3} cooked the remaining $ \\frac {\\var{answernumerator}} {\\var{answerdenominator}} $ of the sausages.
\nThe 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\nThe 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\nThe 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\nThe 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\nThe 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\nA 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\nThe 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": "\nThe 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": "\nList 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": "\nThe 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\nList 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": "\nThe 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\nThe 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?
\nUse 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\nFirst, calculate the total number of pages in the book. {pagesread} + {pagesleft} = {pagesread + pagesleft}
\nNext 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.
\nFinally, 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": "numeratorUsed 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\nA random sample of 10 residents from Sydney were asked how many times they had watched a movie at a cinema last year.
\nHere are their responses:
\n$\\var{a[0]}$ | \n$\\var{a[1]}$ | \n$\\var{a[2]}$ | \n$\\var{a[3]}$ | \n$\\var{a[4]}$ | \n$\\var{a[5]}$ | \n$\\var{a[6]}$ | \n$\\var{a[7]}$ | \n$\\var{a[8]}$ | \n$\\var{a[9]}$ | \n
The mean is the sum of all the responses ($\\sum x$) divided by the number of responses ($n$).
\nHere, $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}
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
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]}\\]
\nThere 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
To find the difference between the mean and the median, we subtract the two values:
\nSince we require a positive number, we subtract the median from the mean.
\nmean - median = {mean} - {median} = {mean-median}
\nFinally, check that we have answered to one decimal place.
\nThe difference between the mean and the median is {abs(precround({mean-median},1))}.
\nSince we require a positive number, we subtract the mean from the median.
\nmedian - mean = {median} - {mean} = {median - mean}
\nFinally, check that we have answered to one decimal place.
\nThe difference between the mean and the median is {abs(precround({mean-median},1))}.
\nHowever, the mean and the median are equal.
\nTherefore the difference between the mean and the median is 0.
\nOption 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\nThe final list.
", "templateType": "anything"}, "a_s": {"name": "a_s", "group": "final list", "definition": "sort(a)", "description": "\n\n\n\n\n\n\nSorted list.
", "templateType": "anything"}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "repeat(random(0..8), 10)", "description": "\n\n\n\n\nOption 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\nThe calculated mean of the list of numbers.
", "templateType": "anything"}, "median": {"name": "median", "group": "final list", "definition": "median(a)", "description": "\n\n\n\n\nThe 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\nOption 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\nWhat 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\nIt 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.
\nIn 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}).
\nThis 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\nA list of the possible different schools and their rainfall statistics.
", "templateType": "json"}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "\n\nOne 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\nThe 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
\nIt is not always straightforward to read the data from an area chart.
\nThe absences for School 1 can be read directly from the vertical axis.
\nHowever, 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.
\nSimilarly, 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.
\nFor 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.
\nThis 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.
\nYou 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$.
\nA chocolate bar costs $\\$1$ more than a lollipop, so the price of a chocolate bar can be represented by $x+1$.
\nA 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\nTo 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.
\nWithout 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}
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}
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}
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\nThe 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\nNumber 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\nNumber 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\nNumber 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$.
\nWhich 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.
\nYou may use a calculator for questions 1 - 30.
\nYou should not use a calculator for questions 31-40.
\nThe 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"]]}