// Numbas version: exam_results_page_options {"name": "Concentration and chemistry", "feedback": {"showtotalmark": true, "advicethreshold": 0, "showanswerstate": true, "showactualmark": true, "allowrevealanswer": true}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "allQuestions": true, "shuffleQuestions": false, "percentPass": 0, "duration": 0, "pickQuestions": 0, "navigation": {"onleave": {"action": "none", "message": ""}, "reverse": true, "allowregen": true, "showresultspage": "oncompletion", "preventleave": true, "browse": true, "showfrontpage": true}, "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "exam", "questions": [], "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": [{"name": "Concentration: percentage weight per volume", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}], "tags": ["concentration", "ephlth", "nursing"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "variables": {"marking": {"name": "marking", "group": "b", "definition": "[if(mult=1,1,0),if(mult=2,1,0),0,if(mult=10,1,0)]", "description": "", "templateType": "anything"}, "ans2": {"name": "ans2", "group": "b", "definition": "mult*100", "description": "", "templateType": "anything"}, "gramsb": {"name": "gramsb", "group": "whole numbers that result in simple decimal", "definition": "ansb*2*k", "description": "", "templateType": "anything"}, "grams": {"name": "grams", "group": "Ungrouped variables", "definition": "random(0.1..20#0.1)", "description": "", "templateType": "anything"}, "k": {"name": "k", "group": "whole numbers that result in simple decimal", "definition": "random(2..12)", "description": "", "templateType": "anything"}, "mill": {"name": "mill", "group": "Ungrouped variables", "definition": "random(50..1000#50)", "description": "", "templateType": "anything"}, "list": {"name": "list", "group": "b", "definition": "[100,200,500,1000]", "description": "", "templateType": "anything"}, "gramsnice": {"name": "gramsnice", "group": "Ungrouped variables", "definition": "ansnice*fudge", "description": "", "templateType": "anything"}, "per": {"name": "per", "group": "b", "definition": "random(0.1..10#0.1)", "description": "", "templateType": "anything"}, "ansnice": {"name": "ansnice", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything"}, "amount": {"name": "amount", "group": "b", "definition": "mult*per", "description": "", "templateType": "anything"}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "precround(test,2)", "description": "", "templateType": "anything"}, "test": {"name": "test", "group": "Ungrouped variables", "definition": "grams/mill*100\n", "description": "", "templateType": "anything"}, "millnice": {"name": "millnice", "group": "Ungrouped variables", "definition": "100*fudge", "description": "", "templateType": "anything"}, "ansb": {"name": "ansb", "group": "whole numbers that result in simple decimal", "definition": "random(0.5..10.5#1)", "description": "", "templateType": "anything"}, "chem": {"name": "chem", "group": "Ungrouped variables", "definition": "shuffle([\"$\\\\text{NaCl}$\",\"$\\\\text{KCl}$\",\"$\\\\mathrm{C_3H_5NaO_3}$\",\"$\\\\mathrm{CaCl_2.2H_2O}$\",\"$\\\\mathrm{Ca_3PO_4}$\",\"$\\\\mathrm{MgCl_2}$\",\"$\\\\mathrm{Na_2HPO_4}$\",\"$\\\\mathrm{Na_2SO_4}$\"])[0..4]", "description": "", "templateType": "anything"}, "fudge": {"name": "fudge", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything"}, "millb": {"name": "millb", "group": "whole numbers that result in simple decimal", "definition": "100*2*k", "description": "", "templateType": "anything"}, "mult": {"name": "mult", "group": "b", "definition": "random(1,2,10)", "description": "", "templateType": "anything"}, "ansr": {"name": "ansr", "group": "Ungrouped variables", "definition": "precround(ans,2)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["mill", "grams", "chem", "test", "ans", "millnice", "gramsnice", "ansnice", "fudge", "ansr"], "variable_groups": [{"name": "b", "variables": ["per", "mult", "amount", "ans2", "marking", "list"]}, {"name": "whole numbers that result in simple decimal", "variables": ["ansb", "millb", "gramsb", "k"]}], "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": "
A {millnice} mL solution is made by mixing {gramsnice} g of {chem[2]} and water. The percentage weight per volume of the solution is [[0]] % w/v of {chem[2]}.
", "stepsPenalty": "1", "steps": [{"type": "information", "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": "Percentage weight per volume is the weight of the solute in grams divided by the amount of solution in millilitres expressed as a percentage. That is, we do the division and multiply by 100.
\n\nIn particular, if a {millnice} mL solution is made by mixing {gramsnice} g of {chem[2]} and water. The percentage weight per volume of the solution is:
\n$\\dfrac{\\text{grams}}{\\text{millilitres}}\\times 100$ | \n$=$ | \n$\\dfrac{\\var{gramsnice}}{\\var{millnice}}\\times 100$ % w/v | \n
\n | $=$ | \n$\\var{ansnice}$ % w/v | \n
A {millb} mL solution is made by mixing {gramsb} g of {chem[3]} and water. The percentage weight per volume of the solution is [[0]] % w/v of {chem[3]}.
", "stepsPenalty": "1", "steps": [{"type": "information", "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": "Percentage weight per volume is the weight of the solute in grams divided by the amount of solution in millilitres expressed as a percentage. That is, we do the division and multiply by 100.
\n\nIn particular, if a {millb} mL solution is made by mixing {gramsb} g of {chem[3]} and water. The percentage weight per volume of the solution is:
\n$\\dfrac{\\text{grams}}{\\text{millilitres}}\\times 100$ | \n$=$ | \n$\\dfrac{\\var{gramsb}}{\\var{millb}}\\times 100$ % w/v | \n
\n | $=$ | \n$\\var{ansb}$ % w/v | \n
A {mill} mL solution is made by mixing {grams} g of {chem[0]} and water. The percentage weight per volume of the solution is [[0]] % w/v of {chem[0]} (to 2 decimal places).
", "stepsPenalty": "1", "steps": [{"type": "information", "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": "Percentage weight per volume is the weight of the solute in grams divided by the amount of solution in millilitres expressed as a percentage. That is, we do the division and multiply by 100.
\n\nIn particular, if a {mill} mL solution is made by mixing {grams} g of {chem[0]} and water. The percentage weight per volume of the solution is:
\n$\\dfrac{\\text{grams}}{\\text{millilitres}}\\times 100$ | \n$=$ | \n$\\dfrac{\\var{grams}}{\\var{mill}}\\times 100$ % w/v | \n
\n | $=$ | \n$\\var{ans}$ % w/v (to 2 dec. pl) | \n
A {per} % {chem[1]} solution contains {amount} g of {chem[1]} in every...
", "stepsPenalty": "1", "steps": [{"type": "information", "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": "It is important to know {per} % {chem[1]} solution contains {per} g of {chem[1]} in every 100 mL of solution.
\n\nGiven this, since we have {amount} g of {chem[1]} we have two times the standard amount and so we must have two times the solution, that is 200 mL.
\n\nGiven this, since we have {amount} g of {chem[1]} we have ten times the standard amount and so we must have ten times the solution, that is 1000 mL.
"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["100 mL.
", "200 mL.
", "500 mL.
", "1000 mL.
"], "matrix": "marking"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Concentration: moles per volume", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}], "tags": ["concentration", "ephlth", "nursing"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "variables": {"litres": {"name": "litres", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything"}, "onedec": {"name": "onedec", "group": "Ungrouped variables", "definition": "precround(ans1,1)", "description": "", "templateType": "anything"}, "number": {"name": "number", "group": "Ungrouped variables", "definition": "random(0.5..2#0.1 except 1)", "description": "", "templateType": "anything"}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "definition": "number/litres", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["number", "litres", "ans1", "onedec"], "variable_groups": [{"name": "b", "variables": []}], "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": "{number} moles of a solute are dissolved to create {litres} L of solution. The molar concentration is [[0]] mol/L (to one decimal place).
", "stepsPenalty": "1", "steps": [{"type": "information", "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": "Molar concentration is the number of moles divided by the volume of solution in litres.
\nIn particular, if a {litres} L solution is made by mixing {number} moles of a solute then the molar concentration is calculated as follows:
\n\n$\\dfrac{\\text{number of moles}}{\\text{litres}}$ | \n$=$ | \n$\\dfrac{\\var{number}}{\\var{litres}}$ mol/L | \n
\n | $=$ | \n$\\var{onedec}$ mol/L (1 dec. pl) | \n
The molecular weight of {chem[0]} is [[0]] g/mol (round each atomic weight to the nearest whole number for this exercise).
\n", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{chem[2]}", "minValue": "{chem[2]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "{chem[1]}
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "type": "gapfill"}, {"stepsPenalty": "1", "prompt": "How many moles of {chem[0]} are present in {grams} g of {chem[0]}?
\n\n[[0]] moles
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{mult}", "minValue": "{mult}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "The number of moles is the weight of the compound in grams/mol divided by the molecular mass of the compound in grams.
\nIn particular, the number of moles in {grams} g of {chem[0]} is calculated as follows:
\n\n$\\dfrac{\\text{mass of compound (g)}}{\\text{molecular mass (g/mol)}}$ | \n$=$ | \n$\\dfrac{\\var{grams} \\text{g}}{\\var{chem[2]} \\text{g/mol}}$ | \n
\n | $=$ | \n$\\var{mult}$ mol | \n
chem formula, sentence for molecular mass
"}, "grams": {"definition": "mult*chem[2]", "templateType": "anything", "group": "Ungrouped variables", "name": "grams", "description": ""}, "mult": {"definition": "random(1..20#0.5)", "templateType": "anything", "group": "Ungrouped variables", "name": "mult", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}], "extensions": [], "custom_part_types": [], "resources": []}