// 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
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.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/"}]}