// Numbas version: exam_results_page_options {"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}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "SP NC lunch pack combinations (7)", "tags": ["LANTITE"], "metadata": {"description": "

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

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

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

\n

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

\n

\n

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

\n

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

\n

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

\n

\n

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

\n
\n

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

\n

The choices are listed in the table below.

\n

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

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
ItemChoice 1Choice 2Choice 3Choice 4Choice 5
Main itemsandwichwrap---------
Snackapplebananamuffinbag of chipsmega cookie
Drinkjuicewatermilk------
", "advice": "
\n
\n
\n

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

\n

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

\n

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

\n

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

\n

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The question statement for the randomly chosen scenario.

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

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

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

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

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

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

", "templateType": "json"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "questionwording", "correctanswer", "wrong1", "wrong2", "wrong3", "mains", "snacks", "drinks"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "
\n

{questionwording}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["
\n{correctanswer}", "{wrong1}", "{wrong2}", "{wrong3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done!", "Working out combinations involves multiplication, not addition.", "Hint: Working out combinations involves multiplication.", "Hint: Working out combinations involves multiplication."]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}