// Numbas version: exam_results_page_options {"name": "Ioannis's copy of Finding a% of b", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "rulesets": {}, "variables": {"a": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(2, 5,8, 12, 15, 20, 22,30, 35, 45, 64, 72, 95)", "name": "a"}, "adec": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "a/100", "name": "adec"}, "b": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random (150..250)", "name": "b"}}, "variable_groups": [], "advice": "

Note that {a}% is the same as {adec}.

\n

So we need to calculate $\\var{adec} \\times \\var{b}.$

", "functions": {}, "preamble": {"js": "", "css": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Find a% of b using a calculator. Suggested method to use decimal equivalent.

"}, "statement": "

Find the value of {a}% of £{b}.

", "extensions": [], "name": "Ioannis's copy of Finding a% of b", "question_groups": [{"name": "", "pickQuestions": 0, "pickingStrategy": "all-ordered", "questions": []}], "showQuestionGroupNames": false, "parts": [{"gaps": [{"showPrecisionHint": false, "minValue": "{a}*{b}/100-0.01", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "variableReplacements": [], "allowFractions": false, "maxValue": "{a}*{b}/100+0.01", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "type": "numberentry"}], "scripts": {}, "showCorrectAnswer": true, "marks": 0, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "prompt": "

Round your answer to the nearest penny.

\n

£[[0]]

", "type": "gapfill"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["a", "b", "adec"], "type": "question", "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}]}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}