// Numbas version: finer_feedback_settings {"name": "Q 3 & 12", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["word", "a", "VAT", "ans", "newVAT", "newVAT1"], "name": "Q 3 & 12", "tags": ["rebelmaths"], "advice": "

The selling price of an item before VAT is equal to 100%, and the selling price including VAT of {VAT}% has to equal {newVAT}%.

\n

Therefore to get the selling price including VAT, divide by 100 and multiply by {newVAT}, or simply multiply by {newVAT1} as seen below:

\n

{a}*{newVAT1}

", "rulesets": {}, "parts": [{"variableReplacements": [], "prompt": "

The $\\var{word}$ price of an item was €$\\var{a}$ before VAT. What was the price including VAT at $\\var{VAT}$%?

", "expectedvariablenames": [], "checkingaccuracy": "2", "type": "jme", "showpreview": true, "vsetrangepoints": 5, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{ans}", "marks": 1, "checkvariablenames": false, "checkingtype": "dp", "vsetrange": [0, 1]}], "extensions": [], "statement": "

Evaluate the following to the nearest cent:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(50..100)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "word": {"definition": "random([\"cost\",\"selling\"])", "templateType": "anything", "group": "Ungrouped variables", "name": "word", "description": ""}, "newVAT": {"definition": "100+{VAT}", "templateType": "anything", "group": "Ungrouped variables", "name": "newVAT", "description": ""}, "ans": {"definition": "{a}*{newVAT1}", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}, "newVAT1": {"definition": "{newVAT}/100", "templateType": "anything", "group": "Ungrouped variables", "name": "newVAT1", "description": ""}, "VAT": {"definition": "random(21..23#0.5)", "templateType": "anything", "group": "Ungrouped variables", "name": "VAT", "description": ""}}, "metadata": {"description": "

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/"}]}