// Numbas version: exam_results_page_options {"name": "Fractions - finding the original amount", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Fractions - finding the original amount", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Reverse the following fractional quantities to find the original amount.

", "advice": "", "rulesets": {}, "extensions": [], "variables": {"n1": {"name": "n1", "group": "Part a) variables", "definition": "num1*frac1", "description": "", "templateType": "anything"}, "num1": {"name": "num1", "group": "Part a) variables", "definition": "random(100..250)*bottom1", "description": "", "templateType": "anything"}, "top1": {"name": "top1", "group": "Part a) variables", "definition": "random(1..9)", "description": "", "templateType": "anything"}, "bottom1": {"name": "bottom1", "group": "Part a) variables", "definition": "random(top1+1..10)", "description": "", "templateType": "anything"}, "frac1": {"name": "frac1", "group": "Part a) variables", "definition": "top1/bottom1", "description": "", "templateType": "anything"}, "juice1": {"name": "juice1", "group": "Part b)", "definition": "random(juices)", "description": "", "templateType": "anything"}, "top2": {"name": "top2", "group": "Part b)", "definition": "random(1..9)", "description": "", "templateType": "anything"}, "bottom2": {"name": "bottom2", "group": "Part b)", "definition": "random(top2+1..10)", "description": "", "templateType": "anything"}, "frac2": {"name": "frac2", "group": "Part b)", "definition": "top2/bottom2", "description": "", "templateType": "anything"}, "n3": {"name": "n3", "group": "Part c) variables", "definition": "num3*frac3*60", "description": "", "templateType": "anything"}, "num3": {"name": "num3", "group": "Part c) variables", "definition": "random(4..5#0.1)", "description": "", "templateType": "anything"}, "top3": {"name": "top3", "group": "Part c) variables", "definition": "random([1,2,3,4])", "description": "", "templateType": "anything"}, "bottom3": {"name": "bottom3", "group": "Part c) variables", "definition": "random(top3+2..6)", "description": "", "templateType": "anything"}, "frac3": {"name": "frac3", "group": "Part c) variables", "definition": "top3/bottom3", "description": "", "templateType": "anything"}, "gcd1": {"name": "gcd1", "group": "Part a) variables", "definition": "gcd(top1, bottom1)", "description": "", "templateType": "anything"}, "top1_simp": {"name": "top1_simp", "group": "Part a) variables", "definition": "top1/gcd1", "description": "", "templateType": "anything"}, "bottom1_simp": {"name": "bottom1_simp", "group": "Part a) variables", "definition": "bottom1/gcd1", "description": "", "templateType": "anything"}, "gcd3": {"name": "gcd3", "group": "Part c) variables", "definition": "gcd(top3,bottom3)", "description": "", "templateType": "anything"}, "top3_simp": {"name": "top3_simp", "group": "Part c) variables", "definition": "top3/gcd3", "description": "", "templateType": "anything"}, "bottom3_simp": {"name": "bottom3_simp", "group": "Part c) variables", "definition": "bottom3/gcd3", "description": "", "templateType": "anything"}, "colour": {"name": "colour", "group": "Part a) variables", "definition": "random([\"red\",\"blue\",\"yellow\",\"pink\",\"orange\",\"purple\",\"green\",\"silver\",\"gold\",\"black\",\"white\"])", "description": "", "templateType": "anything"}, "juices": {"name": "juices", "group": "Part b)", "definition": "[\"orange\",\"grapefruit\",\"pomegranate\",\"cranberry\",\"apple\",\"grape\",\"blackcurrant\",\"blueberry\",\"mango\",\"pineapple\",\"strawberry\",\"raspberry\",\"tomato\"]", "description": "", "templateType": "anything"}, "juice2": {"name": "juice2", "group": "Part b)", "definition": "random(juices except [juice1])", "description": "", "templateType": "anything"}, "juice3": {"name": "juice3", "group": "Part b)", "definition": "random(juices except [juice1,juice2])", "description": "", "templateType": "anything"}, "gcd2": {"name": "gcd2", "group": "Part b)", "definition": "gcd(top2, bottom2)", "description": "", "templateType": "anything"}, "top2_simp": {"name": "top2_simp", "group": "Part b)", "definition": "top2/gcd2", "description": "", "templateType": "anything"}, "bottom2_simp": {"name": "bottom2_simp", "group": "Part b)", "definition": "bottom2/gcd2", "description": "", "templateType": "anything"}, "n2": {"name": "n2", "group": "Part b)", "definition": "frac2*num2*1000", "description": "", "templateType": "anything"}, "num2": {"name": "num2", "group": "Part b)", "definition": "random(10..25)/10", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part a) variables", "variables": ["n1", "num1", "top1", "bottom1", "frac1", "gcd1", "top1_simp", "bottom1_simp", "colour"]}, {"name": "Part b)", "variables": ["juice1", "juice2", "juice3", "top2", "bottom2", "frac2", "juices", "gcd2", "top2_simp", "bottom2_simp", "n2", "num2"]}, {"name": "Part c) variables", "variables": ["n3", "num3", "top3", "bottom3", "frac3", "gcd3", "top3_simp", "bottom3_simp"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"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, "prompt": "

Whilst decorating at home, Salem opens up a leftover tub to find they only have {n1}ml of {colour} paint left, which they know is around $\\frac{\\var{top1_simp}}{\\var{bottom1_simp}}$ of the original volume. 

\n

How much {colour} paint did Salem have initially?

", "minValue": "num1", "maxValue": "num1", "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, "prompt": "

To celebrate the end of their Bachelor's degree, Rue is hosting a party. The punch recipe they're using combines {juice1} juice, {juice2} juice and {juice3} juice, along with some other ingredients. By the end of the party, there is around {n2}mls of punch left, which is $\\frac{\\var{top2_simp}}{\\var{bottom2_simp}}$ of the starting amount. 

\n

How much punch did they start with? Give your answer in litres.

", "minValue": "num2", "maxValue": "num2", "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, "prompt": "

Every year, Shiloh takes part in the {place} marathon. After {n3} minutes of running, they are around $\\frac{\\var{top3_simp}}{\\var{bottom3_simp}}$ of the way through. How many hours will it take them in total?

", "minValue": "num3", "maxValue": "num3", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}]}]}], "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}]}