// Numbas version: exam_results_page_options {"name": "Unit Conversion (length, mass, volume, temperature) [L1]", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"displayColumns": 0, "shuffleChoices": true, "maxMarks": 0, "marks": 0, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "distractors": ["", "", "", "", ""], "prompt": "

What's $\\var{numFroms}$  $\\var{Froms[choice]}$ in $\\var{Tos[choice]} $ ?

", "type": "1_n_2", "showFeedbackIcon": true, "unitTests": [], "choices": ["

{ch1}   {Tos[choice]}

", "

{ch2}   {Tos[choice]}

", "

{ch3}   {Tos[choice]}

", "

{ch4}   {Tos[choice]}

", "

{ch5}   {Tos[choice]}

"], "scripts": {}, "matrix": ["1", 0, 0, 0, 0], "displayType": "radiogroup", "minMarks": 0, "extendBaseMarkingAlgorithm": true}, {"displayColumns": 0, "shuffleChoices": true, "maxMarks": 0, "marks": 0, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "distractors": ["", "", "", "", ""], "prompt": "

What's $\\var{numFromsb}$  $\\var{Froms[choiceb]}$ in $\\var{Tos[choiceb]} $ ?

", "type": "1_n_2", "showFeedbackIcon": true, "unitTests": [], "choices": ["

{ch1b}   {Tos[choiceb]}

", "

{ch2b}   {Tos[choiceb]}

", "

{ch3b}   {Tos[choiceb]}

", "

{ch4b}   {Tos[choiceb]}

", "

{ch5b}   {Tos[choiceb]}

"], "scripts": {}, "matrix": ["1", 0, 0, 0, 0], "displayType": "radiogroup", "minMarks": 0, "extendBaseMarkingAlgorithm": true}, {"displayColumns": 0, "shuffleChoices": true, "maxMarks": 0, "marks": 0, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "customMarkingAlgorithm": "", "distractors": ["", "", "", "", ""], "prompt": "

What's $\\var{numFromsc}$  $\\var{Froms[choicec]}$ in $\\var{Tos[choicec]} $ ?

", "type": "1_n_2", "showFeedbackIcon": true, "unitTests": [], "choices": ["

{ch1c}   {Tos[choicec]}

", "

{ch2c}   {Tos[choicec]}

", "

{ch3c}   {Tos[choicec]}

", "

{ch4c}   {Tos[choicec]}

", "

{ch5c}   {Tos[choicec]}

"], "scripts": {}, "matrix": ["1", 0, 0, 0, 0], "displayType": "radiogroup", "minMarks": 0, "extendBaseMarkingAlgorithm": true}, {"marks": 0, "showCorrectAnswer": true, "gaps": [{"mustBeReducedPC": 0, "marks": 1, "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerStyle": "plain", "allowFractions": false, "mustBeReduced": false, "correctAnswerFraction": false, "type": "numberentry", "showFeedbackIcon": true, "minValue": "ans1", "unitTests": [], "showCorrectAnswer": true, "scripts": {}, "maxValue": "ans1", "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true}], "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "customMarkingAlgorithm": "", "prompt": "

What's $\\var{numFroms}$  $\\var{Froms[choiced]}$ in $\\var{Tos[choiced]} $?

\n

Answer: $\\var{numFroms}$  $\\var{Froms[choiced]}$ = [[0]] $\\var{Tos[choiced]}$

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

What's $\\var{numFromsb}$  $\\var{Froms[choicee]}$ in $\\var{Tos[choicee]} $?

\n

Answer: $\\var{numFromsb}$ $\\var{Froms[choicee]}$ = [[0]] $\\var{Tos[choicee]}$

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

What's $\\var{numFromsc}$  $\\var{Froms[choicef]}$ in $\\var{Tos[choicef]} $?

\n

Answer: $\\var{numFromsc}$ $\\var{Froms[choicef]}$ = [[0]] $\\var{Tos[choicef]}$

", "sortAnswers": false, "showFeedbackIcon": true, "unitTests": [], "scripts": {}, "type": "gapfill", "extendBaseMarkingAlgorithm": true}, {"marks": 0, "showCorrectAnswer": true, "gaps": [{"marks": 1, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "customMarkingAlgorithm": "", "precisionType": "dp", "correctAnswerFraction": false, "type": "numberentry", "minValue": "TForm", "precision": "2", "unitTests": [], "scripts": {}, "strictPrecision": false, "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerStyle": "plain", "allowFractions": false, "precisionMessage": "You have not given your answer to the correct precision.", "showFeedbackIcon": true, "precisionPartialCredit": "75", "showPrecisionHint": false, "maxValue": "TForm"}], "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "customMarkingAlgorithm": "", "prompt": "

What is $\\var{Temp}$ °C in Kelvin? Give answer correct to two decimal places.

\n

[[0]] K

", "sortAnswers": false, "showFeedbackIcon": true, "unitTests": [], "scripts": {}, "type": "gapfill", "extendBaseMarkingAlgorithm": true}], "preamble": {"js": "", "css": ""}, "rulesets": {}, "variables": {"ci3c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci3c", "description": "", "definition": "random(0..11 except [ci1c, ci2c])"}, "ci1b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci1b", "description": "", "definition": "Factors[choiceb]"}, "Temp": {"templateType": "randrange", "group": "Unnamed group", "name": "Temp", "description": "

Temperature Values

", "definition": "random(0..1600#1)"}, "ch2c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch2c", "description": "", "definition": "precround(numFromsc*conFactors[ci2c],8)"}, "ch3c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch3c", "description": "", "definition": "precround(numFromsc*conFactors[ci3c],8)\n"}, "ci2c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci2c", "description": "", "definition": "random(0..11 except ci1c)"}, "factors": {"templateType": "list of numbers", "group": "Ungrouped variables", "name": "factors", "description": "", "definition": "[ 3, 8, 3, 8, 3, 7, 8, 3, 3, 7, 8, 8 ]"}, "choicee": {"templateType": "anything", "group": "Ungrouped variables", "name": "choicee", "description": "", "definition": "random(0..11 except[choice,choiceb,choicec, choiced])"}, "ans2": {"templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": "", "definition": "numFromsb*confactors[Factors[choicee]]"}, "ci1": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci1", "description": "", "definition": "Factors[choice]"}, "choicef": {"templateType": "anything", "group": "Ungrouped variables", "name": "choicef", "description": "", "definition": "random(0..11 except[choice,choiceb,choicec, choiced, choicee])"}, "numFromsc": {"templateType": "anything", "group": "Ungrouped variables", "name": "numFromsc", "description": "", "definition": "random(0,1,2, 4, 5, 8)+random(1,2,4,5,8)/10 + random(0,1,2,4,5,8,9)/100"}, "ans1": {"templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": "", "definition": "numFroms*confactors[Factors[choiced]]"}, "TForm": {"templateType": "anything", "group": "Unnamed group", "name": "TForm", "description": "", "definition": "273.15+Temp"}, "ci2b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci2b", "description": "", "definition": "random(0..11 except ci1b)"}, "ch5b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch5b", "description": "", "definition": "precround(numFromsb*conFactors[ci5b],8)"}, "ch4b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch4b", "description": "", "definition": "precround(numFromsb*conFactors[ci4b],8)"}, "ch3": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch3", "description": "", "definition": "precround(numFroms*conFactors[ci3],8)"}, "ch2": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch2", "description": "", "definition": "precround(numFroms*conFactors[ci2],8)"}, "ch1": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch1", "description": "", "definition": "precround(numFroms*conFactors[ci1],8)"}, "Tos": {"templateType": "list of strings", "group": "Ungrouped variables", "name": "Tos", "description": "

m

", "definition": "[ \"g\", \"kg\", \"$\\\\mu$g\", \"mg\", \"mL\", \"L\", \"L\", \"m\", \"mm\", \"m\", \"m\", \"mm\" ]"}, "choiceb": {"templateType": "anything", "group": "Ungrouped variables", "name": "choiceb", "description": "", "definition": "random(0..11 except choice)"}, "ans3": {"templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": "", "definition": "numFromsc*confactors[Factors[choicef]]"}, "from1": {"templateType": "anything", "group": "Ungrouped variables", "name": "from1", "description": "", "definition": "Froms[choiced]"}, "conFactors": {"templateType": "list of numbers", "group": "Ungrouped variables", "name": "conFactors", "description": "", "definition": "[ 1000000, 100000, 10000, 1000, 100, 10, 0.1, 0.01, 0.001, 0.0001, 0.00001, 0.000001 ]"}, "choiced": {"templateType": "anything", "group": "Ungrouped variables", "name": "choiced", "description": "", "definition": "random(0..11 except[choice,choiceb,choicec])"}, "ci5": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci5", "description": "", "definition": "random(0..11 except [ci1, ci2, ci3, ci4])"}, "ci3b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci3b", "description": "", "definition": "random(0..11 except [ci1b, ci2b])"}, "ch1b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch1b", "description": "", "definition": "precround(numFromsb*conFactors[ci1b],8)"}, "ci5c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci5c", "description": "", "definition": "random(0..11 except [ci1c, ci2c, ci3c, ci4c])"}, "ch4c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch4c", "description": "", "definition": "precround(numFromsc*conFactors[ci4c],8)"}, "ch2b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch2b", "description": "", "definition": "precround(numFromsb*conFactors[ci2b],8)"}, "choice": {"templateType": "anything", "group": "Ungrouped variables", "name": "choice", "description": "", "definition": "random(0..11)"}, "Froms": {"templateType": "list of strings", "group": "Ungrouped variables", "name": "Froms", "description": "", "definition": "[ \"kg\", \"g\", \"mg\", \"$\\\\mu$g\", \"L\", \"cL\", \"mL\", \"km\", \"m\", \"cm\", \"mm\", \"$\\\\mu$m\" ]"}, "ch5c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch5c", "description": "", "definition": "precround(numFromsc*conFactors[ci5c],8)"}, "ch1c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch1c", "description": "", "definition": "precround(numFromsc*conFactors[ci1c],8)"}, "ch4": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch4", "description": "", "definition": "precround(numFroms*conFactors[ci4],8)"}, "ci2": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci2", "description": "", "definition": "random(0..11 except ci1)"}, "numFromsb": {"templateType": "anything", "group": "Ungrouped variables", "name": "numFromsb", "description": "", "definition": "random(0..9)+random(1..9)/10 + random(0..9)/100"}, "ci5b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci5b", "description": "", "definition": "random(0..11 except [ci1b, ci2b, ci3b, ci4b])"}, "ch5": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch5", "description": "", "definition": "precround(numFroms*conFactors[ci5],8)"}, "choicec": {"templateType": "anything", "group": "Ungrouped variables", "name": "choicec", "description": "", "definition": "random(0..11 except [choice, choiceb])"}, "numFroms": {"templateType": "anything", "group": "Ungrouped variables", "name": "numFroms", "description": "", "definition": "random(0..9)+random(1..9)/10"}, "ch3b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ch3b", "description": "", "definition": "precround(numFromsb*conFactors[ci3b],8)"}, "ci3": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci3", "description": "", "definition": "random(0..11 except [ci1, ci2])"}, "ci4b": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci4b", "description": "", "definition": "random(0..11 except [ci1b, ci2b, ci3b])"}, "ci4c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci4c", "description": "", "definition": "random(0..11 except [ci1c, ci2c, ci3c])"}, "ci1c": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci1c", "description": "", "definition": "Factors[choicec]"}, "ci4": {"templateType": "anything", "group": "Ungrouped variables", "name": "ci4", "description": "", "definition": "random(0..11 except [ci1, ci2, ci3])"}}, "variable_groups": [{"variables": ["TForm", "Temp"], "name": "Unnamed group"}], "extensions": [], "statement": "

Practice of conversion between SI units of mass, volume, length and temperature.

", "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["Froms", "Tos", "factors", "conFactors", "choice", "numFroms", "ci1", "ci2", "ci3", "ci4", "ci5", "ch1", "ch2", "ch3", "ch4", "ch5", "numFromsb", "choiceb", "ci1b", "ci2b", "ci3b", "ci4b", "ci5b", "ch1b", "ch2b", "ch3b", "ch4b", "ch5b", "choicec", "numFromsc", "ci1c", "ci2c", "ci3c", "ci4c", "ci5c", "ch1c", "ch2c", "ch3c", "ch4c", "ch5c", "choiced", "ans1", "from1", "choicee", "ans2", "choicef", "ans3"], "advice": "

There is no advice for this question.

", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Practice of conversion between SI units of mass, volume & length.

"}, "functions": {}, "name": "Unit Conversion (length, mass, volume, temperature) [L1]", "tags": ["L1", "l1"], "type": "question", "contributors": [{"name": "Louise Lynch", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2197/"}, {"name": "Abbi Mullins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2466/"}]}]}], "contributors": [{"name": "Louise Lynch", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2197/"}, {"name": "Abbi Mullins", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2466/"}]}