// Numbas version: exam_results_page_options {"name": "Decimals and Conversions - Test Yourself", "duration": 0, "metadata": {"description": "", "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, "showanswerstate": true, "showactualmark": true, "allowrevealanswer": true}, "type": "exam", "questions": [], "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": [{"name": "Decimals - Four Operations", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bonny Barkus", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/775/"}], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

Solve the following:

\n

$\\var{a} + \\var{b}$ = [[0]]

\n

$\\var{c} + \\var{d}$ = [[1]]

\n

$\\var{f} + \\var{g}$ = [[2]]

\n

$\\var{h} + \\var{j}$ = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "a+b", "minValue": "a+b", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "c+d", "minValue": "c+d", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "f+g", "minValue": "f+g", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "h+j", "minValue": "h+j", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Solve the following:

\n

$\\var{k} - \\var{l}$ = [[0]]

\n

$\\var{m} - \\var{n}$ = [[1]]

\n

$\\var{o} - \\var{p}$ = [[2]]

\n

$\\var{q} - \\var{r}$ = [[3]]

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "k-l", "minValue": "k-l", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "m-n", "minValue": "m-n", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "o-p", "minValue": "o-p", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "q-r", "minValue": "q-r", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Solve the following:

\n

$\\var{s} \\times \\var{t}$ = [[0]]

\n

$\\var{u} \\times \\var{v}$ = [[1]]

\n

$\\var{w} \\times \\var{x}$ = [[2]]

\n

$\\var{y} \\times \\var{z}$ = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "s*t", "minValue": "s*t", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "u*v", "minValue": "u*v", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "w*x", "minValue": "w*x", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "y*z", "minValue": "y*z", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Solve the following:

\n

$\\var{aa} \\div \\var{bb}$ = [[0]]

\n

$\\var{cc} \\div \\var{dd}$ = [[1]]

\n

$\\var{ee} \\div \\var{ff}$ = [[2]]

\n

$\\var{gg} \\div \\var{hh}$ = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "aa/bb", "minValue": "aa/bb", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "cc/dd", "minValue": "cc/dd", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "ee/ff", "minValue": "ee/ff", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "gg/hh", "minValue": "gg/hh", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

This quick question allows you to practice adding, subtracting, multiplying and dividing decimals.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"aa": {"definition": "random(3..20)*bb //random number divisible by bb", "templateType": "anything", "group": "Ungrouped variables", "name": "aa", "description": ""}, "cc": {"definition": "random(3..20)*dd //random number divisible by dd", "templateType": "anything", "group": "Ungrouped variables", "name": "cc", "description": ""}, "gg": {"definition": "random(3..20)*hh //random number divisible by hh", "templateType": "anything", "group": "Ungrouped variables", "name": "gg", "description": ""}, "ee": {"definition": "random(3..20)*ff //random number divisible by ff", "templateType": "anything", "group": "Ungrouped variables", "name": "ee", "description": ""}, "bb": {"definition": "random(0..5#0.1 except 0) //random one decimal number", "templateType": "anything", "group": "Ungrouped variables", "name": "bb", "description": ""}, "dd": {"definition": "random(0..20#0.01 except 0) //random two decimal number", "templateType": "anything", "group": "Ungrouped variables", "name": "dd", "description": ""}, "hh": {"definition": "random(0..1#0.001 except 0) //random one decimal number", "templateType": "anything", "group": "Ungrouped variables", "name": "hh", "description": ""}, "ff": {"definition": "random(0..20#0.001 except 0) //random one decimal number", "templateType": "anything", "group": "Ungrouped variables", "name": "ff", "description": ""}, "a": {"definition": "random(0..1#0.001 except 0) //random decimal between 0 and 1", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(0..5#0.001 except 0) //random 2 digit decimal between 0 and 5", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(0..1#0.001 except 0) //random decimal between 0 and 1", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(0..5#0.001 except 0) //random 3 digit decimal between 0 and 5", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(0..20#0.001 except 0)\n", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(0..20#0.01 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "random(10..50#0.001 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "k": {"definition": "random(0..1#0.001 except 0) //random decimal between 0 and 1", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "j": {"definition": "random(10..50#0.01 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}, "m": {"definition": "random(0..5#0.001 except 0) //random 2 digit decimal between 0 and 5", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random(0..k#0.001 except [0,k]) //random decimal between 0 and 1", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "o": {"definition": "random(0..20#0.01 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "o", "description": ""}, "n": {"definition": "random(0..m#0.001 except [0,m]) //random 3 digit decimal between 0 and 5", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "q": {"definition": "random(10..50#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "q", "description": ""}, "p": {"definition": "random(0..o#0.001 except [0,o])", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "s": {"definition": "random(0..20#0.1 except 0) //random one decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "r": {"definition": "random(10..q#0.001 except q)", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}, "u": {"definition": "random(0..20#0.1 except 0) //random one decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "u", "description": ""}, "t": {"definition": "random(0..20#0.1 except 0) //random one decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}, "w": {"definition": "random(0..20#0.01 except 0) //random two decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "w", "description": ""}, "v": {"definition": "random(0..20#0.01 except 0) //random two decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "v", "description": ""}, "y": {"definition": "random(0..20#0.01 except 0) //random two decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "y", "description": ""}, "x": {"definition": "random(0..20#0.01 except 0) //random two decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "x", "description": ""}, "z": {"definition": "random(0..20#0.001 except 0) //random three decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "z", "description": ""}}, "metadata": {"description": "

This is a non-calculator questions on adding, subtracting, multiplying and dividing decimals.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Conversions - Decimals and Percentages", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bonny Barkus", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/775/"}], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh", "ii", "jj", "kk", "ll"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"distractors": ["", "", "", "", "", "", "", ""], "prompt": "

Select the answer that is equal to $\\var{a}$%

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

$\\var{b}$

", "

$\\var{c}$

", "

$\\var{d}$

", "

$\\var{f}$

", "

$\\var{g}$

", "

$\\var{h}$

", "

$\\var{j}$

", "

$\\var{k}$

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

Select the answer that is equal to $\\var{l}$%

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

$\\var{m}$

", "

$\\var{n}$

", "

$\\var{o}$

", "

$\\var{p}$

", "

$\\var{q}$

", "

$\\var{r}$

", "

$\\var{s}$

", "

$\\var{t}$

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

Select the answer that is equal to $\\var{u}$

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

$\\var{v}$ %

", "

$\\var{w}$ %

", "

$\\var{x}$ %

", "

$\\var{y}$ %

", "

$\\var{z}$ %

", "

$\\var{aa}$ %

", "

$\\var{bb}$ %

", "

$\\var{cc}$ %

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

Select the answer that is equal to $\\var{dd}$

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

$\\var{ee}$ %

", "

$\\var{ff}$ %

", "

$\\var{gg}$ %

", "

$\\var{hh}$ %

", "

$\\var{ii}$ %

", "

$\\var{jj}$ %

", "

$\\var{kk}$ %

", "

$\\var{ll}$ %

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

Match up the equivalent decimals and percentages

", "matrix": [["1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], "shuffleAnswers": false, "minAnswers": 0, "variableReplacements": [], "answers": ["

$50$ %

", "

$25$ %

", "

$20$ %

", "

$10$ %

", "

$12.5$ %

", "

$5$ %

", "

$4$ %

", "

$1$ %

", "

$33.\\dot{3}$ %

", "

$11.\\dot{1}$ %

", "

$60$ %

", "

$30$ %

", "

$85$ %

", "

$66.\\dot{6}$ %

", "

$45$ %

"], "choices": ["

$0.5$

", "

$0.25$

", "

$0.2$

", "

$0.1$

", "

$0.125$

", "

$0.05$

", "

$0.04$

", "

$0.01$

", "

$0.3\\dot{3}$

", "

$0.1\\dot{1}$

", "

$0.6$

", "

$0.3$

", "

$0.85$

", "

$0.6\\dot{6}$

", "

$0.45$

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "marks": 0, "warningType": "none", "showCorrectAnswer": true, "type": "m_n_x", "shuffleChoices": false, "minMarks": 0, "layout": {"expression": "", "type": "all"}}], "statement": "

Here you just need to pick out the solution that is equivalent to the value in the question.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"aa": {"definition": "u*2", "templateType": "anything", "group": "Ungrouped variables", "name": "aa", "description": ""}, "jj": {"definition": "dd*2", "templateType": "anything", "group": "Ungrouped variables", "name": "jj", "description": ""}, "cc": {"definition": "u*20", "templateType": "anything", "group": "Ungrouped variables", "name": "cc", "description": ""}, "gg": {"definition": "dd/100", "templateType": "anything", "group": "Ungrouped variables", "name": "gg", "description": ""}, "ll": {"definition": "dd*20", "templateType": "anything", "group": "Ungrouped variables", "name": "ll", "description": ""}, "ee": {"definition": "dd*100", "templateType": "anything", "group": "Ungrouped variables", "name": "ee", "description": ""}, "bb": {"definition": "u*200", "templateType": "anything", "group": "Ungrouped variables", "name": "bb", "description": ""}, "dd": {"definition": "random(0..1#0.001)", "templateType": "anything", "group": "Ungrouped variables", "name": "dd", "description": ""}, "hh": {"definition": "dd*1000\n", "templateType": "anything", "group": "Ungrouped variables", "name": "hh", "description": ""}, "ff": {"definition": "dd*10", "templateType": "anything", "group": "Ungrouped variables", "name": "ff", "description": ""}, "a": {"definition": "random(1..100) //random percentage between 1 and 100", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "ii": {"definition": "dd/10", "templateType": "anything", "group": "Ungrouped variables", "name": "ii", "description": ""}, "c": {"definition": "a/10", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "a/100", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "a*100", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "a*10", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "a/1000", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "kk": {"definition": "dd*200", "templateType": "anything", "group": "Ungrouped variables", "name": "kk", "description": ""}, "h": {"definition": "a/2", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "k": {"definition": "a/20", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "j": {"definition": "a/200", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}, "m": {"definition": "l/100", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random(1..100#0.1) //random decimal percentage", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "o": {"definition": "l*100", "templateType": "anything", "group": "Ungrouped variables", "name": "o", "description": ""}, "n": {"definition": "l/10", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "q": {"definition": "l*10", "templateType": "anything", "group": "Ungrouped variables", "name": "q", "description": ""}, "p": {"definition": "l/1000", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "s": {"definition": "l/200", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "r": {"definition": "l/2", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}, "u": {"definition": "random(0..1#0.01) //random decimal to become a percentage", "templateType": "anything", "group": "Ungrouped variables", "name": "u", "description": ""}, "t": {"definition": "l/20", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}, "w": {"definition": "u*10", "templateType": "anything", "group": "Ungrouped variables", "name": "w", "description": ""}, "v": {"definition": "u*100", "templateType": "anything", "group": "Ungrouped variables", "name": "v", "description": ""}, "y": {"definition": "u*1000", "templateType": "anything", "group": "Ungrouped variables", "name": "y", "description": ""}, "x": {"definition": "u/100", "templateType": "anything", "group": "Ungrouped variables", "name": "x", "description": ""}, "z": {"definition": "u/10", "templateType": "anything", "group": "Ungrouped variables", "name": "z", "description": ""}}, "metadata": {"description": "

This question concentrates on converting between decimals and percentages

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Conversions - Decimals and Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bonny Barkus", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/775/"}], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n"], "tags": [], "advice": "", "rulesets": {}, "parts": [{"prompt": "

Give a fraction which is equivalent to these decimals:

\n

$\\var{a}$ = [[0]]

\n

$\\var{b}$ = [[1]]

\n

$\\var{c}$ = [[2]]

\n

$\\var{d}$ = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "(a*10)/10", "minValue": "(a*10)/10", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "(b*100)/100", "minValue": "(b*100)/100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "(c*1000)/1000", "minValue": "(c*1000)/1000", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "(d*100)/100", "minValue": "(d*100)/100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Give the decimal that is equivalent to these fractions:

\n

$\\frac{\\var{f}}{\\var{g}}$ = [[0]]

\n

$\\frac{\\var{h}}{\\var{j}}$ = [[1]]

\n

$\\frac{\\var{k}}{\\var{l}}$ = [[2]]

\n

$\\frac{\\var{m}}{\\var{n}}$ = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "f/g", "minValue": "f/g", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "h/j", "minValue": "h/j", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "k/l", "minValue": "k/l", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "m/n", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "m/n", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"maxAnswers": 0, "prompt": "

Match any pairs of fractions and decimals (you might not use all of the options).

", "matrix": [["1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], "shuffleAnswers": true, "minAnswers": "0", "variableReplacements": [], "answers": ["

$\\frac{1}{2}$

", "

$\\frac{1}{4}$

", "

$\\frac{1}{5}$

", "

$\\frac{1}{10}$

", "

$\\frac{1}{8}$

", "

$\\frac{1}{20}$

", "

$\\frac{1}{25}$

", "

$\\frac{1}{100}$

", "

$\\frac{1}{3}$

", "

$\\frac{1}{9}$

", "

$\\frac{3}{4}$

", "

$\\frac{2}{5}$

", "

$\\frac{1}{11}$

", "

$\\frac{1}{33}$

", "

$\\frac{1}{01}$

"], "choices": ["

$0.5$

", "

$0.25$

", "

$0.2$

", "

$0.1$

", "

$0.125$

", "

$0.05$

", "

$0.04$

", "

$0.01$

", "

$0.3\\dot{3}$

", "

$0.1\\dot{1}$

", "

$0.6$

", "

$0.3$

", "

$0.85$

", "

$0.6\\dot{6}$

", "

$0.45$

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": "10", "scripts": {}, "warningType": "none", "marks": 0, "showCorrectAnswer": true, "type": "m_n_x", "shuffleChoices": true, "minMarks": "10", "layout": {"type": "all", "expression": ""}}], "statement": "

This question allows you to practice converting between decimals and fractions

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(0..1#0.1 except[0,1])", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(0..1#0.001 except [0,1])", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(0..1#0.01 except[0,1])", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(1..2#0.01 except [1,2])", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random([2,4,5,10,20,25,50,100,200,1000])", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(1..g-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "random(1..j-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "k": {"definition": "random(1..l-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "j": {"definition": "random([2,4,5,8,10,20,25,40,50,100,200,400,1000] except g)", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}, "m": {"definition": "random(1..n-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random([2,4,5,8,10,20,25,40,50,100,200,400,1000] except j)", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "n": {"definition": "random([3,6,9])", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}}, "metadata": {"description": "

This question allows you to practice converting between decimals and fractions

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Conversions - Fractions and Percentages", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Bonny Barkus", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/775/"}], "functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

Insert a fraction that has the same value as the following percentages:

\n

$\\var{a}$ % = [[0]]

\n

$\\var{b}$ % = [[1]]

\n

$\\var{c}$ % = [[2]]

\n

$\\var{d}$ % = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "a/100", "minValue": "a/100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "b/100", "minValue": "b/100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "c/100", "minValue": "c/100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": true, "variableReplacements": [], "maxValue": "d/100", "minValue": "d/100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Insert the correct percentage for each of these fractions

\n

$\\frac{\\var{f}}{\\var{g}}$ = [[0]]

\n

$\\frac{\\var{h}}{\\var{j}}$ = [[1]]

\n

$\\frac{\\var{k}}{\\var{l}}$ = [[2]]

\n

$\\frac{\\var{m}}{\\var{n}}$ = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "(f/g)*100", "minValue": "(f/g)*100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "(h/j)*100", "minValue": "(h/j)*100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "(k/l)*100", "minValue": "(k/l)*100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "(m/n)*100", "minValue": "(m/n)*100", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"maxAnswers": "15", "prompt": "

Match up commonly used fractions and percentages

", "matrix": [["1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, "1", 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], "shuffleAnswers": true, "minAnswers": "10", "variableReplacements": [], "answers": ["

$\\frac{1}{2}$

", "

$\\frac{1}{4}$

", "

$\\frac{1}{5}$

", "

$\\frac{1}{10}$

", "

$\\frac{1}{8}$

", "

$\\frac{1}{20}$

", "

$\\frac{1}{25}$

", "

$\\frac{1}{100}$

", "

$\\frac{1}{3}$

", "

$\\frac{1}{9}$

", "

$\\frac{3}{4}$

", "

$\\frac{2}{5}$

", "

$\\frac{1}{11}$

", "

$\\frac{1}{6}$

", "

$\\frac{1}{45}$

"], "choices": ["

$50$ %

", "

$25$ %

", "

$20$ %

", "

$10$ %

", "

$12.5$ %

", "

$5$ %

", "

$4$ %

", "

$1$ %

", "

$33.\\dot{3}$ %

", "

$11.\\dot{1}$ %

", "

$60$ %

", "

$30$ %

", "

$85$ %

", "

$66.\\dot{6}$ %

", "

$45$ %

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": "10", "scripts": {}, "marks": 0, "warningType": "none", "showCorrectAnswer": true, "type": "m_n_x", "shuffleChoices": true, "minMarks": "10", "layout": {"expression": "", "type": "all"}}], "statement": "

This question allows you to practice converting between fractions and percentages.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(0..100#10 except [0,100])", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(0..100 except [0,100])", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(0..100#5 except [0,100])", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(1..200)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random([2,4,5,10,20,25,50,100])", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(1..g-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "random(0..j-1#2 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "k": {"definition": "random(0..l-1#4 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "j": {"definition": "random([4,5,10,20,25,40,50,100,200])", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}, "m": {"definition": "random(1..n)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random([8,16,20,40,80,100,200,400])", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "n": {"definition": "random([3,6,9])", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}}, "metadata": {"description": "

This question will help you practice converting between fractions and percentages

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