// Numbas version: exam_results_page_options {"name": "Number of moles", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["chem", "test0", "test1", "mult", "grams"], "name": "Number of moles", "tags": ["ephlth", "nursing"], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"stepsPenalty": "1", "prompt": "
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/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}