// Numbas version: exam_results_page_options {"name": "Increase and Decrease in percentages", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"showQuestionGroupNames": false, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n"], "advice": "

For calculating an increase or decrease in percentages,

\n
\n

1. We calculate the given percent of the original value

\n

2. Add/ subtract this to/from original value

\n

ex- If 100 is increased by 50%

\n

Step 1: Calculate 50% of 100= 50*100/100

\n

           = 50

\n

Step 2: Add this to 100- 

\n

           = 150

\n
", "parts": [{"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "steps": [{"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(b/100)*a", "allowFractions": false, "prompt": "

Work out $\\var{b}\\text{%}$ of $\\var{a}$.

", "scripts": {}, "marks": 1, "maxValue": "(b/100)*a", "showCorrectAnswer": true}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(1+b/100)*a", "allowFractions": false, "prompt": "

Add your previous answer to $\\var{a}$.

", "scripts": {}, "marks": 1, "maxValue": "(1+b/100)*a", "showCorrectAnswer": true}], "stepsPenalty": 0, "allowFractions": false, "prompt": "

Increase $\\var{a}$ by $\\var{b}\\text{%}$.

", "minValue": "(1+b/100)*a", "marks": "2", "maxValue": "(1+b/100)*a", "showCorrectAnswer": true, "scripts": {}}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "steps": [{"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(d/100)*c", "allowFractions": false, "prompt": "

Work out $\\var{d}\\text{%}$ of $\\var{c}$.

", "scripts": {}, "marks": 1, "maxValue": "(d/100)*c", "showCorrectAnswer": true}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(1+d/100)*c", "allowFractions": false, "prompt": "

Add your previous answer to $\\var{c}$.

", "scripts": {}, "marks": 1, "maxValue": "(1+d/100)*c", "showCorrectAnswer": true}], "stepsPenalty": 0, "allowFractions": false, "prompt": "

Increase $\\var{c}$ by $\\var{d}\\text{%}$.

", "minValue": "(1+d/100)*c", "marks": "2", "maxValue": "(1+d/100)*c", "showCorrectAnswer": true, "scripts": {}}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "steps": [{"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(g/100)*f", "allowFractions": false, "prompt": "

Work out $\\var{g}\\text{%}$ of $\\var{f}$

", "scripts": {}, "marks": 1, "maxValue": "(g/100)*f", "showCorrectAnswer": true}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(1-g/100)*f", "allowFractions": false, "prompt": "

Subtract your previous answer from $\\var{f}$.

", "scripts": {}, "marks": 1, "maxValue": "(1-g/100)*f", "showCorrectAnswer": true}], "stepsPenalty": 0, "allowFractions": false, "prompt": "

Decrease $\\var{f}$ by $\\var{g}\\text{%}$.

", "minValue": "(1-g/100)*f", "marks": "2", "maxValue": "(1-g/100)*f", "showCorrectAnswer": true, "scripts": {}}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "steps": [{"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(j/100)*h", "allowFractions": false, "prompt": "

Work out $\\var{j}\\text{%}$ of $\\var{h}$

", "scripts": {}, "marks": 1, "maxValue": "(j/100)*h", "showCorrectAnswer": true}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(1-j/100)*h", "allowFractions": false, "prompt": "

Subtract your previous answer from $\\var{h}$.

", "scripts": {}, "marks": 1, "maxValue": "(1-j/100)*h", "showCorrectAnswer": true}], "stepsPenalty": 0, "allowFractions": false, "prompt": "

Decrease $\\var{h}$ by $\\var{j}\\text{%}$.

", "minValue": "(1-j/100)*h", "marks": "2", "maxValue": "(1-j/100)*h", "showCorrectAnswer": true, "scripts": {}}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "steps": [{"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(l/100)*k", "allowFractions": false, "prompt": "

Work out $\\var{l}\\text{%}$ of $\\var{k}$

", "scripts": {}, "marks": 1, "maxValue": "(l/100)*k", "showCorrectAnswer": true}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(1-l/100)*k", "allowFractions": false, "prompt": "

Add your previous answer to $\\var{k}$.

", "scripts": {}, "marks": 1, "maxValue": "(1-l/100)*k", "showCorrectAnswer": true}], "stepsPenalty": 0, "allowFractions": false, "prompt": "

Increase $\\var{k}$ by $\\var{l}\\text{%}$.

", "minValue": "(1+l/100)*k", "marks": "2", "maxValue": "(1+l/100)*k", "showCorrectAnswer": true, "scripts": {}}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "steps": [{"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(n/100)*m", "allowFractions": false, "prompt": "

Work out $\\var{n}\\text{%}$ of $\\var{m}$

", "scripts": {}, "marks": 1, "maxValue": "(n/100)*m", "showCorrectAnswer": true}, {"correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "type": "numberentry", "variableReplacements": [], "minValue": "(1-n/100)*m", "allowFractions": false, "prompt": "

Subtract your previous answer from $\\var{m}$.

", "scripts": {}, "marks": 1, "maxValue": "(1-n/100)*m", "showCorrectAnswer": true}], "stepsPenalty": 0, "allowFractions": false, "prompt": "

Decrease $\\var{m}$ by $\\var{n}\\text{%}$.

", "minValue": "(1-n/100)*m", "marks": "2", "maxValue": "(1-n/100)*m", "showCorrectAnswer": true, "scripts": {}}], "type": "question", "tags": [], "name": "Increase and Decrease in percentages", "rulesets": {}, "variable_groups": [], "functions": {}, "extensions": [], "preamble": {"js": "", "css": ""}, "variables": {"g": {"templateType": "anything", "description": "", "definition": "random(0..100#5) //A random percentage between 0 and 100 that is divisble by 5", "group": "Ungrouped variables", "name": "g"}, "c": {"templateType": "anything", "description": "", "definition": "random(100..1000#20) //random number between 100 and 1000 that is divisible by 20", "group": "Ungrouped variables", "name": "c"}, "b": {"templateType": "anything", "description": "", "definition": "random(0..100#5) //A random percentage between 0 and 100 that is divisble by 5", "group": "Ungrouped variables", "name": "b"}, "m": {"templateType": "anything", "description": "", "definition": "random(100..1000#10) // random number between 100 and 1000 that is divisble by 10", "group": "Ungrouped variables", "name": "m"}, "a": {"templateType": "anything", "description": "", "definition": "random(100..1000#20) //random number between 100 and 1000 that is divisible by 20", "group": "Ungrouped variables", "name": "a"}, "j": {"templateType": "anything", "description": "", "definition": "random(0..100#5) //A random percentage between 0 and 100 that is divisble by 5", "group": "Ungrouped variables", "name": "j"}, "d": {"templateType": "anything", "description": "", "definition": "random(0..100#5) //A random percentage between 0 and 100 that is divisble by 5", "group": "Ungrouped variables", "name": "d"}, "k": {"templateType": "anything", "description": "", "definition": "random(100..1000#10) // random number between 100 and 1000 that is divisble by 10", "group": "Ungrouped variables", "name": "k"}, "h": {"templateType": "anything", "description": "", "definition": "random(100..1000#20) //random number between 100 and 1000 that is divisible by 20", "group": "Ungrouped variables", "name": "h"}, "l": {"templateType": "anything", "description": "", "definition": "random(0..100) //random number between 1 and 100", "group": "Ungrouped variables", "name": "l"}, "n": {"templateType": "anything", "description": "", "definition": "random(0..100) //random number between 1 and 100", "group": "Ungrouped variables", "name": "n"}, "f": {"templateType": "anything", "description": "", "definition": "random(100..1000#20) //random number between 100 and 1000 that is divisible by 20", "group": "Ungrouped variables", "name": "f"}}, "question_groups": [{"pickQuestions": 0, "name": "", "pickingStrategy": "all-ordered", "questions": []}], "statement": "

Solve for percentage increase and decrease in the follwing questions

\n

For further help, please check this video- https://www.youtube.com/watch?v=HlX3O9vDzlc

", "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"description": "

These basic questions will help you understand the increase and decrease in percent change

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}, {"name": "heike hoffmann", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2960/"}]}]}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}, {"name": "heike hoffmann", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2960/"}]}