// Numbas version: exam_results_page_options {"name": "Converting between fractions, decimals and percentages", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Converting between fractions, decimals and percentages", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Convert between the following fractions, decimals and percentages.

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a1": {"name": "a1", "group": "Part a) variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Part a) variables", "definition": "random(a1+1..10)", "description": "", "templateType": "anything", "can_override": false}, "gcd1": {"name": "gcd1", "group": "Part a) variables", "definition": "gcd(a1,a2)", "description": "", "templateType": "anything", "can_override": false}, "top1": {"name": "top1", "group": "Part a) variables", "definition": "a1/gcd1", "description": "", "templateType": "anything", "can_override": false}, "bottom1": {"name": "bottom1", "group": "Part a) variables", "definition": "a2/gcd1", "description": "", "templateType": "anything", "can_override": false}, "frac1": {"name": "frac1", "group": "Part a) variables", "definition": "top1/bottom1", "description": "", "templateType": "anything", "can_override": false}, "frac2": {"name": "frac2", "group": "Part b) variables", "definition": "fract(top2/bottom2)", "description": "", "templateType": "anything", "can_override": false}, "bottom2": {"name": "bottom2", "group": "Part b) variables", "definition": "random(top2+1..10)", "description": "", "templateType": "anything", "can_override": false}, "top2": {"name": "top2", "group": "Part b) variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "frac3": {"name": "frac3", "group": "Part c) variables", "definition": "(fract(top3/bottom3))*100", "description": "", "templateType": "anything", "can_override": false}, "bottom3": {"name": "bottom3", "group": "Part c) variables", "definition": "random(top3+1..10)", "description": "", "templateType": "anything", "can_override": false}, "top3": {"name": "top3", "group": "Part c) variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "gcd3": {"name": "gcd3", "group": "Part c) variables", "definition": "gcd(top3,bottom3)", "description": "", "templateType": "anything", "can_override": false}, "c1": {"name": "c1", "group": "Part c) variables", "definition": "top3/gcd3", "description": "", "templateType": "anything", "can_override": false}, "c2": {"name": "c2", "group": "Part c) variables", "definition": "bottom3/gcd3", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part a) variables", "variables": ["frac1", "bottom1", "top1", "gcd1", "a2", "a1"]}, {"name": "Part b) variables", "variables": ["frac2", "bottom2", "top2"]}, {"name": "Part c) variables", "variables": ["frac3", "bottom3", "top3", "gcd3", "c1", "c2"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Convert $\\frac{\\var{top1}}{\\var{bottom1}}$ into:

\n

1. A decimal

\n

[[0]]

\n

2. A percentage

\n

[[1]]%

\n

\n

Note: give your answers up to two decimal places.

\n

\n

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "frac1", "maxValue": "frac1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "frac1*100", "maxValue": "frac1*100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Convert {frac2} into:

\n

1. A fraction

\n

[[0]]

\n

2. A percentage

\n

[[1]]%

\n

\n

Note: give your answers up to three decimal places.

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "frac2", "maxValue": "frac2", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "frac2*100", "maxValue": "frac2*100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Convert {frac3}% into:

\n

1. A fraction

\n

[[0]]

\n

2. A decimal

\n

[[1]]

\n

\n

Note: give your answers up to three decimal places.

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c1/c2", "maxValue": "c1/c2", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "frac3/100", "maxValue": "frac3/100", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}, {"name": "Marta Emmett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11961/"}]}]}], "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}, {"name": "Marta Emmett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11961/"}]}