// Numbas version: finer_feedback_settings {"name": "Mock exam 1 Ratios L1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["material", "numberone", "numbertwo", "numberthree", "ansone", "ratio", "anstwo", "ansthree", "lent", "summ", "numberfour", "total", "ansfour", "ansfive", "anssix", "money", "ratioab", "ratioc", "ans31", "ans32", "ans33", "numberone1", "numbertwo1", "k"], "name": "Mock exam 1 Ratios L1", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
Part 1:
\nAdd the ratio numbers and then divide the length by the summed total
\n$\\frac{\\var{lent}}{\\var{summ}}$
\nThen multiply each peice by the ratio length
\n$\\var{numberone} \\times \\var{ratio}$
\n$\\var{numbertwo} \\times \\var{ratio}$
\n$\\var{numberthree} \\times \\var{ratio}$
\n\n
Part 2:
\nUse the same method as in part 1
\n$\\frac{\\var{total}}{(\\var{numberone1}+\\var{numbertwo1}+\\var{numberfour})}$
\n$\\var{numberone} \\times \\var{k}$
\n$\\var{numbertwo} \\times \\var{k}$
\n$\\var{numberfour} \\times \\var{k}$
\n\n
Part 4:
\n$(\\frac{\\var{money}}{(\\var{ratioab[0]} + \\var{ratioab[1]} + \\var{ratioc})}) \\times \\var{ratioab[0]} = \\var{ans31}$
\n$(\\frac{\\var{money}}{(\\var{ratioab[0]} + \\var{ratioab[1]} + \\var{ratioc})}) \\times \\var{ratioab[1]} = \\var{ans32}$
\n$(\\frac{\\var{money}}{(\\var{ratioab[0]} + \\var{ratioab[1]} + \\var{ratioc})}) \\times \\var{ratioc} = \\var{ans33}$
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "A piece of $\\var{material}$ $\\var{lent}$ cm long is cut into three pieces in the ratio of $\\var{numberone}$ to $\\var{numbertwo}$ to $\\var{numberthree}$. Determine the lengths of the three pieces.
\n[[0]]cm
\n[[1]]cm
\n[[2]]cm
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "Imagine that the $\\var{material}$ is divided into $\\var{numberone}$ + $\\var{numbertwo}$ +$\\var{numberthree}$ pieces. The first piece should be $\\var{numberone}$ times its length. The second piece should be $\\var{numbertwo}$ times this length. The third piece should be $\\var{numberthree}$ times this length.
\nDouble check: When you add up your pieces they should add to $\\var{lent}$.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ansone}", "strictPrecision": false, "minValue": "{ansone}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{anstwo}", "strictPrecision": false, "minValue": "{anstwo}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ansthree}", "strictPrecision": false, "minValue": "{ansthree}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "Divide $\\var{total}$ in the ratio $\\var{numberone1}$:$\\var{numbertwo1}$:$\\var{numberfour}$.
\n[[0]]
\n[[1]]
\n[[2]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "Divide $\\var{total}$ into $\\var{numberone1}$ + $\\var{numbertwo1}$ + $\\var{numberfour}$ parts. Each of these parts contain $\\var{k}$.
\nFind $k \\times \\var{numberone}$
\nFind $k \\times \\var{numbertwo}$
\nFind $k \\times \\var{numberfour}$
\nTo double check, add these results together. You should get $\\var{total}$.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ansfour}", "minValue": "{ansfour}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{ansfive}", "minValue": "{ansfive}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{anssix}", "minValue": "{anssix}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "Divide €$\\var{money}$ in the ratio $\\var{ratioab[0]}:\\var{ratioab[1]}:\\var{ratioc}$
\n(Calculate to 2 decimal place!!)
\n€[[0]] : €[[1]] : €[[2]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "Just as before, add all parts together and divide by this.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ans31}", "strictPrecision": false, "minValue": "{ans31}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ans32}", "strictPrecision": false, "minValue": "{ans32}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ans33}", "strictPrecision": false, "minValue": "{ans33}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "showPrecisionHint": false, "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "Solve the following to the nearest whole number:
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"numberone1": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberone1", "description": ""}, "money": {"definition": "random(7050..9050#100)", "templateType": "anything", "group": "Ungrouped variables", "name": "money", "description": ""}, "total": {"definition": "({numberone1}+{numbertwo1}+{numberfour})*k", "templateType": "anything", "group": "Ungrouped variables", "name": "total", "description": ""}, "numbertwo1": {"definition": "random(2..7 except {numberone1})", "templateType": "anything", "group": "Ungrouped variables", "name": "numbertwo1", "description": ""}, "numberone": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberone", "description": ""}, "ratioab": {"definition": "shuffle(2.1..4.4#0.1)[0..2]", "templateType": "anything", "group": "Ungrouped variables", "name": "ratioab", "description": ""}, "ratio": {"definition": "{lent}/summ", "templateType": "anything", "group": "Ungrouped variables", "name": "ratio", "description": ""}, "ansone": {"definition": "{ratio}*{numberone}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansone", "description": ""}, "anstwo": {"definition": "{ratio}*{numbertwo}", "templateType": "anything", "group": "Ungrouped variables", "name": "anstwo", "description": ""}, "numberfour": {"definition": "random(2..7 except {numberone1} except {numbertwo1})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfour", "description": ""}, "ansfive": {"definition": "k*{numbertwo1}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansfive", "description": ""}, "numberthree": {"definition": "20-({numberone} + {numbertwo})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberthree", "description": ""}, "anssix": {"definition": "k*{numberfour}", "templateType": "anything", "group": "Ungrouped variables", "name": "anssix", "description": ""}, "ansfour": {"definition": "k*{numberone1}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansfour", "description": ""}, "ratioc": {"definition": "10 - (ratioab[0] + ratioab[1])", "templateType": "anything", "group": "Ungrouped variables", "name": "ratioc", "description": ""}, "material": {"definition": "random('wood','timber','glass','metal','plastic')", "templateType": "anything", "group": "Ungrouped variables", "name": "material", "description": ""}, "summ": {"definition": "{numberone}+{numbertwo}+{numberthree}", "templateType": "anything", "group": "Ungrouped variables", "name": "summ", "description": ""}, "lent": {"definition": "random(140..400#20)", "templateType": "anything", "group": "Ungrouped variables", "name": "lent", "description": ""}, "ans31": {"definition": "({money}/10)*ratioab[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "ans31", "description": ""}, "ans32": {"definition": "({money}/10)*ratioab[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "ans32", "description": ""}, "ans33": {"definition": "({money}/10)*{ratioc}", "templateType": "anything", "group": "Ungrouped variables", "name": "ans33", "description": ""}, "ansthree": {"definition": "{ratio}*{numberthree}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansthree", "description": ""}, "k": {"definition": "random(61..68)", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "numbertwo": {"definition": "random(2..7 except {numberone})", "templateType": "anything", "group": "Ungrouped variables", "name": "numbertwo", "description": ""}}, "metadata": {"description": "Ratio Questions
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}]}], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}