// Numbas version: exam_results_page_options {"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}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"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": ""}}, "name": "Nursing Question 4", "extensions": [], "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": {}, "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}]}], "contributors": [{"name": "Mark Hodds", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/510/"}]}