// Numbas version: exam_results_page_options {"name": "Anthea's copy of Practice Questions", "metadata": {"description": "

Practice Questions for Nursing tests

", "licence": "Creative Commons Attribution 4.0 International"}, "duration": 0, "percentPass": "100", "question_groups": [{"name": "Group", "pickingStrategy": "all-shuffled", "pickQuestions": 1, "questions": [{"name": "Nursing Question 4", "extensions": [], "custom_part_types": [], "resources": [["question-resources/conversions.png", "/srv/numbas/media/question-resources/conversions.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"customMarkingAlgorithm": "", "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Convert the following units:

\n

 $\\var{b}${c} into {d}                   [[0]]{d}            

", "marks": 0, "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"customMarkingAlgorithm": "", "correctAnswerFraction": false, "showFeedbackIcon": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "marks": "1", "variableReplacementStrategy": "originalfirst", "unitTests": [], "allowFractions": false, "showFractionHint": true, "useCustomName": false, "scripts": {}, "mustBeReduced": false, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "maxValue": "{ans}", "minValue": "{ans}", "type": "numberentry", "customName": "", "notationStyles": ["plain", "en", "si-en"]}], "useCustomName": false, "scripts": {}, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "customName": ""}], "metadata": {"description": "

Conversions of units

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"ans2": {"name": "ans2", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(h1,b/1000,if(h2,b/1000000,if(h3,b*1000,b*1000000)))", "description": ""}, "advice1": {"name": "advice1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,\n if(g1,\"x1000\",\n if(g2,\"x1000\",\"\u00f71000 and \u00f71000 again\")),\n if(h1,\"\u00f71000\",\n if(h2,\"\u00f71000 and \u00f71000 again\",\n if(h3, \"x1000\", \"x1000 and x1000 again\"))))", "description": ""}, "a5": {"name": "a5", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/1000", "description": ""}, "a4": {"name": "a4", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/100", "description": ""}, "a2": {"name": "a2", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/20", "description": ""}, "d3": {"name": "d3", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<3", "description": ""}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,g,if(c2,\"mcg\",if(c3,\"mg\",\"g\")))", "description": ""}, "a3": {"name": "a3", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/50", "description": ""}, "d1": {"name": "d1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "h1": {"name": "h1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1+1 = d1", "description": ""}, "c1": {"name": "c1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "c2": {"name": "c2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<2", "description": ""}, "g": {"name": "g", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,\"mg\",if(g1,\"g\",\"mcg\"))", "description": ""}, "c3": {"name": "c3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<3", "description": ""}, "d2": {"name": "d2", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<2", "description": ""}, "ad1": {"name": "ad1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,f>d1,c1>d1)", "description": ""}, "h4": {"name": "h4", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-2 = d1", "description": ""}, "h2": {"name": "h2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 + 2 = d1", "description": ""}, "ans": {"name": "ans", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,ans1,ans2)", "description": ""}, "f1": {"name": "f1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 = d1", "description": ""}, "h3": {"name": "h3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-1=d1", "description": ""}, "advice2": {"name": "advice2", "group": "Unnamed group", "templateType": "anything", "definition": "if(ad1, \"bigger\", \"smaller\")", "description": ""}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(a1,a2,a3,a4,a5)", "description": ""}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..100)", "description": ""}, "f": {"name": "f", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,c1+1,c1)", "description": ""}, "g2": {"name": "g2", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<3", "description": ""}, "a1": {"name": "a1", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/10", "description": ""}, "g1": {"name": "g1", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<4", "description": ""}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,b*1000,if(g1,b*1000,b/1000000))", "description": ""}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d2,\"mcg\",if(d3,\"mg\",\"g\"))", "description": ""}}, "statement": "", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "a1", "a2", "a3", "a4", "a5", "b", "c", "c1", "c2", "c3", "d1", "d2", "d3", "d", "f1", "f", "g1", "g", "h1", "h2", "h3", "h4", "g2", "ans1", "ans2", "ans"], "functions": {}, "variable_groups": [{"variables": ["advice1", "advice2", "ad1"], "name": "Unnamed group"}], "advice": "

You may find the following table useful:

\n

\n

If the units are getting bigger, you need to divide by 1000 for every step up you take.

\n

If the units are getting smaller, you need to multiply by 1000 for every step down you take.

\n

In this question, we have $\\var{b}${c} to convert into {d}.

\n

Since {c} is {advice2} than {d}, we need to {advice1} (see the number of steps in the table above).

\n

Therefore, $\\var{b}${advice1}$ = \\var{ans}$

\n

Remember - to divide by $1000$, move the decimal point three spaces to the left (as there are $3$ zeroes in $1000$)

\n

To multiply by $1000$, move the decimal point three spaces to the right

", "rulesets": {}}, {"name": "Nursing Question 4", "extensions": [], "custom_part_types": [], "resources": [["question-resources/conversions.png", "/srv/numbas/media/question-resources/conversions.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"customMarkingAlgorithm": "", "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Convert the following units:

\n

 $\\var{b}${c} into {d}                   [[0]]{d}            

", "marks": 0, "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"customMarkingAlgorithm": "", "correctAnswerFraction": false, "showFeedbackIcon": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "marks": "1", "variableReplacementStrategy": "originalfirst", "unitTests": [], "allowFractions": false, "showFractionHint": true, "useCustomName": false, "scripts": {}, "mustBeReduced": false, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "maxValue": "{ans}", "minValue": "{ans}", "type": "numberentry", "customName": "", "notationStyles": ["plain", "en", "si-en"]}], "useCustomName": false, "scripts": {}, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "customName": ""}], "metadata": {"description": "

Conversions of units

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"ans2": {"name": "ans2", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(h1,b/1000,if(h2,b/1000000,if(h3,b*1000,b*1000000)))", "description": ""}, "advice1": {"name": "advice1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,\n if(g1,\"x1000\",\n if(g2,\"x1000\",\"\u00f71000 and \u00f71000 again\")),\n if(h1,\"\u00f71000\",\n if(h2,\"\u00f71000 and \u00f71000 again\",\n if(h3, \"x1000\", \"x1000 and x1000 again\"))))", "description": ""}, "a5": {"name": "a5", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/1000", "description": ""}, "a4": {"name": "a4", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/100", "description": ""}, "a2": {"name": "a2", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/20", "description": ""}, "d3": {"name": "d3", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<3", "description": ""}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,g,if(c2,\"mcg\",if(c3,\"mg\",\"g\")))", "description": ""}, "a3": {"name": "a3", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/50", "description": ""}, "d1": {"name": "d1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "h1": {"name": "h1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1+1 = d1", "description": ""}, "c1": {"name": "c1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "c2": {"name": "c2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<2", "description": ""}, "g": {"name": "g", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,\"mg\",if(g1,\"g\",\"mcg\"))", "description": ""}, "c3": {"name": "c3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<3", "description": ""}, "d2": {"name": "d2", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<2", "description": ""}, "ad1": {"name": "ad1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,f>d1,c1>d1)", "description": ""}, "h4": {"name": "h4", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-2 = d1", "description": ""}, "h2": {"name": "h2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 + 2 = d1", "description": ""}, "ans": {"name": "ans", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,ans1,ans2)", "description": ""}, "f1": {"name": "f1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 = d1", "description": ""}, "h3": {"name": "h3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-1=d1", "description": ""}, "advice2": {"name": "advice2", "group": "Unnamed group", "templateType": "anything", "definition": "if(ad1, \"bigger\", \"smaller\")", "description": ""}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(a1,a2,a3,a4,a5)", "description": ""}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..100)", "description": ""}, "f": {"name": "f", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,c1+1,c1)", "description": ""}, "g2": {"name": "g2", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<3", "description": ""}, "a1": {"name": "a1", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/10", "description": ""}, "g1": {"name": "g1", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<4", "description": ""}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,b*1000,if(g1,b*1000,b/1000000))", "description": ""}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d2,\"mcg\",if(d3,\"mg\",\"g\"))", "description": ""}}, "statement": "", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "a1", "a2", "a3", "a4", "a5", "b", "c", "c1", "c2", "c3", "d1", "d2", "d3", "d", "f1", "f", "g1", "g", "h1", "h2", "h3", "h4", "g2", "ans1", "ans2", "ans"], "functions": {}, "variable_groups": [{"variables": ["advice1", "advice2", "ad1"], "name": "Unnamed group"}], "advice": "

You may find the following table useful:

\n

\n

If the units are getting bigger, you need to divide by 1000 for every step up you take.

\n

If the units are getting smaller, you need to multiply by 1000 for every step down you take.

\n

In this question, we have $\\var{b}${c} to convert into {d}.

\n

Since {c} is {advice2} than {d}, we need to {advice1} (see the number of steps in the table above).

\n

Therefore, $\\var{b}${advice1}$ = \\var{ans}$

\n

Remember - to divide by $1000$, move the decimal point three spaces to the left (as there are $3$ zeroes in $1000$)

\n

To multiply by $1000$, move the decimal point three spaces to the right

", "rulesets": {}}, {"name": "Nursing Question 4", "extensions": [], "custom_part_types": [], "resources": [["question-resources/conversions.png", "/srv/numbas/media/question-resources/conversions.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"customMarkingAlgorithm": "", "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Convert the following units:

\n

 $\\var{b}${c} into {d}                   [[0]]{d}            

", "marks": 0, "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"customMarkingAlgorithm": "", "correctAnswerFraction": false, "showFeedbackIcon": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "marks": "1", "variableReplacementStrategy": "originalfirst", "unitTests": [], "allowFractions": false, "showFractionHint": true, "useCustomName": false, "scripts": {}, "mustBeReduced": false, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "maxValue": "{ans}", "minValue": "{ans}", "type": "numberentry", "customName": "", "notationStyles": ["plain", "en", "si-en"]}], "useCustomName": false, "scripts": {}, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "customName": ""}], "metadata": {"description": "

Conversions of units

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"ans2": {"name": "ans2", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(h1,b/1000,if(h2,b/1000000,if(h3,b*1000,b*1000000)))", "description": ""}, "advice1": {"name": "advice1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,\n if(g1,\"x1000\",\n if(g2,\"x1000\",\"\u00f71000 and \u00f71000 again\")),\n if(h1,\"\u00f71000\",\n if(h2,\"\u00f71000 and \u00f71000 again\",\n if(h3, \"x1000\", \"x1000 and x1000 again\"))))", "description": ""}, "a5": {"name": "a5", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/1000", "description": ""}, "a4": {"name": "a4", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/100", "description": ""}, "a2": {"name": "a2", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/20", "description": ""}, "d3": {"name": "d3", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<3", "description": ""}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,g,if(c2,\"mcg\",if(c3,\"mg\",\"g\")))", "description": ""}, "a3": {"name": "a3", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/50", "description": ""}, "d1": {"name": "d1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "h1": {"name": "h1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1+1 = d1", "description": ""}, "c1": {"name": "c1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "c2": {"name": "c2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<2", "description": ""}, "g": {"name": "g", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,\"mg\",if(g1,\"g\",\"mcg\"))", "description": ""}, "c3": {"name": "c3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<3", "description": ""}, "d2": {"name": "d2", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<2", "description": ""}, "ad1": {"name": "ad1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,f>d1,c1>d1)", "description": ""}, "h4": {"name": "h4", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-2 = d1", "description": ""}, "h2": {"name": "h2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 + 2 = d1", "description": ""}, "ans": {"name": "ans", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,ans1,ans2)", "description": ""}, "f1": {"name": "f1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 = d1", "description": ""}, "h3": {"name": "h3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-1=d1", "description": ""}, "advice2": {"name": "advice2", "group": "Unnamed group", "templateType": "anything", "definition": "if(ad1, \"bigger\", \"smaller\")", "description": ""}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(a1,a2,a3,a4,a5)", "description": ""}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..100)", "description": ""}, "f": {"name": "f", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,c1+1,c1)", "description": ""}, "g2": {"name": "g2", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<3", "description": ""}, "a1": {"name": "a1", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/10", "description": ""}, "g1": {"name": "g1", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<4", "description": ""}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,b*1000,if(g1,b*1000,b/1000000))", "description": ""}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d2,\"mcg\",if(d3,\"mg\",\"g\"))", "description": ""}}, "statement": "", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "a1", "a2", "a3", "a4", "a5", "b", "c", "c1", "c2", "c3", "d1", "d2", "d3", "d", "f1", "f", "g1", "g", "h1", "h2", "h3", "h4", "g2", "ans1", "ans2", "ans"], "functions": {}, "variable_groups": [{"variables": ["advice1", "advice2", "ad1"], "name": "Unnamed group"}], "advice": "

You may find the following table useful:

\n

\n

If the units are getting bigger, you need to divide by 1000 for every step up you take.

\n

If the units are getting smaller, you need to multiply by 1000 for every step down you take.

\n

In this question, we have $\\var{b}${c} to convert into {d}.

\n

Since {c} is {advice2} than {d}, we need to {advice1} (see the number of steps in the table above).

\n

Therefore, $\\var{b}${advice1}$ = \\var{ans}$

\n

Remember - to divide by $1000$, move the decimal point three spaces to the left (as there are $3$ zeroes in $1000$)

\n

To multiply by $1000$, move the decimal point three spaces to the right

", "rulesets": {}}, {"name": "Nursing Question 4", "extensions": [], "custom_part_types": [], "resources": [["question-resources/conversions.png", "/srv/numbas/media/question-resources/conversions.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"customMarkingAlgorithm": "", "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Convert the following units:

\n

 $\\var{b}${c} into {d}                   [[0]]{d}            

", "marks": 0, "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"customMarkingAlgorithm": "", "correctAnswerFraction": false, "showFeedbackIcon": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "marks": "1", "variableReplacementStrategy": "originalfirst", "unitTests": [], "allowFractions": false, "showFractionHint": true, "useCustomName": false, "scripts": {}, "mustBeReduced": false, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "maxValue": "{ans}", "minValue": "{ans}", "type": "numberentry", "customName": "", "notationStyles": ["plain", "en", "si-en"]}], "useCustomName": false, "scripts": {}, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "customName": ""}], "metadata": {"description": "

Conversions of units

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"ans2": {"name": "ans2", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(h1,b/1000,if(h2,b/1000000,if(h3,b*1000,b*1000000)))", "description": ""}, "advice1": {"name": "advice1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,\n if(g1,\"x1000\",\n if(g2,\"x1000\",\"\u00f71000 and \u00f71000 again\")),\n if(h1,\"\u00f71000\",\n if(h2,\"\u00f71000 and \u00f71000 again\",\n if(h3, \"x1000\", \"x1000 and x1000 again\"))))", "description": ""}, "a5": {"name": "a5", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/1000", "description": ""}, "a4": {"name": "a4", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/100", "description": ""}, "a2": {"name": "a2", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/20", "description": ""}, "d3": {"name": "d3", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<3", "description": ""}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,g,if(c2,\"mcg\",if(c3,\"mg\",\"g\")))", "description": ""}, "a3": {"name": "a3", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/50", "description": ""}, "d1": {"name": "d1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "h1": {"name": "h1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1+1 = d1", "description": ""}, "c1": {"name": "c1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "c2": {"name": "c2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<2", "description": ""}, "g": {"name": "g", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,\"mg\",if(g1,\"g\",\"mcg\"))", "description": ""}, "c3": {"name": "c3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<3", "description": ""}, "d2": {"name": "d2", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<2", "description": ""}, "ad1": {"name": "ad1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,f>d1,c1>d1)", "description": ""}, "h4": {"name": "h4", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-2 = d1", "description": ""}, "h2": {"name": "h2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 + 2 = d1", "description": ""}, "ans": {"name": "ans", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,ans1,ans2)", "description": ""}, "f1": {"name": "f1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 = d1", "description": ""}, "h3": {"name": "h3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-1=d1", "description": ""}, "advice2": {"name": "advice2", "group": "Unnamed group", "templateType": "anything", "definition": "if(ad1, \"bigger\", \"smaller\")", "description": ""}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(a1,a2,a3,a4,a5)", "description": ""}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..100)", "description": ""}, "f": {"name": "f", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,c1+1,c1)", "description": ""}, "g2": {"name": "g2", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<3", "description": ""}, "a1": {"name": "a1", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/10", "description": ""}, "g1": {"name": "g1", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<4", "description": ""}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,b*1000,if(g1,b*1000,b/1000000))", "description": ""}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d2,\"mcg\",if(d3,\"mg\",\"g\"))", "description": ""}}, "statement": "", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "a1", "a2", "a3", "a4", "a5", "b", "c", "c1", "c2", "c3", "d1", "d2", "d3", "d", "f1", "f", "g1", "g", "h1", "h2", "h3", "h4", "g2", "ans1", "ans2", "ans"], "functions": {}, "variable_groups": [{"variables": ["advice1", "advice2", "ad1"], "name": "Unnamed group"}], "advice": "

You may find the following table useful:

\n

\n

If the units are getting bigger, you need to divide by 1000 for every step up you take.

\n

If the units are getting smaller, you need to multiply by 1000 for every step down you take.

\n

In this question, we have $\\var{b}${c} to convert into {d}.

\n

Since {c} is {advice2} than {d}, we need to {advice1} (see the number of steps in the table above).

\n

Therefore, $\\var{b}${advice1}$ = \\var{ans}$

\n

Remember - to divide by $1000$, move the decimal point three spaces to the left (as there are $3$ zeroes in $1000$)

\n

To multiply by $1000$, move the decimal point three spaces to the right

", "rulesets": {}}, {"name": "Nursing Question 4", "extensions": [], "custom_part_types": [], "resources": [["question-resources/conversions.png", "/srv/numbas/media/question-resources/conversions.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"customMarkingAlgorithm": "", "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Convert the following units:

\n

 $\\var{b}${c} into {d}                   [[0]]{d}            

", "marks": 0, "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"customMarkingAlgorithm": "", "correctAnswerFraction": false, "showFeedbackIcon": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "marks": "1", "variableReplacementStrategy": "originalfirst", "unitTests": [], "allowFractions": false, "showFractionHint": true, "useCustomName": false, "scripts": {}, "mustBeReduced": false, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "maxValue": "{ans}", "minValue": "{ans}", "type": "numberentry", "customName": "", "notationStyles": ["plain", "en", "si-en"]}], "useCustomName": false, "scripts": {}, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "customName": ""}], "metadata": {"description": "

Conversions of units

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"ans2": {"name": "ans2", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(h1,b/1000,if(h2,b/1000000,if(h3,b*1000,b*1000000)))", "description": ""}, "advice1": {"name": "advice1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,\n if(g1,\"x1000\",\n if(g2,\"x1000\",\"\u00f71000 and \u00f71000 again\")),\n if(h1,\"\u00f71000\",\n if(h2,\"\u00f71000 and \u00f71000 again\",\n if(h3, \"x1000\", \"x1000 and x1000 again\"))))", "description": ""}, "a5": {"name": "a5", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/1000", "description": ""}, "a4": {"name": "a4", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/100", "description": ""}, "a2": {"name": "a2", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/20", "description": ""}, "d3": {"name": "d3", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<3", "description": ""}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,g,if(c2,\"mcg\",if(c3,\"mg\",\"g\")))", "description": ""}, "a3": {"name": "a3", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/50", "description": ""}, "d1": {"name": "d1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "h1": {"name": "h1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1+1 = d1", "description": ""}, "c1": {"name": "c1", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3)", "description": ""}, "c2": {"name": "c2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<2", "description": ""}, "g": {"name": "g", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,\"mg\",if(g1,\"g\",\"mcg\"))", "description": ""}, "c3": {"name": "c3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1<3", "description": ""}, "d2": {"name": "d2", "group": "Ungrouped variables", "templateType": "anything", "definition": "d1<2", "description": ""}, "ad1": {"name": "ad1", "group": "Unnamed group", "templateType": "anything", "definition": "if(f1,f>d1,c1>d1)", "description": ""}, "h4": {"name": "h4", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-2 = d1", "description": ""}, "h2": {"name": "h2", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 + 2 = d1", "description": ""}, "ans": {"name": "ans", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,ans1,ans2)", "description": ""}, "f1": {"name": "f1", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1 = d1", "description": ""}, "h3": {"name": "h3", "group": "Ungrouped variables", "templateType": "anything", "definition": "c1-1=d1", "description": ""}, "advice2": {"name": "advice2", "group": "Unnamed group", "templateType": "anything", "definition": "if(ad1, \"bigger\", \"smaller\")", "description": ""}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(a1,a2,a3,a4,a5)", "description": ""}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..100)", "description": ""}, "f": {"name": "f", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(f1,c1+1,c1)", "description": ""}, "g2": {"name": "g2", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<3", "description": ""}, "a1": {"name": "a1", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/10", "description": ""}, "g1": {"name": "g1", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<4", "description": ""}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g2,b*1000,if(g1,b*1000,b/1000000))", "description": ""}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d2,\"mcg\",if(d3,\"mg\",\"g\"))", "description": ""}}, "statement": "", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "a1", "a2", "a3", "a4", "a5", "b", "c", "c1", "c2", "c3", "d1", "d2", "d3", "d", "f1", "f", "g1", "g", "h1", "h2", "h3", "h4", "g2", "ans1", "ans2", "ans"], "functions": {}, "variable_groups": [{"variables": ["advice1", "advice2", "ad1"], "name": "Unnamed group"}], "advice": "

You may find the following table useful:

\n

\n

If the units are getting bigger, you need to divide by 1000 for every step up you take.

\n

If the units are getting smaller, you need to multiply by 1000 for every step down you take.

\n

In this question, we have $\\var{b}${c} to convert into {d}.

\n

Since {c} is {advice2} than {d}, we need to {advice1} (see the number of steps in the table above).

\n

Therefore, $\\var{b}${advice1}$ = \\var{ans}$

\n

Remember - to divide by $1000$, move the decimal point three spaces to the left (as there are $3$ zeroes in $1000$)

\n

To multiply by $1000$, move the decimal point three spaces to the right

", "rulesets": {}}, {"name": "Drug Calculations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "advice": "

Solution

\n

In order to calculate the amount of drug in ml, you need to use the following formula:

\n

$\\dfrac{\\text{Prescribed dose}}{\\text{Stock Strength}}$ $\\times$ Stock dose.

\n

In this question: Prescribed dose is $\\var{a}$mg, Stock Strength is $\\var{b}$mg and Stock dose is 1ml.

\n

Using the formula: $\\dfrac{\\var{a}}{\\var{b}}$ $\\times$ $1$ = $\\var{c}$ml.

\n

Alternative Solution

\n

You are told that the stock strength of the drug is $\\var{b}$mg in $1$ml.

\n

So for every $\\var{b}$mg of the drug we need, we need to give the patient $1$ml.

\n

This means $\\var{b}$mg = 1ml.

\n

We need $\\var{a}$mg.

\n

In order to get $\\var{a}$mg, we divde $\\var{b}$mg by $\\var{d}$.

\n

Because $\\var{b}$mg = $1$ml and we have divided $\\var{b}$mg by $\\var{d}$ to get $\\var{a}$mg, we must divide the right hand side of the equals sign by $\\var{d}$ also.

\n

So, we have $\\dfrac{\\var{b}}{\\var{d}}$ = $\\dfrac{1}{\\var{d}}$.

\n

                  $\\var{a}$ = $\\var{c}$ml.

\n

Therefore we must need to give the patient $\\var{c}$ml.

", "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "

Question on drug calculations

", "licence": "Creative Commons Attribution 4.0 International"}, "functions": {}, "parts": [{"variableReplacements": [], "showCorrectAnswer": true, "useCustomName": false, "type": "gapfill", "marks": 0, "sortAnswers": false, "scripts": {}, "unitTests": [], "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "customName": "", "gaps": [{"variableReplacements": [], "showCorrectAnswer": true, "mustBeReducedPC": 0, "maxValue": "c", "useCustomName": false, "showFractionHint": true, "type": "numberentry", "allowFractions": false, "marks": "1", "mustBeReduced": false, "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "correctAnswerStyle": "plain", "customName": "", "minValue": "c", "customMarkingAlgorithm": ""}], "customMarkingAlgorithm": "", "prompt": "

Your patient has been prescribed $\\var{a}$ mg of a drug as an injection. The stock strength given is $\\var{b}$mg in $1$ml. How many ml do you give to the patient? Give your answer to 3 decimal places where necessary.

\n

[[0]] ml

"}], "variable_groups": [], "rulesets": {}, "variables": {"d": {"description": "", "group": "Ungrouped variables", "name": "d", "templateType": "anything", "definition": "precround(b/a,3)"}, "c": {"description": "", "group": "Ungrouped variables", "name": "c", "templateType": "anything", "definition": "precround(a/b,3)"}, "a": {"description": "", "group": "Ungrouped variables", "name": "a", "templateType": "anything", "definition": "random(1,5)"}, "b": {"description": "", "group": "Ungrouped variables", "name": "b", "templateType": "anything", "definition": "random(5,10,15)"}}, "tags": [], "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["a", "b", "c", "d"], "statement": ""}, {"name": "Drug Calculations 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "metadata": {"description": "

Question on drug calculations

", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "parts": [{"correctAnswerStyle": "plain", "showFeedbackIcon": true, "marks": "2", "scripts": {}, "prompt": "

Your patient has been prescribed $\\var{a}$ mg of a drug as an injection. The stock strength given is $\\var{b}$mg in $1$ml. How many ml do you give to the patient? Give your answer to 3 decimal places where necessary.

\n

", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "correctAnswerFraction": false, "minValue": "c", "steps": [{"variableReplacements": [], "scripts": {}, "prompt": "

Hint:

\n

In order to calculate the amount of drug in ml, you need to use the following formula:

\n

$\\dfrac{\\text{Prescribed dose}}{\\text{Stock Strength}}$ $\\times$ Stock dose.

\n

\n

", "type": "information", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "marks": 0}], "type": "numberentry", "stepsPenalty": "1", "maxValue": "c", "variableReplacementStrategy": "originalfirst", "variableReplacements": []}], "functions": {}, "advice": "

Solution

\n

In order to calculate the amount of drug in ml, you need to use the following formula:

\n

$\\dfrac{\\text{Prescribed dose}}{\\text{Stock Strength}}$ $\\times$ Stock dose.

\n

In this question: Prescribed dose is $\\var{a}$mg, Stock Strength is $\\var{b}$mg and Stock dose is 1ml.

\n

Using the formula: $\\dfrac{\\var{a}}{\\var{b}}$ $\\times$ $1$ = $\\var{c}$ml.

\n

Alternative Solution

\n

You are told that the stock strength of the drug is $\\var{b}$mg in $1$ml.

\n

So for every $\\var{b}$mg of the drug we need, we need to give the patient $1$ml.

\n

This means $\\var{b}$mg = 1ml.

\n

We need $\\var{a}$mg.

\n

In order to get $\\var{a}$mg, we divde $\\var{b}$mg by $\\var{d}$.

\n

Because $\\var{b}$mg = $1$ml and we have divided $\\var{b}$mg by $\\var{d}$ to get $\\var{a}$mg, we must divide the right hand side of the equals sign by $\\var{d}$ also.

\n

So, we have $\\dfrac{\\var{b}}{\\var{d}}$ = $\\dfrac{1}{\\var{d}}$.

\n

                  $\\var{a}$ = $\\var{c}$ml.

\n

Therefore we must need to give the patient $\\var{c}$ml.

", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "b", "c", "d"], "statement": "

Drug Calculations

", "rulesets": {}, "variables": {"d": {"description": "", "templateType": "anything", "name": "d", "definition": "precround(b/a,3)", "group": "Ungrouped variables"}, "a": {"description": "", "templateType": "anything", "name": "a", "definition": "random(1,5)", "group": "Ungrouped variables"}, "b": {"description": "", "templateType": "anything", "name": "b", "definition": "random(5,10,15)", "group": "Ungrouped variables"}, "c": {"description": "", "templateType": "anything", "name": "c", "definition": "precround(a/b,3)", "group": "Ungrouped variables"}}, "type": "question"}, {"name": "Nursing Question 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "variables": {"g": {"name": "g", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "ceil((z)/c)"}, "wrong3": {"name": "wrong3", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(m='ml','tablets',\n if(m='ampoule','ml',\n if(m='mcl','ampoules',\n 'mcl')))"}, "z": {"name": "z", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "f/10"}, "h": {"name": "h", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "'ml'"}, "f": {"name": "f", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "a*b"}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random('single', 'daily')"}, "ans": {"name": "ans", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(d='daily', ceil((a*b)/10), ceil(((a*b)/10)/c))"}, "j": {"name": "j", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "'ampoule'"}, "wrong2": {"name": "wrong2", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(m='ml','mcl',\n if(m='ampoule','tablets',\n if(m='mcl','ml',\n 'ampoules')))"}, "units": {"name": "units", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(m='ml','ml',\n if(m='ampoule','ampoules',\n if(m='mcl','mcl',\n 'tablets')))"}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2,5,10)"}, "y": {"name": "y", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "z/c"}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(40,60,80,100)"}, "l": {"name": "l", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "'tablet'"}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(2,4,5,10)"}, "m": {"name": "m", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(h,j,k,l)"}, "k": {"name": "k", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "'mcl'\n"}, "wrong1": {"name": "wrong1", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "if(m='ml','ampoules',\n if(m='ampoule','mcl',\n if(m='mcl','tablets',\n 'ml')))"}}, "tags": [], "variable_groups": [], "advice": "

In order to calculate the amount of drug you need, we can use the following method:

\n

Amount of Drug $\\times$ Weight. -> $\\var{b}$mg$\\times \\var{a} = \\var{f}$mg

\n

As the dose comes in $10$mg per {m}, we need to divide $\\var{f}$ by $10$ to get $\\var{z}${units}.

\n

If the question then asks you for the single dose, you need to divide your answer by the number of doses given to the patient. -> $\\dfrac{\\var{z}}{\\var{c}} = \\var{y} = \\var{g}${units} (rounded up to the nearest whole number).

\n

Remember that you won't usually give the patient a decimal amount of drug so you may need to round your answer up to the nearest whole number.

\n

Also remember that the units given to the patient are always the units that the weight of drug comes in, which is always either ml, mcl, ampoules, or tablets.

", "parts": [{"sortAnswers": false, "useCustomName": false, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "scripts": {}, "customName": "", "gaps": [{"useCustomName": false, "minValue": "{ans}", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "scripts": {}, "customName": "", "correctAnswerFraction": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "unitTests": [], "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "type": "numberentry", "marks": "1", "mustBeReduced": false, "maxValue": "{ans}", "allowFractions": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": []}, {"choices": ["{units}", "{wrong1}", "{wrong2}", "{wrong3}"], "minMarks": 0, "useCustomName": false, "shuffleChoices": false, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "scripts": {}, "customName": "", "distractors": ["", "", "", ""], "displayColumns": 0, "displayType": "dropdownlist", "unitTests": [], "maxMarks": 0, "matrix": ["1", 0, 0, 0], "customMarkingAlgorithm": "", "type": "1_n_2", "marks": 0, "showCellAnswerState": true, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": []}], "unitTests": [], "customMarkingAlgorithm": "", "type": "gapfill", "marks": 0, "prompt": "

A patient, whose weight is $\\var{a}$kg, has been prescribed Drug X, $\\var{b}$mg/kg/day in $\\var{c}$ divided dose(s). The dose comes in $10$mg per {m}. Calculate the {d} dose given to the patient and the units that it is given in from the choices in the drop down list below.

\n

Give your answer to the nearest whole number.

\n

[[0]][[1]]

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": []}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Drug Calculation based on weight

"}, "rulesets": {}, "ungrouped_variables": ["a", "b", "c", "d", "ans", "f", "g", "h", "j", "k", "l", "m", "units", "wrong1", "wrong2", "wrong3", "z", "y"], "preamble": {"js": "", "css": ""}, "statement": ""}, {"name": "Nursing Question 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "statement": "

Drug Calculations 3

", "parts": [{"correctAnswerFraction": false, "allowFractions": false, "marks": "2", "correctAnswerStyle": "plain", "prompt": "

A patient who is $\\var{a}$ years old and weighs $\\var{b}$ kg has been prescribed $\\var{d}${j} per kilogram body weight of elixir X. The elixir is available as $50${k} per ml. How many {k} does the patient require per single dose?

", "minValue": "{ans}", "showFeedbackIcon": true, "maxValue": "{ans}", "variableReplacementStrategy": "originalfirst", "stepsPenalty": 0, "steps": [{"variableReplacementStrategy": "originalfirst", "marks": 0, "prompt": "

In order to calculate the amount of drug, you need to use the following formula:

\n

Prescribed amount $\\times$ Weight.

\n

If the question then asks you for a dose that is in different units to what the prescribed amount is, you need to adjust accordingly by either multiplying or dividing by $1000$

", "scripts": {}, "variableReplacements": [], "showFeedbackIcon": true, "type": "information", "showCorrectAnswer": true}], "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "scripts": {}, "variableReplacements": [], "showCorrectAnswer": true}], "advice": "

In order to calculate the amount of drug, you need to use the following formula:

\n

Prescribed amount $\\times$ Weight.

\n

If the question then asks you for a dose that is in different units to what the prescribed amount is, you need to adjust accordingly by either multiplying or dividing by $1000$. 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n

Dose →

\n

Prescribed ↓

\n
mgmcg
mg x1x1000
mcg÷1000 x1
", "rulesets": {}, "variables": {"ans": {"description": "", "name": "ans", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(l,b*d,m)"}, "d": {"description": "", "name": "d", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,5,10)"}, "c": {"description": "", "name": "c", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2)"}, "k": {"description": "", "name": "k", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(h,\"mcg\",\"mg\")"}, "f": {"description": "", "name": "f", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2)"}, "h": {"description": "", "name": "h", "group": "Ungrouped variables", "templateType": "anything", "definition": "f<2"}, "a": {"description": "", "name": "a", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1,2,3,4,5,10,15)"}, "l": {"description": "", "name": "l", "group": "Ungrouped variables", "templateType": "anything", "definition": "g = h"}, "m": {"description": "", "name": "m", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g,(b*d)/1000,b*d*1000)"}, "b": {"description": "", "name": "b", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(10,15,20,25,30)"}, "g": {"description": "", "name": "g", "group": "Ungrouped variables", "templateType": "anything", "definition": "c<2"}, "j": {"description": "", "name": "j", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(g,\"mcg\",\"mg\")"}}, "preamble": {"js": "", "css": ""}, "variable_groups": [], "ungrouped_variables": ["a", "ans", "b", "d", "c", "f", "g", "h", "j", "k", "l", "m"], "tags": [], "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "

Drug Calculations

", "licence": "Creative Commons Attribution 4.0 International"}, "functions": {}, "type": "question"}, {"name": "Nursing Question 5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "parts": [{"gaps": [{"correctAnswerStyle": "plain", "marks": "2", "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "minValue": "{ans}", "type": "numberentry", "showFeedbackIcon": false, "maxValue": "{ans}", "correctAnswerFraction": false, "showCorrectAnswer": true}], "stepsPenalty": 0, "marks": 0, "variableReplacements": [], "prompt": "

Your patient's date of birth is $\\var{a1}^{\\text{th}}$ {b1} $\\var{c}$. What is their age on the $\\var{a2}^{\\text{th}}$ {b2} $\\var{d}$?

\n

[[0]] years old

", "steps": [{"marks": 0, "variableReplacements": [], "prompt": "

You need to take into account the following information:

\n", "type": "information", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "type": "gapfill", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "variables": {"a1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(4..20)", "name": "a1"}, "c": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "1900+c1", "name": "c"}, "b011": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 11", "name": "b011"}, "b1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(b11,\"January\",\n if(b12,\"February\",\n if(b13, \"March\",\n if(b14, \"April\",\n if(b15, \"May\",\n if(b16, \"June\",\n if(b17,\"July\",\n if(b18,\"August\",\n if(b19,\"September\",\n if(b110,\"October\",\n if(b111,\"November\",\"December\")))))))))))", "name": "b1"}, "b16": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 6", "name": "b16"}, "d1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0>b00", "name": "d1"}, "b2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(b01,\"January\",\n if(b02,\"February\",\n if(b03, \"March\",\n if(b04, \"April\",\n if(b05, \"May\",\n if(b06, \"June\",\n if(b07,\"July\",\n if(b08,\"August\",\n if(b09,\"September\",\n if(b010,\"October\",\n if(b011,\"November\",\"December\")))))))))))", "name": "b2"}, "c2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(17,18)", "name": "c2"}, "b13": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 3", "name": "b13"}, "b00": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "b00"}, "c1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(50..99)", "name": "c1"}, "b06": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 6", "name": "b06"}, "b11": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 1", "name": "b11"}, "d4": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "a1>a2", "name": "d4"}, "ans": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d1,(c2+2000)-(1900+c1)-1,\n if(d2,(c2+2000)-(1900+c1),\n if(d3,\n if(d4,(c2+2000)-(1900+c1)-1,(c2+2000)-(1900+c1)),\"Error\")))", "name": "ans"}, "b12": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 2", "name": "b12"}, "b19": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 9", "name": "b19"}, "d": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "2000+c2", "name": "d"}, "b15": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 5", "name": "b15"}, "a2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(4..20)", "name": "a2"}, "b07": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 7", "name": "b07"}, "b08": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 8", "name": "b08"}, "b14": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 4", "name": "b14"}, "b17": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 7", "name": "b17"}, "b110": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 10", "name": "b110"}, "b09": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 9", "name": "b09"}, "b01": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 1", "name": "b01"}, "d3": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0=b00", "name": "d3"}, "b111": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 11", "name": "b111"}, "b0": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "b0"}, "b04": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 4", "name": "b04"}, "b18": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 8", "name": "b18"}, "b010": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 10", "name": "b010"}, "d2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0You need to take into account the following information:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Month of birth comes BEFORE month givenMonth of birth comes AFTER month givenMonths are the SAME
Day of birth comes BEFORE day givenYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth
Day of birth comes AFTER day givenYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth - 1
Days are the SAMEYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth
\n

Example: Date given in the question is 17th February 2018

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Year of Birth: 1989JanuaryMarchFebruary
16th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 = 29 Years Old
18th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 - 1 = 28 Years Old
17th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 = 29 Years Old (Happy Birthday!)
", "variable_groups": [], "ungrouped_variables": ["a1", "a2", "b0", "b00", "b11", "b12", "b13", "b14", "b15", "b16", "b17", "b18", "b19", "b110", "b111", "b01", "b02", "b03", "b04", "b05", "b06", "b07", "b08", "b09", "b010", "b011", "b1", "b2", "c1", "c2", "d1", "d2", "d3", "d4", "ans", "c", "d"], "metadata": {"description": "

Calculating ages based on dates

", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {}, "statement": "

Age

", "type": "question"}, {"name": "Nursing Question 5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "parts": [{"gaps": [{"correctAnswerStyle": "plain", "marks": "2", "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "minValue": "{ans}", "type": "numberentry", "showFeedbackIcon": false, "maxValue": "{ans}", "correctAnswerFraction": false, "showCorrectAnswer": true}], "stepsPenalty": 0, "marks": 0, "variableReplacements": [], "prompt": "

Your patient's date of birth is $\\var{a1}^{\\text{th}}$ {b1} $\\var{c}$. What is their age on the $\\var{a2}^{\\text{th}}$ {b2} $\\var{d}$?

\n

[[0]] years old

", "steps": [{"marks": 0, "variableReplacements": [], "prompt": "

You need to take into account the following information:

\n", "type": "information", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "type": "gapfill", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "variables": {"a1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(4..20)", "name": "a1"}, "c": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "1900+c1", "name": "c"}, "b011": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 11", "name": "b011"}, "b1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(b11,\"January\",\n if(b12,\"February\",\n if(b13, \"March\",\n if(b14, \"April\",\n if(b15, \"May\",\n if(b16, \"June\",\n if(b17,\"July\",\n if(b18,\"August\",\n if(b19,\"September\",\n if(b110,\"October\",\n if(b111,\"November\",\"December\")))))))))))", "name": "b1"}, "b16": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 6", "name": "b16"}, "d1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0>b00", "name": "d1"}, "b2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(b01,\"January\",\n if(b02,\"February\",\n if(b03, \"March\",\n if(b04, \"April\",\n if(b05, \"May\",\n if(b06, \"June\",\n if(b07,\"July\",\n if(b08,\"August\",\n if(b09,\"September\",\n if(b010,\"October\",\n if(b011,\"November\",\"December\")))))))))))", "name": "b2"}, "c2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(17,18)", "name": "c2"}, "b13": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 3", "name": "b13"}, "b00": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "b00"}, "c1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(50..99)", "name": "c1"}, "b06": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 6", "name": "b06"}, "b11": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 1", "name": "b11"}, "d4": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "a1>a2", "name": "d4"}, "ans": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d1,(c2+2000)-(1900+c1)-1,\n if(d2,(c2+2000)-(1900+c1),\n if(d3,\n if(d4,(c2+2000)-(1900+c1)-1,(c2+2000)-(1900+c1)),\"Error\")))", "name": "ans"}, "b12": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 2", "name": "b12"}, "b19": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 9", "name": "b19"}, "d": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "2000+c2", "name": "d"}, "b15": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 5", "name": "b15"}, "a2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(4..20)", "name": "a2"}, "b07": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 7", "name": "b07"}, "b08": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 8", "name": "b08"}, "b14": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 4", "name": "b14"}, "b17": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 7", "name": "b17"}, "b110": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 10", "name": "b110"}, "b09": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 9", "name": "b09"}, "b01": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 1", "name": "b01"}, "d3": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0=b00", "name": "d3"}, "b111": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 11", "name": "b111"}, "b0": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "b0"}, "b04": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 4", "name": "b04"}, "b18": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 8", "name": "b18"}, "b010": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 10", "name": "b010"}, "d2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0You need to take into account the following information:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Month of birth comes BEFORE month givenMonth of birth comes AFTER month givenMonths are the SAME
Day of birth comes BEFORE day givenYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth
Day of birth comes AFTER day givenYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth - 1
Days are the SAMEYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth
\n

Example: Date given in the question is 17th February 2018

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Year of Birth: 1989JanuaryMarchFebruary
16th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 = 29 Years Old
18th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 - 1 = 28 Years Old
17th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 = 29 Years Old (Happy Birthday!)
", "variable_groups": [], "ungrouped_variables": ["a1", "a2", "b0", "b00", "b11", "b12", "b13", "b14", "b15", "b16", "b17", "b18", "b19", "b110", "b111", "b01", "b02", "b03", "b04", "b05", "b06", "b07", "b08", "b09", "b010", "b011", "b1", "b2", "c1", "c2", "d1", "d2", "d3", "d4", "ans", "c", "d"], "metadata": {"description": "

Calculating ages based on dates

", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {}, "statement": "

Age

", "type": "question"}, {"name": "Nursing Question 5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "parts": [{"gaps": [{"correctAnswerStyle": "plain", "marks": "2", "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "minValue": "{ans}", "type": "numberentry", "showFeedbackIcon": false, "maxValue": "{ans}", "correctAnswerFraction": false, "showCorrectAnswer": true}], "stepsPenalty": 0, "marks": 0, "variableReplacements": [], "prompt": "

Your patient's date of birth is $\\var{a1}^{\\text{th}}$ {b1} $\\var{c}$. What is their age on the $\\var{a2}^{\\text{th}}$ {b2} $\\var{d}$?

\n

[[0]] years old

", "steps": [{"marks": 0, "variableReplacements": [], "prompt": "

You need to take into account the following information:

\n", "type": "information", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "type": "gapfill", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "variables": {"a1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(4..20)", "name": "a1"}, "c": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "1900+c1", "name": "c"}, "b011": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 11", "name": "b011"}, "b1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(b11,\"January\",\n if(b12,\"February\",\n if(b13, \"March\",\n if(b14, \"April\",\n if(b15, \"May\",\n if(b16, \"June\",\n if(b17,\"July\",\n if(b18,\"August\",\n if(b19,\"September\",\n if(b110,\"October\",\n if(b111,\"November\",\"December\")))))))))))", "name": "b1"}, "b16": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 6", "name": "b16"}, "d1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0>b00", "name": "d1"}, "b2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(b01,\"January\",\n if(b02,\"February\",\n if(b03, \"March\",\n if(b04, \"April\",\n if(b05, \"May\",\n if(b06, \"June\",\n if(b07,\"July\",\n if(b08,\"August\",\n if(b09,\"September\",\n if(b010,\"October\",\n if(b011,\"November\",\"December\")))))))))))", "name": "b2"}, "c2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(17,18)", "name": "c2"}, "b13": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 3", "name": "b13"}, "b00": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "b00"}, "c1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(50..99)", "name": "c1"}, "b06": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 6", "name": "b06"}, "b11": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 1", "name": "b11"}, "d4": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "a1>a2", "name": "d4"}, "ans": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d1,(c2+2000)-(1900+c1)-1,\n if(d2,(c2+2000)-(1900+c1),\n if(d3,\n if(d4,(c2+2000)-(1900+c1)-1,(c2+2000)-(1900+c1)),\"Error\")))", "name": "ans"}, "b12": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 2", "name": "b12"}, "b19": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 9", "name": "b19"}, "d": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "2000+c2", "name": "d"}, "b15": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 5", "name": "b15"}, "a2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(4..20)", "name": "a2"}, "b07": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 7", "name": "b07"}, "b08": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 8", "name": "b08"}, "b14": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 4", "name": "b14"}, "b17": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 7", "name": "b17"}, "b110": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 10", "name": "b110"}, "b09": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 9", "name": "b09"}, "b01": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 1", "name": "b01"}, "d3": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0=b00", "name": "d3"}, "b111": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 11", "name": "b111"}, "b0": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "b0"}, "b04": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 4", "name": "b04"}, "b18": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 8", "name": "b18"}, "b010": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 10", "name": "b010"}, "d2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0You need to take into account the following information:

\n
    \n
  • Does the month of birth come before the month given or after the month given or are they the same?  
  • \n
  • Does the day of birth come before the day given or after the day given or are they the same?
  • \n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Month of birth comes BEFORE month givenMonth of birth comes AFTER month givenMonths are the SAME
Day of birth comes BEFORE day givenYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth
Day of birth comes AFTER day givenYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth - 1
Days are the SAMEYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth
\n

Example: Date given in the question is 17th February 2018

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Year of Birth: 1989JanuaryMarchFebruary
16th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 = 29 Years Old
18th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 - 1 = 28 Years Old
17th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 = 29 Years Old (Happy Birthday!)
", "variable_groups": [], "ungrouped_variables": ["a1", "a2", "b0", "b00", "b11", "b12", "b13", "b14", "b15", "b16", "b17", "b18", "b19", "b110", "b111", "b01", "b02", "b03", "b04", "b05", "b06", "b07", "b08", "b09", "b010", "b011", "b1", "b2", "c1", "c2", "d1", "d2", "d3", "d4", "ans", "c", "d"], "metadata": {"description": "

Calculating ages based on dates

", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {}, "statement": "

Age

", "type": "question"}, {"name": "Nursing Question 5", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "parts": [{"gaps": [{"correctAnswerStyle": "plain", "marks": "2", "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "minValue": "{ans}", "type": "numberentry", "showFeedbackIcon": false, "maxValue": "{ans}", "correctAnswerFraction": false, "showCorrectAnswer": true}], "stepsPenalty": 0, "marks": 0, "variableReplacements": [], "prompt": "

Your patient's date of birth is $\\var{a1}^{\\text{th}}$ {b1} $\\var{c}$. What is their age on the $\\var{a2}^{\\text{th}}$ {b2} $\\var{d}$?

\n

[[0]] years old

", "steps": [{"marks": 0, "variableReplacements": [], "prompt": "

You need to take into account the following information:

\n
    \n
  • Does the month of birth come before the month given or after the month given or are they the same?  
  • \n
  • Does the day of birth come before the day given or after the day given or are they the same?
  • \n
", "type": "information", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "type": "gapfill", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "scripts": {}}], "variables": {"a1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(4..20)", "name": "a1"}, "c": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "1900+c1", "name": "c"}, "b011": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 11", "name": "b011"}, "b1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(b11,\"January\",\n if(b12,\"February\",\n if(b13, \"March\",\n if(b14, \"April\",\n if(b15, \"May\",\n if(b16, \"June\",\n if(b17,\"July\",\n if(b18,\"August\",\n if(b19,\"September\",\n if(b110,\"October\",\n if(b111,\"November\",\"December\")))))))))))", "name": "b1"}, "b16": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 6", "name": "b16"}, "d1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0>b00", "name": "d1"}, "b2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(b01,\"January\",\n if(b02,\"February\",\n if(b03, \"March\",\n if(b04, \"April\",\n if(b05, \"May\",\n if(b06, \"June\",\n if(b07,\"July\",\n if(b08,\"August\",\n if(b09,\"September\",\n if(b010,\"October\",\n if(b011,\"November\",\"December\")))))))))))", "name": "b2"}, "c2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(17,18)", "name": "c2"}, "b13": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 3", "name": "b13"}, "b00": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "b00"}, "c1": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(50..99)", "name": "c1"}, "b06": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 6", "name": "b06"}, "b11": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 1", "name": "b11"}, "d4": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "a1>a2", "name": "d4"}, "ans": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "if(d1,(c2+2000)-(1900+c1)-1,\n if(d2,(c2+2000)-(1900+c1),\n if(d3,\n if(d4,(c2+2000)-(1900+c1)-1,(c2+2000)-(1900+c1)),\"Error\")))", "name": "ans"}, "b12": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 2", "name": "b12"}, "b19": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 9", "name": "b19"}, "d": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "2000+c2", "name": "d"}, "b15": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 5", "name": "b15"}, "a2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(4..20)", "name": "a2"}, "b07": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 7", "name": "b07"}, "b08": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 8", "name": "b08"}, "b14": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 4", "name": "b14"}, "b17": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 7", "name": "b17"}, "b110": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 10", "name": "b110"}, "b09": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 9", "name": "b09"}, "b01": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 1", "name": "b01"}, "d3": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0=b00", "name": "d3"}, "b111": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 11", "name": "b111"}, "b0": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..12)", "name": "b0"}, "b04": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 4", "name": "b04"}, "b18": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0 = 8", "name": "b18"}, "b010": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b00 = 10", "name": "b010"}, "d2": {"description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b0You need to take into account the following information:

\n
    \n
  • Does the month of birth come before the month given or after the month given or are they the same?  
  • \n
  • Does the day of birth come before the day given or after the day given or are they the same?
  • \n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Month of birth comes BEFORE month givenMonth of birth comes AFTER month givenMonths are the SAME
Day of birth comes BEFORE day givenYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth
Day of birth comes AFTER day givenYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth - 1
Days are the SAMEYear given - Year of BirthYear given - Year of Birth - 1Year given - Year of Birth
\n

Example: Date given in the question is 17th February 2018

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Year of Birth: 1989JanuaryMarchFebruary
16th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 = 29 Years Old
18th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 - 1 = 28 Years Old
17th2018 - 1989 = 29 Years Old2018 - 1989 - 1 = 28 Years Old2018 - 1989 = 29 Years Old (Happy Birthday!)
", "variable_groups": [], "ungrouped_variables": ["a1", "a2", "b0", "b00", "b11", "b12", "b13", "b14", "b15", "b16", "b17", "b18", "b19", "b110", "b111", "b01", "b02", "b03", "b04", "b05", "b06", "b07", "b08", "b09", "b010", "b011", "b1", "b2", "c1", "c2", "d1", "d2", "d3", "d4", "ans", "c", "d"], "metadata": {"description": "

Calculating ages based on dates

", "licence": "Creative Commons Attribution 4.0 International"}, "rulesets": {}, "statement": "

Age

", "type": "question"}, {"name": "Nursing Question 6", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "metadata": {"description": "

Dosage questions using percentages

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"b2": {"name": "b2", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "100 - b"}, "ans": {"name": "ans", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "a-(a*b*0.01)"}, "b": {"name": "b", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(5..95#1)"}, "d": {"name": "d", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b2/100"}, "b1": {"name": "b1", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b/100"}, "ans1": {"name": "ans1", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "ans*0.001"}, "c": {"name": "c", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b1*a"}, "a": {"name": "a", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(0..950#5)"}}, "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "functions": {}, "parts": [{"variableReplacementStrategy": "originalfirst", "steps": [{"variableReplacementStrategy": "originalfirst", "prompt": "

Method 1

\n

Convert the Percentage into a decimal by dividing by 100.

\n

Multiply your answer by the original drug amount.

\n

Take your answer away from the original drug amount.

\n

Method 2

\n

Percentage means \"out of 100\" so the maximum a true percentage can be is 100. 

\n

If we reduce something by a percentage then what is left is 100 minus the original percentage which is our new percentage.

\n

Convert the new percentage into a decimal by dividng by 100.

\n

Multiply your decimal answer by the original drug amount.

", "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "scripts": {}, "type": "information"}], "prompt": "

The normal adult dose of drug A is $\\var{a}$mcg. Since the patient is a child, they require a reduction in dosage of $\\var{b}\\%$. What is the new dose that the patient should be given? Give your answer in both mcg and mg.

\n

[[0]]mcg

\n

[[1]]mg

", "showCorrectAnswer": true, "showFeedbackIcon": true, "gaps": [{"variableReplacementStrategy": "originalfirst", "scripts": {}, "showFeedbackIcon": false, "variableReplacements": [], "minValue": "{ans}", "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "allowFractions": false, "marks": "2", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "correctAnswerFraction": false, "maxValue": "{ans}"}, {"variableReplacementStrategy": "originalfirst", "scripts": {}, "showFeedbackIcon": true, "variableReplacements": [{"part": "p0g0", "variable": "ans", "must_go_first": true}], "minValue": "{ans1}", "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "allowFractions": false, "marks": "1", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "correctAnswerFraction": false, "maxValue": "{ans1}"}], "marks": 0, "variableReplacements": [], "scripts": {}, "stepsPenalty": "2", "type": "gapfill"}], "statement": "

Dosages using percentages

", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "b", "ans", "ans1", "b1", "c", "b2", "d"], "variable_groups": [], "advice": "

Method 1

\n

Convert the Percentage into a decimal by dividing by 100. -> $\\dfrac{\\var{b}}{100} = \\var{b1}$

\n

Multiply your answer by the original drug amount. -> $\\var{b1}\\times\\var{a} = \\var{c}$

\n

Take your answer away from the original drug amount. -> $\\var{a} - \\var{c} = \\var{ans}$

\n

Method 2

\n

Percentage means \"out of 100\" so the maximum a true percentage can be is 100. 

\n

If we reduce something by a percentage then what is left is 100 minus the original percentage which is our new percentage. -> $100 - \\var{b} = \\var{b2}$

\n

Convert the new percentage into a decimal by dividng by 100. -> $\\dfrac{\\var{b2}}{100} = \\var{d}$

\n

Multiply your decimal answer by the original drug amount. -> $\\var{a} \\times \\var{d} = \\var{ans}$

\n

To convert, divide your answer by 1000. -> $\\dfrac{\\var{ans}}{1000} = \\var{ans1}$

", "type": "question"}, {"name": "Nursing Question 6", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}], "metadata": {"description": "

Dosage questions using percentages

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"b2": {"name": "b2", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "100 - b"}, "ans": {"name": "ans", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "a-(a*b*0.01)"}, "b": {"name": "b", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(5..95#1)"}, "d": {"name": "d", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b2/100"}, "b1": {"name": "b1", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b/100"}, "ans1": {"name": "ans1", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "ans*0.001"}, "c": {"name": "c", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "b1*a"}, "a": {"name": "a", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(0..950#5)"}}, "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "functions": {}, "parts": [{"variableReplacementStrategy": "originalfirst", "steps": [{"variableReplacementStrategy": "originalfirst", "prompt": "

Method 1

\n

Convert the Percentage into a decimal by dividing by 100.

\n

Multiply your answer by the original drug amount.

\n

Take your answer away from the original drug amount.

\n

Method 2

\n

Percentage means \"out of 100\" so the maximum a true percentage can be is 100. 

\n

If we reduce something by a percentage then what is left is 100 minus the original percentage which is our new percentage.

\n

Convert the new percentage into a decimal by dividng by 100.

\n

Multiply your decimal answer by the original drug amount.

", "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 0, "variableReplacements": [], "scripts": {}, "type": "information"}], "prompt": "

The normal adult dose of drug A is $\\var{a}$mcg. Since the patient is a child, they require a reduction in dosage of $\\var{b}\\%$. What is the new dose that the patient should be given? Give your answer in both mcg and mg.

\n

[[0]]mcg

\n

[[1]]mg

", "showCorrectAnswer": true, "showFeedbackIcon": true, "gaps": [{"variableReplacementStrategy": "originalfirst", "scripts": {}, "showFeedbackIcon": false, "variableReplacements": [], "minValue": "{ans}", "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "allowFractions": false, "marks": "2", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "correctAnswerFraction": false, "maxValue": "{ans}"}, {"variableReplacementStrategy": "originalfirst", "scripts": {}, "showFeedbackIcon": true, "variableReplacements": [{"part": "p0g0", "variable": "ans", "must_go_first": true}], "minValue": "{ans1}", "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "allowFractions": false, "marks": "1", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "correctAnswerFraction": false, "maxValue": "{ans1}"}], "marks": 0, "variableReplacements": [], "scripts": {}, "stepsPenalty": "2", "type": "gapfill"}], "statement": "

Dosages using percentages

", "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "b", "ans", "ans1", "b1", "c", "b2", "d"], "variable_groups": [], "advice": "

Method 1

\n

Convert the Percentage into a decimal by dividing by 100. -> $\\dfrac{\\var{b}}{100} = \\var{b1}$

\n

Multiply your answer by the original drug amount. -> $\\var{b1}\\times\\var{a} = \\var{c}$

\n

Take your answer away from the original drug amount. -> $\\var{a} - \\var{c} = \\var{ans}$

\n

Method 2

\n

Percentage means \"out of 100\" so the maximum a true percentage can be is 100. 

\n

If we reduce something by a percentage then what is left is 100 minus the original percentage which is our new percentage. -> $100 - \\var{b} = \\var{b2}$

\n

Convert the new percentage into a decimal by dividng by 100. -> $\\dfrac{\\var{b2}}{100} = \\var{d}$

\n

Multiply your decimal answer by the original drug amount. -> $\\var{a} \\times \\var{d} = \\var{ans}$

\n

To convert, divide your answer by 1000. -> $\\dfrac{\\var{ans}}{1000} = \\var{ans1}$

", "type": "question"}]}], "showQuestionGroupNames": false, "feedback": {"advicethreshold": 0, "showactualmark": true, "showtotalmark": true, "intro": "", "feedbackmessages": [], "allowrevealanswer": true, "showanswerstate": true}, "timing": {"timedwarning": {"message": "", "action": "none"}, "allowPause": true, "timeout": {"message": "", "action": "none"}}, "navigation": {"onleave": {"message": "", "action": "none"}, "browse": true, "showfrontpage": true, "allowregen": true, "showresultspage": "oncompletion", "preventleave": true, "reverse": true}, "showstudentname": true, "type": "exam", "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}, {"name": "Anthea Cowen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3408/"}], "extensions": [], "custom_part_types": [], "resources": [["question-resources/conversions.png", "/srv/numbas/media/question-resources/conversions.png"]]}