// Numbas version: exam_results_page_options {"name": " Writing a simplified simple ratio", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "parts": [{"sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "unitTests": [], "prompt": "

[[0]]:[[1]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "minValue": "c", "type": "numberentry", "showCorrectAnswer": true, "unitTests": [], "showFeedbackIcon": true, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "mustBeReduced": false, "maxValue": "c", "marks": 1, "mustBeReducedPC": 0, "scripts": {}, "variableReplacements": [], "allowFractions": false, "correctAnswerStyle": "plain"}, {"variableReplacementStrategy": "originalfirst", "minValue": "d", "type": "numberentry", "showCorrectAnswer": true, "unitTests": [], "showFeedbackIcon": true, "correctAnswerFraction": false, "customMarkingAlgorithm": "", "notationStyles": ["plain", "en", "si-en"], "extendBaseMarkingAlgorithm": true, "mustBeReduced": false, "maxValue": "d", "marks": 1, "mustBeReducedPC": 0, "scripts": {}, "variableReplacements": [], "allowFractions": false, "correctAnswerStyle": "plain"}], "showFeedbackIcon": true, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "marks": 0, "scripts": {}, "variableReplacements": []}], "advice": "

Remember you can write ratios like so:

\n

If I have n apples and x oranges, the ratio of apples to oranges is n:x

\n

", "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "

We can mix purple paint from red and blue paint. Write the following combination of red and blue paint as a ratio in its simplest form:

\n

{cy} parts of red paint to {dy} parts of blue paint

", "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Converting into a ratio

"}, "variables": {"y": {"description": "", "definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "y"}, "d": {"description": "", "definition": "random([1,2,3,5] except c)", "templateType": "anything", "group": "Ungrouped variables", "name": "d"}, "b": {"description": "", "definition": "random([1,2,3,5,7,11,13] except a)", "templateType": "anything", "group": "Ungrouped variables", "name": "b"}, "ax": {"description": "", "definition": "a*x", "templateType": "anything", "group": "Ungrouped variables", "name": "ax"}, "cy": {"description": "", "definition": "c*y", "templateType": "anything", "group": "Ungrouped variables", "name": "cy"}, "dy": {"description": "", "definition": "d*y", "templateType": "anything", "group": "Ungrouped variables", "name": "dy"}, "bx": {"description": "", "definition": "b*x", "templateType": "anything", "group": "Ungrouped variables", "name": "bx"}, "c": {"description": "", "definition": "random([1,2,3,5])", "templateType": "anything", "group": "Ungrouped variables", "name": "c"}, "x": {"description": "", "definition": "random(1..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "x"}, "a": {"description": "", "definition": "random([1,2,3,5,7,11])", "templateType": "anything", "group": "Ungrouped variables", "name": "a"}}, "variable_groups": [], "tags": [], "rulesets": {}, "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["a", "b", "c", "ax", "x", "bx", "d", "y", "cy", "dy"], "functions": {}, "name": " Writing a simplified simple ratio", "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/"}]}