// Numbas version: exam_results_page_options {"name": "BODMAS: Ratio", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "aa", "c", "b", "d", "g", "f", "cc", "money", "bb", "m1", "m2", "side", "fac", "fic", "R", "fact", "fiction"], "name": "BODMAS: Ratio", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

To make bolognese {c} grams of minced beef feeds {a} people. How much minced beef is required for {b} people?

\n

Minced meat $=$ [[0]] grams. 

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

The sides of a triangle are in the ratio {d}:{g}:{f}. If the smallest side has length {side} cm what is  length of the longest side?

\n

Largest side: [[0]]  cm

", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "{{side}/{d}}*{f}", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "minValue": "{{side}/{d}}*{f}", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "

Sarah and Dave are to share {money} toy dinosaurs between them in the ratio of {m2}:{m1}.

\n

Sarah gets [[0]] dinosaurs.

\n

Dave gets [[1]] dinosaurs. 

", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "{money} * {m2}/({m1}+{m2})", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "minValue": "{money} * {m2}/({m1}+{m2})", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "{money} * {m1}/({m1}+{m2})", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "minValue": "{money} * {m1}/({m1}+{m2})", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "

Hetty and Georgina win a sum of money, which they agree to share in the ratio {aa}:{bb}

\n

\n

If Heather receives £{cc}, how much will Georgina receive? 

\n

Graham receives £[[0]]. 

", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "{bb}*{cc}/{aa}", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "minValue": "{bb}*{cc}/{aa}", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "

A book shop sell {fiction} different fiction books and {fact} different fact books.

\n

What is the ratio fact:fiction?

\n

Answer: [[0]] : [[1]]

", "marks": 0, "gaps": [{"allowFractions": false, "marks": 1, "maxValue": "fac", "minValue": "fac", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "marks": 1, "maxValue": "fic", "minValue": "fic", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}], "statement": "

Solve the following ratio questions. 

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(2..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a", "description": ""}, "aa": {"definition": "random(1..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "aa", "description": ""}, "c": {"definition": "random(100..1000#50)", "templateType": "randrange", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(6..20#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(1..g)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(1..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(5..12#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "f", "description": ""}, "cc": {"definition": "random(10..100)*(aa+bb)*5", "templateType": "anything", "group": "Ungrouped variables", "name": "cc", "description": ""}, "money": {"definition": "random(10..100)*(m1+m2)", "templateType": "anything", "group": "Ungrouped variables", "name": "money", "description": ""}, "fiction": {"definition": "fic*R", "templateType": "anything", "group": "Ungrouped variables", "name": "fiction", "description": ""}, "bb": {"definition": "random(6..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "bb", "description": ""}, "fic": {"definition": "random(1..5 except fac)", "templateType": "anything", "group": "Ungrouped variables", "name": "fic", "description": ""}, "R": {"definition": "random(500..1500)", "templateType": "anything", "group": "Ungrouped variables", "name": "R", "description": ""}, "m1": {"definition": "random(1..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "m1", "description": ""}, "m2": {"definition": "random(6..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "m2", "description": ""}, "fac": {"definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "fac", "description": ""}, "side": {"definition": "random(2..5)*d", "templateType": "anything", "group": "Ungrouped variables", "name": "side", "description": ""}, "fact": {"definition": "fac*R", "templateType": "anything", "group": "Ungrouped variables", "name": "fact", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Hayley Moore", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/495/"}]}]}], "contributors": [{"name": "Hayley Moore", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/495/"}]}