// Numbas version: finer_feedback_settings {"name": "Lois's copy of Percentage Change", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["original", "new", "partyorig", "partynew", "orig", "newn", "partychange", "wrongparty1", "wrongparty2", "wrongparty3", "change", "wrongchange1", "wrongchange2", "wrongchange3", "chang", "wrongchang1", "wrongchang2", "wrongchang3"], "name": "Lois's copy of Percentage Change", "tags": [], "type": "question", "advice": "

To calculate percentage change, you should use the following formula:

\n

[(New - Original) / Original]    x 100   =    Percentage change (remember to check your notes)

", "rulesets": {}, "parts": [{"displayColumns": 0, "prompt": "

At the start of a party, there are $\\var{partyorig}$ people present. At the end of the party, there are $\\var{partynew}$. What is the percentage change?

", "matrix": ["1", 0, 0, 0], "shuffleChoices": true, "variableReplacements": [], "choices": ["

$\\var{partychange}$%

", "

$\\var{wrongparty1}$%

", "

$\\var{wrongparty2}$%

", "

$\\var{wrongparty3}$%

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "distractors": ["", "", "", ""], "marks": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}, {"displayColumns": 0, "prompt": "

Jeremy is going on holiday to Las Vegas. He starts off with £$\\var{original}$. By the end of his holiday, he has £$\\var{new}$. What is the percentage change in his money?

", "matrix": ["1", 0, 0, 0], "shuffleChoices": true, "variableReplacements": [], "choices": ["

$\\var{change}$%

", "

$\\var{wrongchange1}$%

", "

$\\var{wrongchange2}$%

", "

$\\var{wrongchange3}$%

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "distractors": ["", "", "", ""], "marks": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}, {"displayColumns": 0, "prompt": "

At the puppy farm (for pets, not food!), there are initially $\\var{orig}$ puppies. After 5 months, there are $\\var{newn}$ puppies. What is the percentage change in puppies?

", "matrix": ["1", 0, 0, 0], "shuffleChoices": true, "variableReplacements": [], "choices": ["

$\\var{chang}$%

", "

$\\var{wrongchang1}$%

", "

$\\var{wrongchang2}$%

", "

$\\var{wrongchang3}$%

"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": 0, "scripts": {}, "distractors": ["", "", "", ""], "marks": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}], "extensions": [], "statement": "

Give the percentage change (to 2 decimal places) for the following scenarios:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "question_groups": [{"pickingStrategy": "all-ordered", "name": "", "questions": [], "pickQuestions": 0}], "variables": {"wrongchange1": {"definition": "precround((({original}-{new})/{original})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongchange1", "description": ""}, "newn": {"definition": "random(50..200)", "templateType": "anything", "group": "Ungrouped variables", "name": "newn", "description": ""}, "wrongparty1": {"definition": "precround((({partyorig}-{partynew})/{partyorig})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongparty1", "description": ""}, "partyorig": {"definition": "random(1..100)", "templateType": "anything", "group": "Ungrouped variables", "name": "partyorig", "description": ""}, "wrongparty3": {"definition": "precround((({partynew}-{partyorig})/{partyorig}),2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongparty3", "description": ""}, "wrongchang1": {"definition": "precround((({orig}-{newn})/{orig})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongchang1", "description": ""}, "partynew": {"definition": "random(1..100)", "templateType": "anything", "group": "Ungrouped variables", "name": "partynew", "description": ""}, "wrongchange3": {"definition": "precround((({new}-{original})/{original}),2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongchange3", "description": ""}, "wrongchang2": {"definition": "precround((({orig}-{newn})/{newn})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongchang2", "description": ""}, "wrongparty2": {"definition": "precround((({partyorig}-{partynew})/{partynew})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongparty2", "description": ""}, "wrongchange2": {"definition": "precround((({original}-{new})/{new})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongchange2", "description": ""}, "partychange": {"definition": "precround((({partynew}-{partyorig})/{partyorig})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "partychange", "description": ""}, "new": {"definition": "random(100,200,300,400,500,600,700,800,900,1000,1200,1500,1600,1800,2000,2200,2400,2500,2600,2700,2800,3000,3100,3200,3300,3400,3500,3600,3700,3800,3900,4000,4200,4300,4500,4600,4800,5000)", "templateType": "anything", "group": "Ungrouped variables", "name": "new", "description": ""}, "chang": {"definition": "precround((({newn}-{orig})/{orig})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "chang", "description": ""}, "wrongchang3": {"definition": "precround((({newn}-{orig})/{orig}),2)", "templateType": "anything", "group": "Ungrouped variables", "name": "wrongchang3", "description": ""}, "original": {"definition": "random(100,200,300,400,500,600,700,800,900,1000,1200,1500,1600,1800,2000,2200,2400,2500,2600,2700,2800,3000,3100,3200,3300,3400,3500,3600,3700,3800,3900,4000,4200,4300,4500,4600,4800,5000)", "templateType": "anything", "group": "Ungrouped variables", "name": "original", "description": ""}, "change": {"definition": "precround((({new}-{original})/{original})*100,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "change", "description": ""}, "orig": {"definition": "random(50..200)", "templateType": "anything", "group": "Ungrouped variables", "name": "orig", "description": ""}}, "showQuestionGroupNames": false, "metadata": {"description": "

Questions about percentage change.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "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/"}]}