// Numbas version: exam_results_page_options {"name": "Converting metric units", "duration": 0, "metadata": {"description": "

Converting metric units of length, mass and volume.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "allQuestions": true, "shuffleQuestions": false, "percentPass": 0, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "pickQuestions": 0, "navigation": {"onleave": {"action": "none", "message": ""}, "reverse": true, "allowregen": true, "showresultspage": "oncompletion", "preventleave": true, "browse": true, "showfrontpage": true}, "feedback": {"showtotalmark": true, "advicethreshold": 0, "allowrevealanswer": true, "feedbackmessages": [], "showactualmark": true, "showanswerstate": true, "intro": ""}, "type": "exam", "questions": [], "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": [{"name": "Converting Units", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}], "functions": {}, "ungrouped_variables": ["l"], "tags": ["converting units", "metric lengths", "units"], "preamble": {"css": "", "js": ""}, "advice": "

Recall that there are 10 mm in 1 cm, 100cm in 1 m and 1000m in 1 km.

\n

For more information about the metric system, including common prefixes (milli, kilo etc) see http://www.mathsisfun.com/measure/metric-system.html

\n

", "rulesets": {}, "parts": [{"prompt": "

[[0]] mm

\n

\n

[[1]] cm

\n

\n

[[2]] km

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "1000*{l}", "minValue": "1000*{l}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "100*{l}", "minValue": "100*{l}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{l}/1000", "minValue": "{l}/1000", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Convert {l} m to the following units:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"l": {"definition": "random(3..9 #0.1 except[3,4,5,6,7,8,9])", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}}, "metadata": {"description": "

Converting a length in m to mm, cm and km.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Standard Unit Conversions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Vicky Hall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/659/"}], "functions": {}, "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"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

There is no advice for this question.

", "rulesets": {}, "parts": [{"displayColumns": 0, "prompt": "

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

", "matrix": ["1", 0, 0, 0, 0], "shuffleChoices": true, "variableReplacements": [], "choices": ["

{ch1}   {Tos[choice]}

", "

{ch2}   {Tos[choice]}

", "

{ch3}   {Tos[choice]}

", "

{ch4}   {Tos[choice]}

", "

{ch5}   {Tos[choice]}

"], "variableReplacementStrategy": "originalfirst", "maxMarks": 0, "distractors": ["", "", "", "", ""], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "1_n_2", "displayType": "radiogroup", "minMarks": 0}, {"displayColumns": 0, "prompt": "

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

", "matrix": ["1", 0, 0, 0, 0], "shuffleChoices": true, "variableReplacements": [], "choices": ["

{ch1b}   {Tos[choiceb]}

", "

{ch2b}   {Tos[choiceb]}

", "

{ch3b}   {Tos[choiceb]}

", "

{ch4b}   {Tos[choiceb]}

", "

{ch5b}   {Tos[choiceb]}

"], "variableReplacementStrategy": "originalfirst", "maxMarks": 0, "distractors": ["", "", "", "", ""], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "1_n_2", "displayType": "radiogroup", "minMarks": 0}, {"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": [{"allowFractions": false, "variableReplacements": [], "maxValue": "ans1", "minValue": "ans1", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"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": [{"allowFractions": false, "variableReplacements": [], "maxValue": "ans2", "minValue": "ans2", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Converting between SI units of mass, volume & length in one dimension.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"ch3c": {"definition": "precround(numFromsc*conFactors[ci3c],8)\n", "templateType": "anything", "group": "Ungrouped variables", "name": "ch3c", "description": ""}, "numFromsb": {"definition": "random(0..9)+random(1..9)/10 + random(0..9)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "numFromsb", "description": ""}, "numFromsc": {"definition": "random(0,1,2, 4, 5, 8)+random(1,2,4,5,8)/10 + random(0,1,2,4,5,8,9)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "numFromsc", "description": ""}, "ch5b": {"definition": "precround(numFromsb*conFactors[ci5b],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch5b", "description": ""}, "ch5c": {"definition": "precround(numFromsc*conFactors[ci5c],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch5c", "description": ""}, "Factors": {"definition": "[ 3, 0, 8, 11, 3, 0, 8, 11, 4, 3, 7, 8, 5, 6, 3, 1, 8, 10, 4, 3, 7, 8, 5, 2, 6, 9, 3, 8 ]", "templateType": "list of numbers", "group": "Ungrouped variables", "name": "Factors", "description": ""}, "Tos": {"definition": "[ \"grams\", \"milligrams\", \"kilograms\", \"kilograms\", \"milligrams\", \"micrograms\", \"grams\", \"grams\", \"centilitres\", \"millilitres\", \"litres\", \"litres\", \"millilitres\", \"centilitres\", \"metres\", \"centimetres\", \"kilometres\", \"kilometres\", \"centimetres\", \"millimetres\", \"metres\", \"metres\", \"millimetres\", \"micrometres\", \"centimetres\", \"centimetres\", \"micrometres\", \"millimetres\" ]", "templateType": "list of strings", "group": "Ungrouped variables", "name": "Tos", "description": ""}, "ans2": {"definition": "numFromsb*confactors[Factors[choicee]]", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "ans3": {"definition": "numFromsc*confactors[Factors[choicef]]", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": ""}, "conFactors": {"definition": "[ 1000000, 100000, 10000, 1000, 100, 10, 0.1, 0.01, 0.001, 0.0001, 0.00001, 0.000001 ]", "templateType": "list of numbers", "group": "Ungrouped variables", "name": "conFactors", "description": ""}, "ci3": {"definition": "random(0..11 except [ci1, ci2])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci3", "description": ""}, "ch1c": {"definition": "precround(numFromsc*conFactors[ci1c],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch1c", "description": ""}, "ch1b": {"definition": "precround(numFromsb*conFactors[ci1b],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch1b", "description": ""}, "ci2": {"definition": "random(0..11 except ci1)", "templateType": "anything", "group": "Ungrouped variables", "name": "ci2", "description": ""}, "ci1": {"definition": "Factors[choice]", "templateType": "anything", "group": "Ungrouped variables", "name": "ci1", "description": ""}, "ci1c": {"definition": "Factors[choicec]", "templateType": "anything", "group": "Ungrouped variables", "name": "ci1c", "description": ""}, "ci1b": {"definition": "Factors[choiceb]", "templateType": "anything", "group": "Ungrouped variables", "name": "ci1b", "description": ""}, "ci5": {"definition": "random(0..11 except [ci1, ci2, ci3, ci4])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci5", "description": ""}, "ans1": {"definition": "numFroms*confactors[Factors[choiced]]", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ci5c": {"definition": "random(0..11 except [ci1c, ci2c, ci3c, ci4c])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci5c", "description": ""}, "ci5b": {"definition": "random(0..11 except [ci1b, ci2b, ci3b, ci4b])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci5b", "description": ""}, "ch5": {"definition": "precround(numFroms*conFactors[ci5],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch5", "description": ""}, "ci3c": {"definition": "random(0..11 except [ci1c, ci2c])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci3c", "description": ""}, "ci3b": {"definition": "random(0..11 except [ci1b, ci2b])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci3b", "description": ""}, "ch4c": {"definition": "precround(numFromsc*conFactors[ci4c],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch4c", "description": ""}, "ch4b": {"definition": "precround(numFromsb*conFactors[ci4b],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch4b", "description": ""}, "ch3b": {"definition": "precround(numFromsb*conFactors[ci3b],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch3b", "description": ""}, "ci4": {"definition": "random(0..11 except [ci1, ci2, ci3])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci4", "description": ""}, "choice": {"definition": "random(0..27)", "templateType": "anything", "group": "Ungrouped variables", "name": "choice", "description": ""}, "from1": {"definition": "Froms[choiced]", "templateType": "anything", "group": "Ungrouped variables", "name": "from1", "description": ""}, "ci4b": {"definition": "random(0..11 except [ci1b, ci2b, ci3b])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci4b", "description": ""}, "ch4": {"definition": "precround(numFroms*conFactors[ci4],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch4", "description": ""}, "numFroms": {"definition": "random(0..9)+random(1..9)/10", "templateType": "anything", "group": "Ungrouped variables", "name": "numFroms", "description": ""}, "ci2b": {"definition": "random(0..11 except ci1b)", "templateType": "anything", "group": "Ungrouped variables", "name": "ci2b", "description": ""}, "ch1": {"definition": "precround(numFroms*conFactors[ci1],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch1", "description": ""}, "ch2": {"definition": "precround(numFroms*conFactors[ci2],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch2", "description": ""}, "ch3": {"definition": "precround(numFroms*conFactors[ci3],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch3", "description": ""}, "ch2c": {"definition": "precround(numFromsc*conFactors[ci2c],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch2c", "description": ""}, "ch2b": {"definition": "precround(numFromsb*conFactors[ci2b],8)", "templateType": "anything", "group": "Ungrouped variables", "name": "ch2b", "description": ""}, "Froms": {"definition": "[ \"kilograms\", \"kilograms\", \"grams\", \"milligrams\", \"grams\", \"grams\", \"milligrams\", \"micrograms\", \"litres\", \"litres\", \"centilitres\", \"millilitres\", \"centilitres\", \"millilitres\", \"kilometres\", \"kilometres\", \"metres\", \"centimetres\", \"metres\", \"metres\", \"centimetres\", \"millimetres\", \"centimetres\", \"centimetres\", \"millimetres\", \"micrometres\", \"millimetres\", \"micrometres\" ]", "templateType": "list of strings", "group": "Ungrouped variables", "name": "Froms", "description": ""}, "ci2c": {"definition": "random(0..11 except ci1c)", "templateType": "anything", "group": "Ungrouped variables", "name": "ci2c", "description": ""}, "choiced": {"definition": "random(0..7 except[choice,choiceb,choicec])", "templateType": "anything", "group": "Ungrouped variables", "name": "choiced", "description": ""}, "choicee": {"definition": "random(8..13 except[choice,choiceb,choicec, choiced])", "templateType": "anything", "group": "Ungrouped variables", "name": "choicee", "description": ""}, "choicef": {"definition": "random(14..27 except[choice,choiceb,choicec, choiced, choicee])", "templateType": "anything", "group": "Ungrouped variables", "name": "choicef", "description": ""}, "ci4c": {"definition": "random(0..11 except [ci1c, ci2c, ci3c])", "templateType": "anything", "group": "Ungrouped variables", "name": "ci4c", "description": ""}, "choiceb": {"definition": "random(0..27 except choice)", "templateType": "anything", "group": "Ungrouped variables", "name": "choiceb", "description": ""}, "choicec": {"definition": "random(0..27 except [choice, choiceb])", "templateType": "anything", "group": "Ungrouped variables", "name": "choicec", "description": ""}}, "metadata": {"description": "

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

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}], "extensions": [], "custom_part_types": [], "resources": []}