// Numbas version: finer_feedback_settings {"name": "Numbers IV: conversions (decimals and fractions)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"m": {"definition": "random(1..n-1)", "description": "", "name": "m", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"definition": "random(0..1#0.1 except[0,1])", "description": "", "name": "a", "templateType": "anything", "group": "Ungrouped variables"}, "h": {"definition": "random(1..j-1)", "description": "", "name": "h", "templateType": "anything", "group": "Ungrouped variables"}, "j": {"definition": "random([2,4,5,8,10,20,25,40,50,100,200,400,1000] except g)", "description": "", "name": "j", "templateType": "anything", "group": "Ungrouped variables"}, "l": {"definition": "random([2,4,5,8,10,20,25,40,50,100,200,400,1000] except j)", "description": "", "name": "l", "templateType": "anything", "group": "Ungrouped variables"}, "n": {"definition": "random([3,6,9])", "description": "", "name": "n", "templateType": "anything", "group": "Ungrouped variables"}, "k": {"definition": "random(1..l-1)", "description": "", "name": "k", "templateType": "anything", "group": "Ungrouped variables"}, "g": {"definition": "random([2,4,5,10,20,25,50,100,200,1000])", "description": "", "name": "g", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"definition": "random(0.21..0.99#0.02)", "description": "", "name": "b", "templateType": "randrange", "group": "Ungrouped variables"}, "c": {"definition": "random(0.119..0.999#0.002)", "description": "", "name": "c", "templateType": "randrange", "group": "Ungrouped variables"}, "d": {"definition": "random(0.11..0.2#0.02)", "description": "", "name": "d", "templateType": "randrange", "group": "Ungrouped variables"}, "f": {"definition": "random(1..g-1)", "description": "", "name": "f", "templateType": "anything", "group": "Ungrouped variables"}}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n"], "parts": [{"gaps": [{"mustBeReduced": false, "marks": 1, "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "type": "numberentry", "mustBeReducedPC": 0, "minValue": "(a*10)/10", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "variableReplacements": [], "maxValue": "(a*10)/10", "allowFractions": true, "notationStyles": ["plain", "en", "si-en"]}, {"mustBeReduced": false, "marks": 1, "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "type": "numberentry", "mustBeReducedPC": 0, "minValue": "(b*100)/100", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "variableReplacements": [], "maxValue": "(b*100)/100", "allowFractions": true, "notationStyles": ["plain", "en", "si-en"]}, {"mustBeReduced": false, "marks": 1, "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "type": "numberentry", "mustBeReducedPC": 0, "minValue": "(c*1000)/1000", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "variableReplacements": [], "maxValue": "(c*1000)/1000", "allowFractions": true, "notationStyles": ["plain", "en", "si-en"]}, {"mustBeReduced": false, "marks": 1, "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "type": "numberentry", "mustBeReducedPC": 0, "minValue": "(d*100)/100", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": true, "variableReplacements": [], "maxValue": "(d*100)/100", "allowFractions": true, "notationStyles": ["plain", "en", "si-en"]}], "steps": [{"marks": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "type": "information", "variableReplacements": [], "showCorrectAnswer": true, "prompt": ""}], "marks": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "variableReplacements": [], "showCorrectAnswer": true, "stepsPenalty": 0, "prompt": "

Give a fraction that is equivalent to the following decimals:

\n

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

\n

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

\n

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

\n

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

"}, {"gaps": [{"mustBeReduced": false, "marks": 1, "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "scripts": {}, "showFeedbackIcon": true, "type": "numberentry", "precision": "2", "strictPrecision": false, "mustBeReducedPC": 0, "minValue": "f/g", "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "variableReplacements": [], "showPrecisionHint": false, "maxValue": "f/g", "allowFractions": false, "precisionType": "dp"}, {"mustBeReduced": false, "marks": 1, "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "scripts": {}, "showFeedbackIcon": true, "type": "numberentry", "precision": "2", "strictPrecision": false, "mustBeReducedPC": 0, "minValue": "h/j", "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "variableReplacements": [], "showPrecisionHint": false, "maxValue": "h/j", "allowFractions": false, "precisionType": "dp"}, {"mustBeReduced": false, "marks": 1, "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "scripts": {}, "showFeedbackIcon": true, "type": "numberentry", "precision": "2", "strictPrecision": false, "mustBeReducedPC": 0, "minValue": "k/l", "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "variableReplacements": [], "showPrecisionHint": false, "maxValue": "k/l", "allowFractions": false, "precisionType": "dp"}, {"mustBeReduced": false, "marks": 1, "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "scripts": {}, "showFeedbackIcon": true, "type": "numberentry", "precision": "2", "strictPrecision": false, "mustBeReducedPC": 0, "minValue": "m/n", "precisionPartialCredit": 0, "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "variableReplacements": [], "showPrecisionHint": false, "maxValue": "m/n", "allowFractions": false, "precisionType": "dp"}], "steps": [{"marks": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "scripts": {}, "type": "information", "variableReplacements": [], "showCorrectAnswer": true, "prompt": "\n

If this is not possible, you could to try long division instead (after simplifying the fraction as much as possible to make the division easier).

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

Give the decimal that is equivalent to the following fractions: (Give your answer to 2 decimal places)

\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]]

"}], "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "functions": {}, "advice": "

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

\n

To convert decimals to fractions, follow these simple steps:

\n\n

To convert fractions to decimals, follow these steps:

\n\n

                          

\n
", "preamble": {"css": "", "js": ""}, "name": "Numbers IV: conversions (decimals and fractions)", "extensions": [], "statement": "

This test has two 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

", "metadata": {"description": "

These short questions allow you to practice converting between decimals and fractions.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "rulesets": {}, "variable_groups": [], "type": "question", "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/"}]}