// Numbas version: exam_results_page_options {"showstudentname": true, "timing": {"timedwarning": {"message": "", "action": "none"}, "allowPause": true, "timeout": {"message": "", "action": "none"}}, "feedback": {"allowrevealanswer": true, "showanswerstate": true, "intro": "", "showtotalmark": true, "feedbackmessages": [], "showactualmark": true, "advicethreshold": 0}, "duration": 0, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questions": [{"name": "BODMAS: Percentages", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Hayley Moore", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/495/"}], "functions": {}, "ungrouped_variables": ["a", "b", "mint", "chocolate", "sweets", "num", "den", "n", "d", "per", "marks", "increase", "new_mark", "decimal", "gcd_per100", "numerator", "denominator", "marks_increased", "p", "dec"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
Questions of the form \"find $\\var{a}\\%$ of $\\var{b}$\".
\nIn order to answer this you multiply the number, $\\var{b}$, by the percentage over 100, $\\dfrac{\\var{a}}{100}$
\n$\\var{b} \\times \\dfrac{\\var{a}}{100} = \\simplify{{a}*{b}/100}$
\nRemember: Give you answer to 2 decimal places.
\n\n\nQuestions of the form \"if a mixed bag of $\\var{sweets}$ sweets contains $\\var{mint}$ mints and $\\var{chocolate}$ chocolates. What percentage of the contents is chocolate\"
\nTo calculate the percentage of chocolate sweets in the bag you must divide the number of chocolates by the total number of sweets and then multiply by $100%$.
\n$\\dfrac{\\var{chocolate}}{\\var{sweets}}\\times 100 = \\simplify{100*{chocolate}/{sweets}}.
\nRemember: Give you answer to 2 decimal places.
\n\n\nQuestions of the form \"convert $\\dfrac{\\var{num}}{\\var{den}}$ into a percentage\"
\nThis question is very similar to part b). We already have the number in fractional form if we covert this into a decimal and multiply by $100\\%$ we obtain the percentage
\n$\\dfrac{\\var{num}}{\\var{den}} = \\var{deciamal}\\times 100\\% = \\simplify{{decimal}*100}\\%$
\nRemember: Give you answer to 2 decimal places.
\n\n\nQuestions of the form \"convert $\\var{per}\\%$ into a fraction\"
\nTo do this you simply divide by $100$.
\n$\\var{per}\\% = \\dfrac{\\var{per}}{100} = \\dfrac{\\var{numerator}}{\\var{denominator}}$
\n\n\nQuestions of the form \"Last year the average mark in an exam was $\\var{marks}$. They have now increased by $\\var{increase}$ percent. What is the current average mark?\"
\nWe start by finding $\\var{increase}$ % of $\\var{marks}$.
\n$\\var{marks}\\times\\dfrac{\\var{increase}}{100} = \\var{marks_increased}$
\nWe then add this onto last years average marks to find this years
\n$\\var{marks} + \\var{marks_increased} = \\var{new_mark}$
", "rulesets": {}, "parts": [{"prompt": "Find $\\var{a}\\%$ of $\\var{b}$
\nAnswer: [[0]] (2.d.p)
", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct number of decimal places.
", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "(a/100)*b", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "minValue": "(a/100)*b", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "If a mixed bag of $\\var{sweets}$ sweets contains $\\var{mint}$ mints and $\\var{chocolate}$ chocolates. What percentage of the contents is chocolate?
\n\nAnswer: [[0]] %(2.dp)
", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "(chocolate/sweets)*100", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "minValue": "(chocolate/sweets)*100", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "Convert $\\dfrac{\\var{num}}{\\var{den}}$ into a percentage.
\nAnswer: [[0]] % (2dp)
", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct number of decimal places.
", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "(num/den)*100", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "minValue": "(num/den)*100", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "Convert $\\var{per}\\%$ into a fraction. Fraction must be in it's simplest form.
\nAnswer: [[0]] /[[1]]
", "marks": 0, "gaps": [{"allowFractions": false, "marks": 1, "maxValue": "numerator", "minValue": "numerator", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "marks": 1, "maxValue": "denominator", "minValue": "denominator", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "Last year the average mark in an exam was $\\var{marks}$. They have now increased by $\\var{increase}$ percent. What is the current average mark?
\nAnswer: [[0]]
", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "new_mark", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "minValue": "new_mark", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "Write $\\var{p}$ as a decimal?
\nAnswer: [[0]] (2 d.p.)
", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision. Please give your answer to 2 decimal places.
", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "dec", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "minValue": "dec", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}], "statement": "Answer the following questions on percentages.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(1..20)*5", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "b": {"definition": "random(1..30)*10", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(n+1..20)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "p": {"definition": "random(1..99)", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "marks_increased": {"definition": "marks*increase/100", "templateType": "anything", "group": "Ungrouped variables", "name": "marks_increased", "description": ""}, "new_mark": {"definition": "marks*(1+(increase/100))", "templateType": "anything", "group": "Ungrouped variables", "name": "new_mark", "description": ""}, "denominator": {"definition": "100/gcd_per100", "templateType": "anything", "group": "Ungrouped variables", "name": "denominator", "description": ""}, "numerator": {"definition": "per/gcd_per100", "templateType": "anything", "group": "Ungrouped variables", "name": "numerator", "description": ""}, "per": {"definition": "precround(100*n/d,0)", "templateType": "anything", "group": "Ungrouped variables", "name": "per", "description": ""}, "chocolate": {"definition": "sweets - mint", "templateType": "anything", "group": "Ungrouped variables", "name": "chocolate", "description": ""}, "increase": {"definition": "random(1..40)", "templateType": "anything", "group": "Ungrouped variables", "name": "increase", "description": ""}, "sweets": {"definition": "random(1..4)*10", "templateType": "anything", "group": "Ungrouped variables", "name": "sweets", "description": ""}, "num": {"definition": "random(1..90)", "templateType": "anything", "group": "Ungrouped variables", "name": "num", "description": ""}, "gcd_per100": {"definition": "gcd(per,100)", "templateType": "anything", "group": "Ungrouped variables", "name": "gcd_per100", "description": ""}, "den": {"definition": "random(num..99 except num)", "templateType": "anything", "group": "Ungrouped variables", "name": "den", "description": ""}, "marks": {"definition": "random(40..100)", "templateType": "anything", "group": "Ungrouped variables", "name": "marks", "description": ""}, "n": {"definition": "random(1..18)", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "dec": {"definition": "p/100", "templateType": "anything", "group": "Ungrouped variables", "name": "dec", "description": ""}, "mint": {"definition": "random(1..sweets)", "templateType": "anything", "group": "Ungrouped variables", "name": "mint", "description": ""}, "decimal": {"definition": "num/den", "templateType": "anything", "group": "Ungrouped variables", "name": "decimal", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "BODMAS: Ratio", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Hayley Moore", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/495/"}], "functions": {}, "ungrouped_variables": ["a", "aa", "c", "b", "d", "g", "f", "cc", "money", "bb", "m1", "m2", "side", "fac", "fic", "R", "fact", "fiction"], "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "To make bolognese {c} grams of minced beef feeds {a} people. How much minced beef is required for {b} people?
\nMinced meat $=$ [[0]] grams.
", "marks": 0, "gaps": [{"allowFractions": false, "marks": 1, "maxValue": "{b}*{c}/{a}", "minValue": "{b}*{c}/{a}", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "The sides of a triangle are in the ratio {d}:{g}:{f}. If the smallest side has length {side} cm what is length of the longest side?
\nLargest side: [[0]] cm
", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "{{side}/{d}}*{f}", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "minValue": "{{side}/{d}}*{f}", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "Sarah and Dave are to share {money} toy dinosaurs between them in the ratio of {m2}:{m1}.
\nSarah gets [[0]] dinosaurs.
\nDave gets [[1]] dinosaurs.
", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "{money} * {m2}/({m1}+{m2})", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "minValue": "{money} * {m2}/({m1}+{m2})", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "{money} * {m1}/({m1}+{m2})", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "minValue": "{money} * {m1}/({m1}+{m2})", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "Hetty and Georgina win a sum of money, which they agree to share in the ratio {aa}:{bb}
\n\n
If Heather receives £{cc}, how much will Georgina receive?
\nGraham receives £[[0]].
", "marks": 0, "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "marks": 1, "precision": "2", "maxValue": "{bb}*{cc}/{aa}", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "minValue": "{bb}*{cc}/{aa}", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "A book shop sell {fiction} different fiction books and {fact} different fact books.
\nWhat is the ratio fact:fiction?
\nAnswer: [[0]] : [[1]]
", "marks": 0, "gaps": [{"allowFractions": false, "marks": 1, "maxValue": "fac", "minValue": "fac", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "marks": 1, "maxValue": "fic", "minValue": "fic", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}], "statement": "Solve the following ratio questions.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(2..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a", "description": ""}, "aa": {"definition": "random(1..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "aa", "description": ""}, "c": {"definition": "random(100..1000#50)", "templateType": "randrange", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(6..20#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(1..g)", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(1..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(5..12#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "f", "description": ""}, "cc": {"definition": "random(10..100)*(aa+bb)*5", "templateType": "anything", "group": "Ungrouped variables", "name": "cc", "description": ""}, "money": {"definition": "random(10..100)*(m1+m2)", "templateType": "anything", "group": "Ungrouped variables", "name": "money", "description": ""}, "fiction": {"definition": "fic*R", "templateType": "anything", "group": "Ungrouped variables", "name": "fiction", "description": ""}, "bb": {"definition": "random(6..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "bb", "description": ""}, "fic": {"definition": "random(1..5 except fac)", "templateType": "anything", "group": "Ungrouped variables", "name": "fic", "description": ""}, "R": {"definition": "random(500..1500)", "templateType": "anything", "group": "Ungrouped variables", "name": "R", "description": ""}, "m1": {"definition": "random(1..5#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "m1", "description": ""}, "m2": {"definition": "random(6..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "m2", "description": ""}, "fac": {"definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "fac", "description": ""}, "side": {"definition": "random(2..5)*d", "templateType": "anything", "group": "Ungrouped variables", "name": "side", "description": ""}, "fact": {"definition": "fac*R", "templateType": "anything", "group": "Ungrouped variables", "name": "fact", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "percentPass": 0, "name": "Percentages and Ratios (Animal Science)", "metadata": {"licence": "None specified", "description": "Practising calculations with percentages and ratios.
"}, "showQuestionGroupNames": false, "navigation": {"showresultspage": "oncompletion", "browse": true, "showfrontpage": false, "allowregen": true, "onleave": {"message": "", "action": "none"}, "reverse": true, "preventleave": true}, "type": "exam", "contributors": [{"name": "Stephanie Greaves", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/340/"}], "extensions": [], "custom_part_types": [], "resources": []}