// Numbas version: exam_results_page_options {"name": "Q1 & 3", "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"], "name": "Q1 & 3", "tags": ["rebelmaths"], "advice": "

Part 1:

\n

Add the ratio numbers and then divide the length by the summed total

\n

$\\frac{\\var{lent}}{\\var{summ}}$

\n

Then multiply each peice by the ratio length

\n

{numberone} * {ratio}

\n

{numbertwo} * {ratio}

\n

{numberthree} * {ratio}

\n

\n

Part 2:

\n

Use the same method as in part 1

\n

$\\frac{\\var{total}}{(\\var{numberone}+\\var{numbertwo}+\\var{numberfour})}$

\n

{numberone} * $65$

\n

{numbertwo} * $65$

\n

{numberfour} * $65$

\n

", "rulesets": {}, "parts": [{"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

(Don't forget the units!!!)

\n

[[0]]

\n

[[1]]

\n

[[2]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{ansone}cm", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{anstwo}cm", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{ansthree}cm", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Divide $\\var{total}$ in the ratio $\\var{numberone}$:$\\var{numbertwo}$:$\\var{numberfour}$.

\n

[[0]]

\n

[[1]]

\n

[[2]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{ansfour}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{ansfive}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{anssix}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Solve the following to the nearest whole number:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"numberone": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberone", "description": ""}, "ansfive": {"definition": "65*{numbertwo}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansfive", "description": ""}, "anstwo": {"definition": "{ratio}*{numbertwo}", "templateType": "anything", "group": "Ungrouped variables", "name": "anstwo", "description": ""}, "ansone": {"definition": "{ratio}*{numberone}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansone", "description": ""}, "numberfour": {"definition": "random(2..7 except {numberone} except {numbertwo})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfour", "description": ""}, "material": {"definition": "random('wood','timber','glass','metal','plastic')", "templateType": "anything", "group": "Ungrouped variables", "name": "material", "description": ""}, "anssix": {"definition": "65*{numberfour}", "templateType": "anything", "group": "Ungrouped variables", "name": "anssix", "description": ""}, "numberthree": {"definition": "20-({numberone} + {numbertwo})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberthree", "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": ""}, "ansthree": {"definition": "{ratio}*{numberthree}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansthree", "description": ""}, "total": {"definition": "({numberone}+{numbertwo}+{numberfour})*65", "templateType": "anything", "group": "Ungrouped variables", "name": "total", "description": ""}, "ansfour": {"definition": "65*{numberone}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansfour", "description": ""}, "numbertwo": {"definition": "random(2..7 except {numberone})", "templateType": "anything", "group": "Ungrouped variables", "name": "numbertwo", "description": ""}, "ratio": {"definition": "{lent}/summ", "templateType": "anything", "group": "Ungrouped variables", "name": "ratio", "description": ""}}, "metadata": {"description": "

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}