// Numbas version: exam_results_page_options {"name": "Louise's Unit Conversion", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "preamble": {"js": "", "css": ""}, "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"], "statement": "

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

", "parts": [{"displayType": "radiogroup", "distractors": ["", "", "", "", ""], "unitTests": [], "extendBaseMarkingAlgorithm": true, "choices": ["

{ch1}   {Tos[choice]}

", "

{ch2}   {Tos[choice]}

", "

{ch3}   {Tos[choice]}

", "

{ch4}   {Tos[choice]}

", "

{ch5}   {Tos[choice]}

"], "matrix": ["1", 0, 0, 0, 0], "shuffleChoices": true, "maxMarks": 0, "customMarkingAlgorithm": "", "minMarks": 0, "showCorrectAnswer": true, "type": "1_n_2", "displayColumns": 0, "showFeedbackIcon": true, "scripts": {}, "prompt": "

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

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "marks": 0}, {"displayType": "radiogroup", "distractors": ["", "", "", "", ""], "unitTests": [], "extendBaseMarkingAlgorithm": true, "choices": ["

{ch1b}   {Tos[choiceb]}

", "

{ch2b}   {Tos[choiceb]}

", "

{ch3b}   {Tos[choiceb]}

", "

{ch4b}   {Tos[choiceb]}

", "

{ch5b}   {Tos[choiceb]}

"], "matrix": ["1", 0, 0, 0, 0], "shuffleChoices": true, "maxMarks": 0, "customMarkingAlgorithm": "", "minMarks": 0, "showCorrectAnswer": true, "type": "1_n_2", "displayColumns": 0, "showFeedbackIcon": true, "scripts": {}, "prompt": "

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

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "marks": 0}, {"displayType": "radiogroup", "distractors": ["", "", "", "", ""], "unitTests": [], "extendBaseMarkingAlgorithm": true, "choices": ["

{ch1c}   {Tos[choicec]}

", "

{ch2c}   {Tos[choicec]}

", "

{ch3c}   {Tos[choicec]}

", "

{ch4c}   {Tos[choicec]}

", "

{ch5c}   {Tos[choicec]}

"], "matrix": ["1", 0, 0, 0, 0], "shuffleChoices": true, "maxMarks": 0, "customMarkingAlgorithm": "", "minMarks": 0, "showCorrectAnswer": true, "type": "1_n_2", "displayColumns": 0, "showFeedbackIcon": true, "scripts": {}, "prompt": "

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

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "marks": 0}, {"unitTests": [], "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "type": "gapfill", "showFeedbackIcon": true, "scripts": {}, "prompt": "

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

\n

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

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

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

\n

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

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

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

\n

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

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

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

\n

[[0]] K

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

There is no advice for this question.

", "variablesTest": {"condition": "", "maxRuns": 100}, "rulesets": {}, "variables": {"ci2b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except ci1b)", "name": "ci2b", "description": ""}, "ans3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "numFromsc*confactors[Factors[choicef]]", "name": "ans3", "description": ""}, "ci3c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1c, ci2c])", "name": "ci3c", "description": ""}, "ci5c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1c, ci2c, ci3c, ci4c])", "name": "ci5c", "description": ""}, "ci1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "Factors[choice]", "name": "ci1", "description": ""}, "Froms": {"templateType": "list of strings", "group": "Ungrouped variables", "definition": "[ \"kg\", \"g\", \"mg\", \"$\\\\mu$g\", \"L\", \"cL\", \"mL\", \"km\", \"m\", \"cm\", \"mm\", \"$\\\\mu$m\" ]", "name": "Froms", "description": ""}, "numFromsb": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..9)+random(1..9)/10 + random(0..9)/100", "name": "numFromsb", "description": ""}, "choicee": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except[choice,choiceb,choicec, choiced])", "name": "choicee", "description": ""}, "ci2c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except ci1c)", "name": "ci2c", "description": ""}, "ch5b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsb*conFactors[ci5b],8)", "name": "ch5b", "description": ""}, "ci3b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1b, ci2b])", "name": "ci3b", "description": ""}, "ch1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFroms*conFactors[ci1],8)", "name": "ch1", "description": ""}, "ch3c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsc*conFactors[ci3c],8)\n", "name": "ch3c", "description": ""}, "ci5": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1, ci2, ci3, ci4])", "name": "ci5", "description": ""}, "ch2c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsc*conFactors[ci2c],8)", "name": "ch2c", "description": ""}, "ci4c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1c, ci2c, ci3c])", "name": "ci4c", "description": ""}, "ci2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except ci1)", "name": "ci2", "description": ""}, "Tos": {"templateType": "list of strings", "group": "Ungrouped variables", "definition": "[ \"g\", \"kg\", \"$\\\\mu$g\", \"mg\", \"mL\", \"L\", \"L\", \"m\", \"mm\", \"m\", \"m\", \"mm\" ]", "name": "Tos", "description": "

m

"}, "choiced": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except[choice,choiceb,choicec])", "name": "choiced", "description": ""}, "ch4c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsc*conFactors[ci4c],8)", "name": "ch4c", "description": ""}, "TForm": {"templateType": "anything", "group": "Unnamed group", "definition": "273.15+Temp", "name": "TForm", "description": ""}, "ch4": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFroms*conFactors[ci4],8)", "name": "ch4", "description": ""}, "choiceb": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except choice)", "name": "choiceb", "description": ""}, "ch4b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsb*conFactors[ci4b],8)", "name": "ch4b", "description": ""}, "ch1c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsc*conFactors[ci1c],8)", "name": "ch1c", "description": ""}, "ch3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFroms*conFactors[ci3],8)", "name": "ch3", "description": ""}, "ans1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "numFroms*confactors[Factors[choiced]]", "name": "ans1", "description": ""}, "ci1b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "Factors[choiceb]", "name": "ci1b", "description": ""}, "ch2b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsb*conFactors[ci2b],8)", "name": "ch2b", "description": ""}, "factors": {"templateType": "list of numbers", "group": "Ungrouped variables", "definition": "[ 3, 8, 3, 8, 3, 7, 8, 3, 3, 7, 8, 8 ]", "name": "factors", "description": ""}, "ci5b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1b, ci2b, ci3b, ci4b])", "name": "ci5b", "description": ""}, "ch5": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFroms*conFactors[ci5],8)", "name": "ch5", "description": ""}, "choicec": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [choice, choiceb])", "name": "choicec", "description": ""}, "ch5c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsc*conFactors[ci5c],8)", "name": "ch5c", "description": ""}, "ch2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFroms*conFactors[ci2],8)", "name": "ch2", "description": ""}, "ci4b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1b, ci2b, ci3b])", "name": "ci4b", "description": ""}, "choicef": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except[choice,choiceb,choicec, choiced, choicee])", "name": "choicef", "description": ""}, "ci1c": {"templateType": "anything", "group": "Ungrouped variables", "definition": "Factors[choicec]", "name": "ci1c", "description": ""}, "ch1b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsb*conFactors[ci1b],8)", "name": "ch1b", "description": ""}, "ch3b": {"templateType": "anything", "group": "Ungrouped variables", "definition": "precround(numFromsb*conFactors[ci3b],8)", "name": "ch3b", "description": ""}, "from1": {"templateType": "anything", "group": "Ungrouped variables", "definition": "Froms[choiced]", "name": "from1", "description": ""}, "numFroms": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..9)+random(1..9)/10", "name": "numFroms", "description": ""}, "conFactors": {"templateType": "list of numbers", "group": "Ungrouped variables", "definition": "[ 1000000, 100000, 10000, 1000, 100, 10, 0.1, 0.01, 0.001, 0.0001, 0.00001, 0.000001 ]", "name": "conFactors", "description": ""}, "ci3": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1, ci2])", "name": "ci3", "description": ""}, "ci4": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11 except [ci1, ci2, ci3])", "name": "ci4", "description": ""}, "numFromsc": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0,1,2, 4, 5, 8)+random(1,2,4,5,8)/10 + random(0,1,2,4,5,8,9)/100", "name": "numFromsc", "description": ""}, "Temp": {"templateType": "randrange", "group": "Unnamed group", "definition": "random(0..1600#1)", "name": "Temp", "description": "

Temperature Values

"}, "ans2": {"templateType": "anything", "group": "Ungrouped variables", "definition": "numFromsb*confactors[Factors[choicee]]", "name": "ans2", "description": ""}, "choice": {"templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..11)", "name": "choice", "description": ""}}, "tags": [], "functions": {}, "name": "Louise's Unit Conversion", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

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

"}, "variable_groups": [{"variables": ["TForm", "Temp"], "name": "Unnamed group"}], "type": "question", "contributors": [{"name": "Louise Lynch", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2197/"}]}]}], "contributors": [{"name": "Louise Lynch", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2197/"}]}