// Numbas version: finer_feedback_settings {"name": "Exam version Q3 ", "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": "Exam version Q3 ", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
First we need to find $\\var{VAT}$% of $€\\var{a}$. To do this we need to multiply $€\\var{a}$ by $\\var{VAT}$ and divide by 100. The easiest way is to multiply $€\\var{a}$ by $\\frac{\\var{VAT}}{100}$. This is the amount of VAT that must be paid. Add this on to the original cost priceto find the total selling price including VAT.
\n$€\\var{a} \\times \\var{newVAT1} = €\\var{ans}$
", "rulesets": {}, "parts": [{"prompt": "The cost price of an item was €$\\var{a}$ before VAT. What was the price including VAT at $\\var{VAT}$%?
\n€[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{ans}", "strictPrecision": false, "minValue": "{ans}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "Evaluate the following to the nearest cent:
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "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)", "templateType": "anything", "group": "Ungrouped variables", "name": "VAT", "description": ""}}, "metadata": {"description": "Finding the cost including VAT
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}