// Numbas version: exam_results_page_options {"name": "Dosage Tablets", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "
\\begin{align}\\text{Dosage}&=\\frac{\\text{Strength Required}}{\\text{Stock Strength}}\\times \\frac{\\text{Vol}}{1}\\\\&=\\frac{\\var{SR}\\text{ mg}}{\\var{SS} \\text{ mg}}\\times \\frac{1 \\text{ tablet}}{1}\\\\&=\\var{dose} \\text{ tablets}\\end{align}
", "extensions": [], "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "preamble": {"css": "", "js": ""}, "variables": {"dose": {"definition": "random(1.5..4#0.5)", "name": "dose", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "SS": {"definition": "random([20,40,100,150,200,250]+list(10..300#10)+list(400..500#50))", "name": "SS", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "switch": {"definition": "random(0,1)", "name": "switch", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "SR": {"definition": "dose*SS", "name": "SR", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "name": "Dosage Tablets", "parts": [{"variableReplacements": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "customName": "", "scripts": {}, "marks": 0, "sortAnswers": false, "useCustomName": false, "unitTests": [], "gaps": [{"showFractionHint": true, "variableReplacements": [], "maxValue": "dose", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "correctAnswerStyle": "plain", "customName": "", "mustBeReducedPC": 0, "scripts": {}, "marks": 1, "useCustomName": false, "unitTests": [], "minValue": "dose", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReduced": false, "type": "numberentry", "customMarkingAlgorithm": ""}], "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "prompt": "A patient {random([\"has been ordered\",\"has been prescribed\",\"requires\"])} $\\var{SR}$ mg of a certain drug. {random([\"\\$\\\\var\\{SS\\}\\$ mg per tablet is available\",\"\\$\\\\var\\{SS\\}\\$ mg tablets are on hand\",\"The stock available is \\$\\\\var\\{SS\\}\\$ mg tablets\",\"Stock on hand is \\$\\\\var\\{SS\\}\\$ mg per tablet\"])}. How many tablets are required?
\n{random([\"\\$\\\\var\\{SS\\}\\$ mg per tablet is available\",\"\\$\\\\var\\{SS\\}\\$ mg tablets are on hand\",\"The stock available is \\$\\\\var\\{SS\\}\\$ mg tablets\",\"Stock on hand is \\$\\\\var\\{SS\\}\\$ mg per tablet\"])}. The patient {random([\"has been ordered\",\"has been prescribed\",\"requires\"])} $\\var{SR}$ mg. How many tablets are required?
\n\n[[0]] tablets
", "type": "gapfill", "customMarkingAlgorithm": ""}], "tags": [], "rulesets": {}, "ungrouped_variables": ["SS", "SR", "dose", "switch"], "statement": "Evaluate the following without using a calculator.
\nIf you are unsure of how to do a question, click on Reveal answers to see the full working. Then, once you understand how to do the question, click on Try another question like this one to start again.
", "metadata": {"description": "Nursing question. Dosage calculation. Given strength required and stock strength in tablets, determine how many tablets are required.", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "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/"}]}