// Numbas version: finer_feedback_settings {"name": " Conversions - Decimals and Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n"], "name": " Conversions - Decimals and Fractions", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

Fractions and decimals represent the same things: numbers that are not whole numbers.

\n

To convert decimals to fractions, simply follow these steps:

\n\n

To convert fractions to decimals, simply follow these steps:

\n\n
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "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", "steps": [{"prompt": "", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "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"}, {"stepsPenalty": 0, "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", "steps": [{"prompt": "", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "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": [], "maxValue": "m/n", "strictPrecision": false, "minValue": "m/n", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "3", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": 0, "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", "maxMarks": "10", "variableReplacements": [], "displayType": "radiogroup", "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}$

"], "warningType": "none", "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "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$

"], "type": "m_n_x", "shuffleChoices": true, "minMarks": "10", "layout": {"expression": "", "type": "all"}}], "extensions": [], "statement": "

This test has three parts which deal with the conversion of decimals to fractions and vice-versa.

\n

Please attempt all the questions and for further guidance, please check this video- https://www.youtube.com/watch?v=Yca7BpcMRpI

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "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": "

These short questions allow 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": []}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}]}]}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}]}