// Numbas version: finer_feedback_settings {"name": "MG Mass calculations from a nutrition label (7)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/FDA_Nutrition_Facts_Label_2016_300.png", "FDA_Nutrition_Facts_Label_2016_300.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "MG Mass calculations from a nutrition label (7)", "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. A nutrition label is shown, and one multiple choice question asked. There are seven potential questions (scenarios).

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

The nutrition facts for a snack food are given on the nutrition panel below.

\n

\n

https://commons.wikimedia.org/wiki/File:FDA_Nutrition_Facts_Label_2016.png

", "advice": "

{advice}

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"scenarios": {"name": "scenarios", "group": "Ungrouped variables", "definition": "json_decode(safe(\"[\\n {\\n \\\"question\\\":\\\"Dan eats three servings of the snack. How many grams of sodium does he consume in total?\\\",\\n \\\"answer\\\":\\\"0.48\\\",\\n \\\"distractor1\\\":\\\"0.048\\\",\\n \\\"distractor2\\\":\\\"4.8\\\",\\n \\\"distractor3\\\":\\\"48\\\",\\n \\\"feedback\\\":\\\"Each serving contains 160 milligrams of sodium.
Three servings would contain 3 x 160 = 480 mg of sodium.
To convert mg to grams, divide by 1000, as there are 1000 mg in a gram.
480 \u00f7 1000 = 0.48 so Dan consumes 0.48 grams of sodium in total.\\\"\\n },\\n {\\n \\\"question\\\":\\\"How many serves of the snack would be needed if I wanted to consume 1 gram of Calcium?\\\",\\n \\\"answer\\\":4,\\n \\\"distractor1\\\":2,\\n \\\"distractor2\\\":3,\\n \\\"distractor3\\\":5,\\n \\\"feedback\\\":\\\"One serving contains 260 milligrams of Calcium.
There are 1000 mg in one gram. 1000 \u00f7 260 = 3.85 (to 2 decimal places).
Therefore 4 servings would be needed to reach the required amount of Calcium .\\\"\\n },\\n {\\n \\\"question\\\":\\\"What percentage (by weight) of one serving, is Potassium?\\\",\\n \\\"answer\\\":\\\"0.4%\\\",\\n \\\"distractor1\\\":\\\"4%\\\",\\n \\\"distractor2\\\":\\\"2.35%\\\",\\n \\\"distractor3\\\":\\\"6%\\\",\\n \\\"feedback\\\":\\\"One serving weighs 55 g.
Convert this to milligrams by multiplying by 1000. One serving weighs 55 000 mg.
What proportion of 55 000 mg is 235 mg?
235 \u00f7 55 000 x 100 = 0.427%.
The closest answer is therefore 0.4%.\\\"\\n },\\n {\\n \\\"question\\\":\\\"What percentage (by weight) of one serving, is Added Sugar?\\\",\\n \\\"answer\\\":\\\"18%\\\",\\n \\\"distractor1\\\":\\\"20%\\\",\\n \\\"distractor2\\\":\\\"5.5%\\\",\\n \\\"distractor3\\\":\\\"10%\\\",\\n \\\"feedback\\\":\\\"Added Sugars are 10 g out of the 55 g serving.
To convert this proportion to a percentage, calculate 10 \u00f7 55 x 100 = 18.18.
Therefore around 18% of the snack is Added Sugar.\\\"\\n },\\n {\\n \\\"question\\\":\\\"How many times more Iron, by weight, is there in one serving of the snack, compared to Vitamin D? Note that there are 1000 micrograms in 1 milligram, and microgram can be abbreviated to mcg.\\\",\\n \\\"answer\\\":\\\"4000\\\",\\n \\\"distractor1\\\":\\\"400\\\",\\n \\\"distractor2\\\":\\\"45\\\",\\n \\\"distractor3\\\":\\\"4.5\\\",\\n \\\"feedback\\\":\\\"Convert 8 mg of Iron to micrograms.
8 x 1000 = 8000.
There are 8000 micrograms of Iron in one serving.
Then divide 8000 micrograms (Iron) by 2 micrograms (Vitamin D).
8000 \u00f7 2 = 4000.
There is 4000 times more Iron, by weight, in the snack, than Vitamin D.\\\"\\n },\\n {\\n \\\"question\\\":\\\"Which of the following contributes the largest mass to one serving of the snack?\\\",\\n \\\"answer\\\":\\\"Protein\\\",\\n \\\"distractor1\\\":\\\"Sodium\\\",\\n \\\"distractor2\\\":\\\"Calcium\\\",\\n \\\"distractor3\\\":\\\"Saturated Fat\\\",\\n \\\"feedback\\\":\\\"Protein and Saturated Fat are measured in grams. Sodium and Calcium are measured in milligrams.
One milligram is one thousand times smaller than a gram.
Therefore the largest weight in one serving, from the options given, is Protein at 3 grams.\\\"\\n },\\n {\\n \\\"question\\\":\\\"In one serving, what is the total mass of Vitamin D, Calcium and Iron? Note that there are 1000 micrograms in 1 milligram, and microgram can be abbreviated to mcg.\\\",\\n \\\"answer\\\":\\\"268.002 mg\\\",\\n \\\"distractor1\\\":\\\"268.02 mg\\\",\\n \\\"distractor2\\\":\\\"26 802 micrograms\\\",\\n \\\"distractor3\\\":\\\"2 682 micrograms\\\",\\n \\\"feedback\\\":\\\"Convert the Vitamin D mass to milligrams.
2 \u00f7 1000 = 0.002.
Add the three masses in milligrams. 0.002 + 260 + 8 = 268.002.
The total mass of the three vitamins and minerals is 268.002 mg.\\\"\\n }\\n]\"))", "description": "

The list of all potential questions, answers, distractors and feedback (advice).

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

The particular scenario for the current question.

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

The randomly selected question.

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

The correct answer for the randomly selected question.

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

The first incorrect answer for the randomly selected question.

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

The second incorrect answer for the randomly selected question.

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

The third incorrect answer for the randomly selected question.

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

The advice (feedback) for the randomly selected question.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["scenarios", "scenario", "prompt", "ans", "dis1", "dis2", "dis3", "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": "

{prompt}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{ans}", "{dis1}", "{dis2}", "{dis3}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done! You are correct.", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}], "resources": ["question-resources/FDA_Nutrition_Facts_Label_2016_300.png"]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}