// Numbas version: exam_results_page_options {"name": "Scaling up ratios", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "
Scaling up ratios.
"}, "variable_groups": [], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"js": "", "css": ""}, "name": "Scaling up ratios", "rulesets": {}, "statement": "There are {axbx} people at a wedding, with adults to children in a ratio of {a}:{b}.
", "functions": {}, "extensions": [], "ungrouped_variables": ["a", "b", "x", "ax", "bx", "axbx", "c", "d", "y", "cy", "dy", "cydy"], "parts": [{"variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "correctAnswerFraction": false, "prompt": "How many adults are there?
", "mustBeReduced": false, "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "scripts": {}, "showFeedbackIcon": true, "maxValue": "{ax}", "variableReplacements": [], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "marks": 1, "minValue": "{ax}"}, {"variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "correctAnswerFraction": false, "prompt": "How many children are there?
", "mustBeReduced": false, "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "scripts": {}, "showFeedbackIcon": true, "maxValue": "{bx}", "variableReplacements": [], "correctAnswerStyle": "plain", "showCorrectAnswer": true, "marks": 1, "minValue": "{bx}"}], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..6)", "templateType": "anything", "description": ""}, "ax": {"name": "ax", "group": "Ungrouped variables", "definition": "a*x", "templateType": "anything", "description": ""}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(2..10)", "templateType": "anything", "description": ""}, "bx": {"name": "bx", "group": "Ungrouped variables", "definition": "b*x", "templateType": "anything", "description": ""}, "cydy": {"name": "cydy", "group": "Ungrouped variables", "definition": "cy+dy", "templateType": "anything", "description": ""}, "dy": {"name": "dy", "group": "Ungrouped variables", "definition": "d*y", "templateType": "anything", "description": ""}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..6)", "templateType": "anything", "description": ""}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(2..10)", "templateType": "anything", "description": ""}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..6)", "templateType": "anything", "description": ""}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..6)", "templateType": "anything", "description": ""}, "axbx": {"name": "axbx", "group": "Ungrouped variables", "definition": "ax+bx", "templateType": "anything", "description": ""}, "cy": {"name": "cy", "group": "Ungrouped variables", "definition": "c*y", "templateType": "anything", "description": ""}}, "advice": "Remember:
\nAdd the two parts of the ratio together to give the total number of parts.
\nDivide the number of people at the wedding by the total number of parts.
\nMultiply this by each \"side\" of the ratio to give the actual number of adults and children that are present at the wedding.
", "type": "question", "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}