// Numbas version: finer_feedback_settings {"name": "Lois's copy of Fractions - Fraction of an Amount", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k"], "name": "Lois's copy of Fractions - Fraction of an Amount", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
For part a, you first need to work out what $ \\dfrac{1}{\\var{b}}$ of $ \\var{c}$ would be, so you need to calculate $ \\var{c} \\div \\var{b} $, which is {{c}/{b}}.
\nYou then need to multiply this by $ \\var{a}$.
\nYou use a similar method for parts b and c.
\nIn some cases you might be able to cancel down the fraction first.
\n\nFor more information about fractions, follow these links:
\nhttp://www.mathcentre.ac.uk/resources/uploaded/mc-ty-fracbasic-2009-1.pdf
\nhttp://www.mathcentre.ac.uk/resources/uploaded/mc-bus-fractions-2009-1.pdf
\nhttps://www.mathsisfun.com/fractions.html
\n\n", "rulesets": {}, "parts": [{"prompt": "What is $\\frac{\\var{a}}{\\var{b}}$ of $\\var{c}$?
", "allowFractions": true, "variableReplacements": [], "maxValue": "(c/b)*a", "minValue": "(c/b)*a", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "correctAnswerStyle": "plain"}, {"prompt": "Find $\\frac{\\var{d}}{\\var{f}}$ of £ $\\var{g}$?
\n£ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "(g/f)*d", "minValue": "(g/f)*d", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "correctAnswerStyle": "plain"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "What is $\\frac{\\var{h}}{\\var{j}}$ of $\\var{k}$ kg?
\n[[0]] kg
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": true, "variableReplacements": [], "maxValue": "(k/j)*h", "minValue": "(k/j)*h", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": true, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "correctAnswerStyle": "plain"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "Find the following amounts.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(3..b-1#2) //random number for numerator less than the denominator and odd", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(0..100#b except 0) //random total value checking it divides by the numerator", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(2..20#2) //random number for denominator and even", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(4..f-1) //random number for numerator less than the denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(0..300#f except 0) //random total value checking it divides by the numerator", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(10..30#5) //random number for denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "random(1..j-1) //random number for numerator less than the denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "k": {"definition": "random(j..200#j except 0) //random total value checking it divides by the numerator", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "j": {"definition": "random(20..30) //random number for denominator", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}}, "metadata": {"description": "This question allows you to practice working out a fraction of an amount.
\nIt is designed for you to complete without a calculator.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}]}]}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}]}