// Numbas version: exam_results_page_options {"name": "Writing ratios in the form n:1 or 1:n", "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": "

Writing ratios in the form n:1 or 1:n

"}, "variable_groups": [], "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"js": "", "css": ""}, "name": "Writing ratios in the form n:1 or 1:n", "statement": "

This question is about writing ratios in the form 1:n or n:1.

", "functions": {}, "advice": "

Remember:

\n

When showing a ratio (e.g., 20:30) in the form 1:n, divide both sides by the left hand side of the ratio (e.g., 20 in the previous example).

\n

When showing a ratio (e.g., 20:30) in the form n:1, divide both sides by the left hand side of the ratio (e.g., 30 in the previous example).

", "ungrouped_variables": ["a", "b", "h", "n", "c", "d", "f", "g"], "rulesets": {}, "parts": [{"variableReplacementStrategy": "originalfirst", "gaps": [{"variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "minValue": "{h}", "correctAnswerFraction": false, "mustBeReduced": false, "allowFractions": true, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "maxValue": "{h}", "variableReplacements": [], "correctAnswerStyle": "plain", "type": "numberentry", "marks": 1}, {"precisionMessage": "

You have not given your answer to the correct number of decimal places.

", "variableReplacements": [], "allowFractions": false, "precisionType": "dp", "mustBeReducedPC": 0, "minValue": "{n}", "precision": "2", "mustBeReduced": false, "type": "numberentry", "maxValue": "{n}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "notationStyles": ["plain", "en", "si-en"], "showPrecisionHint": false, "marks": 1, "showFeedbackIcon": true, "correctAnswerFraction": false, "strictPrecision": false, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "scripts": {}}], "showFeedbackIcon": true, "prompt": "

Express the ratio {a}:{b} in the form 1:n.

\n

Give your decimal answers to 2dp.

\n

\n

[[0]]:[[1]]

", "variableReplacements": [], "type": "gapfill", "scripts": {}, "showCorrectAnswer": true, "marks": 0}, {"variableReplacementStrategy": "originalfirst", "gaps": [{"precisionMessage": "

You have not given your answer to the correct number of decimal places.

", "variableReplacements": [], "allowFractions": false, "precisionType": "dp", "mustBeReducedPC": 0, "minValue": "{f}", "precision": "2", "mustBeReduced": false, "type": "numberentry", "maxValue": "{f}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "notationStyles": ["plain", "en", "si-en"], "showPrecisionHint": false, "marks": 1, "showFeedbackIcon": true, "correctAnswerFraction": false, "strictPrecision": false, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "minValue": "{g}", "correctAnswerFraction": false, "mustBeReduced": false, "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "scripts": {}, "showFeedbackIcon": true, "maxValue": "{g}", "variableReplacements": [], "correctAnswerStyle": "plain", "type": "numberentry", "marks": 1}], "showFeedbackIcon": true, "prompt": "

Express the ratio {c}:{d} in the form n:1.

\n

Give your decimal answers to 2dp.

\n

\n

[[0]]:[[1]]

", "variableReplacements": [], "type": "gapfill", "scripts": {}, "showCorrectAnswer": true, "marks": 0}], "variables": {"b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..15 except a)", "description": ""}, "a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..15)", "description": ""}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..15 except c)", "description": ""}, "g": {"name": "g", "group": "Ungrouped variables", "templateType": "anything", "definition": "d/d", "description": ""}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(2..15)", "description": ""}, "n": {"name": "n", "group": "Ungrouped variables", "templateType": "anything", "definition": "b/a", "description": ""}, "h": {"name": "h", "group": "Ungrouped variables", "templateType": "anything", "definition": "a/a", "description": ""}, "f": {"name": "f", "group": "Ungrouped variables", "templateType": "anything", "definition": "c/d", "description": ""}}, "extensions": [], "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/"}]}