// Numbas version: finer_feedback_settings {"name": "Unit Conversions 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Unit Conversions 1", "tags": [], "metadata": {"description": "

Converting millilitres to litres and kg to mg.

", "licence": "None specified"}, "statement": "

Fill in the blanks for the following unit conversions:

\n

", "advice": "

Part (a)

\n

The prefix 'm' means milli and indicates that the value in question is multiplied by $10^{-3}$

\n

In this example:

\n

$\\var{ml}$ $ml$ = $\\var{ml}\\times 10^{-3}$ $l$ = $\\var{litres}$ $l$

\n

\n

Part (b)

\n

The prefix 'k' means kilo and indicates that the value in question is multiplied by $10^{3}$

\n

In this example:

\n

$\\var{kg}$ $kg$ = $\\var{kg}\\times 10^{3}$ $g$ = $\\var{g}$ $g$

\n

To introduce the prefix 'm' for 'milligrams' we can multiply by $10^{3}$. This is balanced out by the introduction of the milli prefix, as we saw in part (a) the prefix milli means $10^{-3}$.

\n

$\\var{g}$ $g$ = $\\var{g} \\times 10^{3}$ $mg$ = $\\var{mg}$ $mg$

\n

 

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"ml": {"name": "ml", "group": "Ungrouped variables", "definition": "random(11 .. 99#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "kg": {"name": "kg", "group": "Ungrouped variables", "definition": "random(1.1 .. 9.5#0.1)", "description": "", "templateType": "randrange", "can_override": false}, "litres": {"name": "litres", "group": "Ungrouped variables", "definition": "ml/1000", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "kg*1000", "description": "", "templateType": "anything", "can_override": false}, "mg": {"name": "mg", "group": "Ungrouped variables", "definition": "dpformat(g*1000,0)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["ml", "kg", "litres", "g", "mg"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is $\\var{ml}$ millilitres (ml) in litres?

\n

[[0]] litres

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "6", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{ml/1000}", "maxValue": "{ml/1000}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

What is $\\var{kg}$ kilograms (kg) in milligrams (mg)?

\n

[[0]] mg

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "10", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{kg*10^6}", "maxValue": "{kg*10^6}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Katie Bullen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2255/"}], "resources": []}]}], "contributors": [{"name": "Katie Bullen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2255/"}]}