// Numbas version: exam_results_page_options {"name": "Anna's copy of Question 6: Unit Conversion", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "name": "Anna's copy of Question 6: Unit Conversion", "preamble": {"css": "", "js": ""}, "rulesets": {}, "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"ch3b": {"templateType": "anything", "definition": "precround(numFromsb*conFactors[ci3b],8)", "name": "ch3b", "group": "Ungrouped variables", "description": ""}, "Temp": {"templateType": "randrange", "definition": "random(0..1600#1)", "name": "Temp", "group": "Unnamed group", "description": "

Temperature Values

"}, "ans2": {"templateType": "anything", "definition": "numFromsb*confactors[Factors[choicee]]", "name": "ans2", "group": "Ungrouped variables", "description": ""}, "ch1": {"templateType": "anything", "definition": "precround(numFroms*conFactors[ci1],8)", "name": "ch1", "group": "Ungrouped variables", "description": ""}, "ch2b": {"templateType": "anything", "definition": "precround(numFromsb*conFactors[ci2b],8)", "name": "ch2b", "group": "Ungrouped variables", "description": ""}, "ci3b": {"templateType": "anything", "definition": "random(0..11 except [ci1b, ci2b])", "name": "ci3b", "group": "Ungrouped variables", "description": ""}, "ci1b": {"templateType": "anything", "definition": "Factors[choiceb]", "name": "ci1b", "group": "Ungrouped variables", "description": ""}, "choiced": {"templateType": "anything", "definition": "random(0..11 except[choice,choiceb,choicec])", "name": "choiced", "group": "Ungrouped variables", "description": ""}, "numFromsc": {"templateType": "anything", "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", "group": "Ungrouped variables", "description": ""}, "ci3": {"templateType": "anything", "definition": "random(0..11 except [ci1, ci2])", "name": "ci3", "group": "Ungrouped variables", "description": ""}, "choicec": {"templateType": "anything", "definition": "random(0..11 except [choice, choiceb])", "name": "choicec", "group": "Ungrouped variables", "description": ""}, "choicee": {"templateType": "anything", "definition": "random(0..11 except[choice,choiceb,choicec, choiced])", "name": "choicee", "group": "Ungrouped variables", "description": ""}, "ch3c": {"templateType": "anything", "definition": "precround(numFromsc*conFactors[ci3c],8)\n", "name": "ch3c", "group": "Ungrouped variables", "description": ""}, "ci4b": {"templateType": "anything", "definition": "random(0..11 except [ci1b, ci2b, ci3b])", "name": "ci4b", "group": "Ungrouped variables", "description": ""}, "numFroms": {"templateType": "anything", "definition": "random(0..9)+random(1..9)/10", "name": "numFroms", "group": "Ungrouped variables", "description": ""}, "ci2b": {"templateType": "anything", "definition": "random(0..11 except ci1b)", "name": "ci2b", "group": "Ungrouped variables", "description": ""}, "ci2c": {"templateType": "anything", "definition": "random(0..11 except ci1c)", "name": "ci2c", "group": "Ungrouped variables", "description": ""}, "ch5": {"templateType": "anything", "definition": "precround(numFroms*conFactors[ci5],8)", "name": "ch5", "group": "Ungrouped variables", "description": ""}, "ci5": {"templateType": "anything", "definition": "random(0..11 except [ci1, ci2, ci3, ci4])", "name": "ci5", "group": "Ungrouped variables", "description": ""}, "ci3c": {"templateType": "anything", "definition": "random(0..11 except [ci1c, ci2c])", "name": "ci3c", "group": "Ungrouped variables", "description": ""}, "ans3": {"templateType": "anything", "definition": "numFromsc*confactors[Factors[choicef]]", "name": "ans3", "group": "Ungrouped variables", "description": ""}, "ci5b": {"templateType": "anything", "definition": "random(0..11 except [ci1b, ci2b, ci3b, ci4b])", "name": "ci5b", "group": "Ungrouped variables", "description": ""}, "choicef": {"templateType": "anything", "definition": "random(0..11 except[choice,choiceb,choicec, choiced, choicee])", "name": "choicef", "group": "Ungrouped variables", "description": ""}, "conFactors": {"templateType": "list of numbers", "definition": "[ 1000000, 100000, 10000, 1000, 100, 10, 0.1, 0.01, 0.001, 0.0001, 0.00001, 0.000001 ]", "name": "conFactors", "group": "Ungrouped variables", "description": ""}, "ch2c": {"templateType": "anything", "definition": "precround(numFromsc*conFactors[ci2c],8)", "name": "ch2c", "group": "Ungrouped variables", "description": ""}, "ch4b": {"templateType": "anything", "definition": "precround(numFromsb*conFactors[ci4b],8)", "name": "ch4b", "group": "Ungrouped variables", "description": ""}, "ch4c": {"templateType": "anything", "definition": "precround(numFromsc*conFactors[ci4c],8)", "name": "ch4c", "group": "Ungrouped variables", "description": ""}, "numFromsb": {"templateType": "anything", "definition": "random(0..9)+random(1..9)/10 + random(0..9)/100", "name": "numFromsb", "group": "Ungrouped variables", "description": ""}, "Tos": {"templateType": "list of strings", "definition": "[ \"g\", \"kg\", \"$\\\\mu$g\", \"mg\", \"mL\", \"L\", \"L\", \"m\", \"mm\", \"m\", \"m\", \"mm\" ]", "name": "Tos", "group": "Ungrouped variables", "description": "

m

"}, "ch5c": {"templateType": "anything", "definition": "precround(numFromsc*conFactors[ci5c],8)", "name": "ch5c", "group": "Ungrouped variables", "description": ""}, "factors": {"templateType": "list of numbers", "definition": "[ 3, 8, 3, 8, 3, 7, 8, 3, 3, 7, 8, 8 ]", "name": "factors", "group": "Ungrouped variables", "description": ""}, "ci1c": {"templateType": "anything", "definition": "Factors[choicec]", "name": "ci1c", "group": "Ungrouped variables", "description": ""}, "TForm": {"templateType": "anything", "definition": "273.15+Temp", "name": "TForm", "group": "Unnamed group", "description": ""}, "ci4c": {"templateType": "anything", "definition": "random(0..11 except [ci1c, ci2c, ci3c])", "name": "ci4c", "group": "Ungrouped variables", "description": ""}, "ci1": {"templateType": "anything", "definition": "Factors[choice]", "name": "ci1", "group": "Ungrouped variables", "description": ""}, "ans1": {"templateType": "anything", "definition": "numFroms*confactors[Factors[choiced]]", "name": "ans1", "group": "Ungrouped variables", "description": ""}, "ch2": {"templateType": "anything", "definition": "precround(numFroms*conFactors[ci2],8)", "name": "ch2", "group": "Ungrouped variables", "description": ""}, "choice": {"templateType": "anything", "definition": "random(0..11)", "name": "choice", "group": "Ungrouped variables", "description": ""}, "ch3": {"templateType": "anything", "definition": "precround(numFroms*conFactors[ci3],8)", "name": "ch3", "group": "Ungrouped variables", "description": ""}, "choiceb": {"templateType": "anything", "definition": "random(0..11 except choice)", "name": "choiceb", "group": "Ungrouped variables", "description": ""}, "ci5c": {"templateType": "anything", "definition": "random(0..11 except [ci1c, ci2c, ci3c, ci4c])", "name": "ci5c", "group": "Ungrouped variables", "description": ""}, "ch1b": {"templateType": "anything", "definition": "precround(numFromsb*conFactors[ci1b],8)", "name": "ch1b", "group": "Ungrouped variables", "description": ""}, "ch5b": {"templateType": "anything", "definition": "precround(numFromsb*conFactors[ci5b],8)", "name": "ch5b", "group": "Ungrouped variables", "description": ""}, "ch1c": {"templateType": "anything", "definition": "precround(numFromsc*conFactors[ci1c],8)", "name": "ch1c", "group": "Ungrouped variables", "description": ""}, "from1": {"templateType": "anything", "definition": "Froms[choiced]", "name": "from1", "group": "Ungrouped variables", "description": ""}, "ci4": {"templateType": "anything", "definition": "random(0..11 except [ci1, ci2, ci3])", "name": "ci4", "group": "Ungrouped variables", "description": ""}, "ch4": {"templateType": "anything", "definition": "precround(numFroms*conFactors[ci4],8)", "name": "ch4", "group": "Ungrouped variables", "description": ""}, "Froms": {"templateType": "list of strings", "definition": "[ \"kg\", \"g\", \"mg\", \"$\\\\mu$g\", \"L\", \"cL\", \"mL\", \"km\", \"m\", \"cm\", \"mm\", \"$\\\\mu$m\" ]", "name": "Froms", "group": "Ungrouped variables", "description": ""}, "ci2": {"templateType": "anything", "definition": "random(0..11 except ci1)", "name": "ci2", "group": "Ungrouped variables", "description": ""}}, "variable_groups": [{"variables": ["TForm", "Temp"], "name": "Unnamed group"}], "ungrouped_variables": ["ans1", "ans2", "ans3", "ch1", "ch1b", "ch1c", "ch2", "ch2b", "ch2c", "ch3", "ch3b", "ch3c", "ch4", "ch4b", "ch4c", "ch5", "ch5b", "ch5c", "choice", "choiceb", "choicec", "choiced", "choicee", "choicef", "ci1", "ci1b", "ci1c", "ci2", "ci2b", "ci2c", "ci3", "ci3b", "ci3c", "ci4", "ci4b", "ci4c", "ci5", "ci5b", "ci5c", "conFactors", "factors", "from1", "Froms", "numFroms", "numFromsb", "numFromsc", "Tos"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

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

"}, "statement": "

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

", "advice": "

There is no advice for this question.

", "parts": [{"type": "1_n_2", "showCorrectAnswer": true, "choices": ["

{ch1}   {Tos[choice]}

", "

{ch2}   {Tos[choice]}

", "

{ch3}   {Tos[choice]}

", "

{ch4}   {Tos[choice]}

", "

{ch5}   {Tos[choice]}

"], "extendBaseMarkingAlgorithm": true, "scripts": {}, "displayColumns": 0, "distractors": ["", "", "", "", ""], "displayType": "radiogroup", "prompt": "

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

", "unitTests": [], "variableReplacementStrategy": "originalfirst", "maxMarks": 0, "variableReplacements": [], "showFeedbackIcon": true, "showCellAnswerState": true, "marks": 0, "customMarkingAlgorithm": "", "matrix": ["1", 0, 0, 0, 0], "shuffleChoices": true, "minMarks": 0}, {"type": "1_n_2", "showCorrectAnswer": true, "choices": ["

{ch1b}   {Tos[choiceb]}

", "

{ch2b}   {Tos[choiceb]}

", "

{ch3b}   {Tos[choiceb]}

", "

{ch4b}   {Tos[choiceb]}

", "

{ch5b}   {Tos[choiceb]}

"], "extendBaseMarkingAlgorithm": true, "scripts": {}, "displayColumns": 0, "distractors": ["", "", "", "", ""], "displayType": "radiogroup", "prompt": "

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

", "unitTests": [], "variableReplacementStrategy": "originalfirst", "maxMarks": 0, "variableReplacements": [], "showFeedbackIcon": true, "showCellAnswerState": true, "marks": 0, "customMarkingAlgorithm": "", "matrix": ["1", 0, 0, 0, 0], "shuffleChoices": true, "minMarks": 0}, {"type": "1_n_2", "showCorrectAnswer": true, "choices": ["

{ch1c}   {Tos[choicec]}

", "

{ch2c}   {Tos[choicec]}

", "

{ch3c}   {Tos[choicec]}

", "

{ch4c}   {Tos[choicec]}

", "

{ch5c}   {Tos[choicec]}

"], "extendBaseMarkingAlgorithm": true, "scripts": {}, "displayColumns": 0, "distractors": ["", "", "", "", ""], "displayType": "radiogroup", "prompt": "

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

", "unitTests": [], "variableReplacementStrategy": "originalfirst", "maxMarks": 0, "variableReplacements": [], "showFeedbackIcon": true, "showCellAnswerState": true, "marks": 0, "customMarkingAlgorithm": "", "matrix": ["1", 0, 0, 0, 0], "shuffleChoices": true, "minMarks": 0}, {"type": "gapfill", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": 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]}$

", "unitTests": [], "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": 0, "customMarkingAlgorithm": "", "gaps": [{"type": "numberentry", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "scripts": {}, "allowFractions": false, "mustBeReduced": false, "minValue": "ans1", "unitTests": [], "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "variableReplacements": [], "showFeedbackIcon": true, "maxValue": "ans1", "marks": 1, "notationStyles": ["plain", "en", "si-en"], "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "mustBeReducedPC": 0}], "sortAnswers": false}, {"type": "gapfill", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": 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]}$

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

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

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

\n

[[0]] K

", "unitTests": [], "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showFeedbackIcon": true, "marks": 0, "customMarkingAlgorithm": "", "gaps": [{"showCorrectAnswer": true, "mustBeReduced": false, "precisionPartialCredit": "75", "minValue": "TForm", "showPrecisionHint": false, "unitTests": [], "precisionMessage": "You have not given your answer to the correct precision.", "correctAnswerFraction": false, "variableReplacements": [], "showFeedbackIcon": true, "maxValue": "TForm", "notationStyles": ["plain", "en", "si-en"], "precision": "2", "precisionType": "dp", "type": "numberentry", "correctAnswerStyle": "plain", "extendBaseMarkingAlgorithm": true, "scripts": {}, "strictPrecision": false, "allowFractions": false, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "marks": 1, "customMarkingAlgorithm": ""}], "sortAnswers": false}], "tags": [], "type": "question", "contributors": [{"name": "David Goulding", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2365/"}, {"name": "Anna Strzelecka", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2945/"}]}]}], "contributors": [{"name": "David Goulding", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2365/"}, {"name": "Anna Strzelecka", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2945/"}]}