// Numbas version: finer_feedback_settings {"name": "Lois's copy of Percentages - One Amount as a Percentage of Another", "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", "m", "n", "multa", "ansa", "multc", "ansb", "mseven", "nseven"], "name": "Lois's copy of Percentages - One Amount as a Percentage of Another", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
a) Remember that percent means 'out of a 100' so one way to find the percentage is to rewrite the fraction with a denominator of 100. To do this we would need to multiply {a} by {multa}. So the numerator would become $ \\var{b} \\times \\var{multa} =\\var{ansa} $.
\nb) The student's mark could be written as the fraction $\\dfrac{\\var{d}}{\\var{c}}$. We can then use the same method as in part a.
\nc) In this part the fraction is $\\dfrac{\\var{m}}{\\var{n}}$ and {n} does not divide exactly into 100. However if we cancel by 7, we see that this is equivalent to $\\dfrac{\\var{mseven}}{\\var{nseven}}$ and we can then use the method above.
\n\n", "rulesets": {}, "parts": [{"prompt": "What is $\\dfrac{\\var{b}}{\\var{a}}$ as a percentage?
", "allowFractions": false, "variableReplacements": [], "maxValue": "(b/a)*100", "minValue": "(b/a)*100", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "1", "type": "numberentry", "correctAnswerStyle": "plain"}, {"prompt": "A student scores $\\var{d}$ marks on a test where the total number of marks available is $\\var{c}$. What is her percentage mark?
", "allowFractions": false, "variableReplacements": [], "maxValue": "(d/c)*100", "minValue": "(d/c)*100", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "1", "type": "numberentry", "correctAnswerStyle": "plain"}, {"prompt": "What is $\\var{m}$ as a percentage of $\\var{n}$?
", "allowFractions": false, "variableReplacements": [], "maxValue": "(m/n)*100", "minValue": "(m/n)*100", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "1", "type": "numberentry", "correctAnswerStyle": "plain"}], "extensions": [], "statement": "In each of the following questions you are asked to work out one value as a percentage of the other.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random([5,10,20,25,50]) //random value that is a factor of 100", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random([10,20,25,50,40]) ", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(1..a-1) //random number that is less than the value of a", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(6..c-2) //random number that is less than the value of c", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "multc": {"definition": "100/c", "templateType": "anything", "group": "Ungrouped variables", "name": "multc", "description": ""}, "multa": {"definition": "100/a", "templateType": "anything", "group": "Ungrouped variables", "name": "multa", "description": ""}, "m": {"definition": "random(7..n-1#7) //random number that is divisble by 7 and less than n", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "n": {"definition": "random(35,70,140,175,350) //random number that when divided by 7 gives a factor of 100", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "ansa": {"definition": "b *multa", "templateType": "anything", "group": "Ungrouped variables", "name": "ansa", "description": ""}, "ansb": {"definition": "d*multc", "templateType": "anything", "group": "Ungrouped variables", "name": "ansb", "description": "ansb
"}, "nseven": {"definition": "n/7", "templateType": "anything", "group": "Ungrouped variables", "name": "nseven", "description": ""}, "mseven": {"definition": "m/7", "templateType": "anything", "group": "Ungrouped variables", "name": "mseven", "description": ""}}, "metadata": {"description": "This question asks you to work out one value as a percentage of another. You are expected to do these without the help of 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/"}]}