// Numbas version: exam_results_page_options {"name": "Q1 percentages", "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", "ans"], "name": "Q1 percentages", "tags": ["Percentage", "percentage", "rebelmaths", "teame"], "preamble": {"css": "", "js": ""}, "advice": "

Divide {a} by {b} to get 1%, and multipy by {c} to get {c}% of the number.

\n

As seen below:

\n

$(\\frac{\\var{a}}{\\var{b}}) \\times \\var{c} = \\var{ans}$

", "rulesets": {}, "parts": [{"stepsPenalty": "1", "vsetrangepoints": 5, "prompt": "

If $\\var{b}$% of a number is $\\var{a}$, what is $\\var{c}$% of this number?

", "expectedvariablenames": [], "checkingaccuracy": "2", "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "

If $\\var{b}$% of a number is $\\var{a}$

\n

Find 1% of the number first, then calculate $\\var{c}$% of the number!!

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "showCorrectAnswer": true, "scripts": {}, "answer": "{ans}", "marks": "2", "checkvariablenames": false, "checkingtype": "dp", "type": "jme"}], "extensions": [], "statement": "

Calculate the following to 2 decimal places:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "(random(1.1..3.5 except[2,3]))*b", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(3..b-3)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(10..90#10)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "ans": {"definition": "{a}/{b}*{c} ", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}}, "metadata": {"description": "

Percentages

\n

rebel

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}]}