// Numbas version: exam_results_page_options {"name": "Percentages without hints", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"prompt": "

$\\var{percent2}$% of $\\var{amount2}$ is [[0]]

\n

$\\var{percent3}$% of $\\var{amount3}$ is [[1]]

", "showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "gaps": [{"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "marks": "1", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "{ans2}", "type": "numberentry", "mustBeReduced": false, "minValue": "{ans2}"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "marks": "1", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "{ans3}", "type": "numberentry", "mustBeReduced": false, "minValue": "{ans3}"}], "marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "type": "gapfill"}, {"prompt": "

Expess the following fractions as percentages:

\n

$\\displaystyle\\frac{\\var{a}}{\\var{b}}$ = [[0]]%  

\n

$\\displaystyle\\frac{\\var{c}}{\\var{d}}$ = [[1]]%  

", "showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "gaps": [{"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "marks": "1", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "{a/b*100}", "type": "numberentry", "mustBeReduced": false, "minValue": "{a/b*100}"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "marks": "1", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "{c/d*100}", "type": "numberentry", "mustBeReduced": false, "minValue": "{c/d*100}"}], "marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "type": "gapfill"}, {"prompt": "

Rewrite the following decimals as percentages:

\n

$\\var{dec1}$ = [[0]]%

\n

$\\var{dec2}$ = [[1]]%

\n

$\\var{dec3}$ = [[2]]%

", "showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "gaps": [{"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "marks": "1", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "dec1*100", "type": "numberentry", "mustBeReduced": false, "minValue": "dec1*100"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "marks": "1", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "dec2*100", "type": "numberentry", "mustBeReduced": false, "minValue": "dec2*100"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "marks": "1", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "dec3*100", "type": "numberentry", "mustBeReduced": false, "minValue": "dec3*100"}], "marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "type": "gapfill"}, {"prompt": "

Covert the following percentages to fractions in their lowest terms.

\n

$\\var{x}$% = [[0]]/[[1]]

\n

$\\var{y}$% =[[2]]/[[3]]

\n

$\\var{z}$% = [[4]]/[[5]]

", "showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}, "gaps": [{"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": true, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": true, "marks": "0.5", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "ans_xa", "type": "numberentry", "mustBeReduced": false, "minValue": "ans_xa"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": true, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": true, "marks": "0.5", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "ans_xb", "type": "numberentry", "mustBeReduced": false, "minValue": "ans_xb"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": true, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": true, "marks": "0.5", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "ans_ya", "type": "numberentry", "mustBeReduced": false, "minValue": "ans_ya"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": true, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": true, "marks": "0.5", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "ans_yb", "type": "numberentry", "mustBeReduced": false, "minValue": "ans_yb"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": true, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": true, "marks": "0.5", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "ans_za", "type": "numberentry", "mustBeReduced": false, "minValue": "ans_za"}, {"showFeedbackIcon": true, "unitTests": [], "variableReplacements": [], "allowFractions": false, "showCorrectAnswer": true, "scripts": {}, "correctAnswerFraction": false, "marks": "0.5", "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "maxValue": "ans_zb", "type": "numberentry", "mustBeReduced": false, "minValue": "ans_zb"}], "marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "type": "gapfill"}], "tags": [], "ungrouped_variables": ["percent", "nicelist", "factorsofhun", "amount2", "percent2", "ans2", "amount3", "percent3", "ans3", "b", "a", "mult", "mult2", "c", "d", "number", "dec1", "dec2", "dec3", "x", "y", "z", "ans_xa", "ans_ya", "ans_za", "t", "u", "w", "v", "s", "ans_1", "ans_2", "ans_3", "ans_xb", "ans_yb", "ans_zb"], "rulesets": {}, "variables": {"mult": {"templateType": "anything", "definition": "random(3,7,9,11)", "description": "", "name": "mult", "group": "Ungrouped variables"}, "v": {"templateType": "anything", "definition": "random(5..15)", "description": "", "name": "v", "group": "Ungrouped variables"}, "percent": {"templateType": "anything", "definition": "random(1..99 except list(0..100#5))", "description": "", "name": "percent", "group": "Ungrouped variables"}, "ans_xb": {"templateType": "anything", "definition": "(100/ gcd(x, 100))", "description": "", "name": "ans_xb", "group": "Ungrouped variables"}, "amount2": {"templateType": "anything", "definition": "random(2..12)*factorsofhun[0][1]", "description": "", "name": "amount2", "group": "Ungrouped variables"}, "t": {"templateType": "anything", "definition": "random(20000..22000)", "description": "", "name": "t", "group": "Ungrouped variables"}, "ans_zb": {"templateType": "anything", "definition": "(100/ gcd(z, 100))", "description": "", "name": "ans_zb", "group": "Ungrouped variables"}, "w": {"templateType": "anything", "definition": "random(22001..24000)", "description": "", "name": "w", "group": "Ungrouped variables"}, "ans_za": {"templateType": "anything", "definition": "(z/ gcd(z,100))", "description": "", "name": "ans_za", "group": "Ungrouped variables"}, "ans_1": {"templateType": "anything", "definition": "(u-t)*100/t", "description": "", "name": "ans_1", "group": "Ungrouped variables"}, "b": {"templateType": "anything", "definition": "random([50,4,25,5,20])", "description": "", "name": "b", "group": "Ungrouped variables"}, "ans_xa": {"templateType": "anything", "definition": "(x/ gcd(x,100))", "description": "", "name": "ans_xa", "group": "Ungrouped variables"}, "y": {"templateType": "anything", "definition": "random(2..99)", "description": "", "name": "y", "group": "Ungrouped variables"}, "dec1": {"templateType": "anything", "definition": "random(0.1..0.9#0.01)", "description": "", "name": "dec1", "group": "Ungrouped variables"}, "nicelist": {"templateType": "anything", "definition": "shuffle(map(2^a*5^b,[a,b],[[0,1],[0,2],[1,0],[2,0],[3,0],[4,0],[5,0],[6,0],[1,1],[2,1],[3,1],[4,1],[1,2]]))\n", "description": "", "name": "nicelist", "group": "Ungrouped variables"}, "ans_2": {"templateType": "anything", "definition": "t/100*(100+v)", "description": "", "name": "ans_2", "group": "Ungrouped variables"}, "x": {"templateType": "anything", "definition": "random(2..99)", "description": "", "name": "x", "group": "Ungrouped variables"}, "number": {"templateType": "anything", "definition": "random(12..78)", "description": "", "name": "number", "group": "Ungrouped variables"}, "factorsofhun": {"templateType": "anything", "definition": "shuffle([[2,50],[4,25],[5,20]])", "description": "", "name": "factorsofhun", "group": "Ungrouped variables"}, "percent3": {"templateType": "anything", "definition": "random(2..19)*factorsofhun[2][0]", "description": "", "name": "percent3", "group": "Ungrouped variables"}, "amount3": {"templateType": "anything", "definition": "random(2..12)*factorsofhun[2][1]", "description": "", "name": "amount3", "group": "Ungrouped variables"}, "ans_yb": {"templateType": "anything", "definition": "(100/ gcd(y, 100))", "description": "", "name": "ans_yb", "group": "Ungrouped variables"}, "u": {"templateType": "anything", "definition": "random(22001..24000)", "description": "", "name": "u", "group": "Ungrouped variables"}, "ans3": {"templateType": "anything", "definition": "percent3*amount3/100", "description": "", "name": "ans3", "group": "Ungrouped variables"}, "ans_3": {"templateType": "anything", "definition": "w/(100+s)*100", "description": "", "name": "ans_3", "group": "Ungrouped variables"}, "ans2": {"templateType": "anything", "definition": "percent2*amount2/100", "description": "", "name": "ans2", "group": "Ungrouped variables"}, "dec3": {"templateType": "anything", "definition": "random(1..5#0.01)", "description": "", "name": "dec3", "group": "Ungrouped variables"}, "s": {"templateType": "anything", "definition": "random(5..15)", "description": "", "name": "s", "group": "Ungrouped variables"}, "ans_ya": {"templateType": "anything", "definition": "(y/ gcd(y,100))", "description": "", "name": "ans_ya", "group": "Ungrouped variables"}, "a": {"templateType": "anything", "definition": "random(1..b-1)", "description": "", "name": "a", "group": "Ungrouped variables"}, "d": {"templateType": "anything", "definition": "mult*mult2", "description": "", "name": "d", "group": "Ungrouped variables"}, "percent2": {"templateType": "anything", "definition": "random(2..19)*factorsofhun[0][0]", "description": "", "name": "percent2", "group": "Ungrouped variables"}, "dec2": {"templateType": "anything", "definition": "random(0.1..0.9#0.001 except list(0.1..0.9#0.01))", "description": "", "name": "dec2", "group": "Ungrouped variables"}, "z": {"templateType": "anything", "definition": "random(2..99)", "description": "", "name": "z", "group": "Ungrouped variables"}, "mult2": {"templateType": "anything", "definition": "random(4,5)", "description": "", "name": "mult2", "group": "Ungrouped variables"}, "c": {"templateType": "anything", "definition": "mult*random(1..mult2-1)", "description": "", "name": "c", "group": "Ungrouped variables"}}, "variablesTest": {"maxRuns": 100, "condition": ""}, "variable_groups": [], "preamble": {"js": "", "css": ""}, "statement": "

Consider the following questions on percentages.

", "extensions": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "advice": "", "name": "Percentages without hints", "functions": {}, "type": "question", "contributors": [{"name": "Vicky Hall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/659/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}]}]}], "contributors": [{"name": "Vicky Hall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/659/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}]}