// Numbas version: finer_feedback_settings {"name": "Calculate VAT question (Newcastle)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Calculate VAT question (Newcastle)", "tags": [], "metadata": {"description": "

how to calculate percentage

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

We are going to calculate the price of different products with or without VAT (20%).

\n

Newcastle editor version 1.0

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"novatprice1": {"name": "novatprice1", "group": "Ungrouped variables", "definition": "random(10 .. 100#10)", "description": "

price without VAT

", "templateType": "randrange", "can_override": true}, "vatprice1": {"name": "vatprice1", "group": "Ungrouped variables", "definition": "novatprice1*1.2", "description": "

price with 20 % VAT

", "templateType": "anything", "can_override": false}, "novatprice2": {"name": "novatprice2", "group": "Ungrouped variables", "definition": "random(10 .. 100#10)", "description": "", "templateType": "randrange", "can_override": false}, "vatprice2": {"name": "vatprice2", "group": "Ungrouped variables", "definition": "novatprice2*1.2", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["novatprice1", "vatprice1", "novatprice2", "vatprice2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Newcastle

\n

The price of the 1st product is £{novatprice1}. The VAT is 20%. What is the full price?

", "minValue": "vatprice1", "maxValue": "vatprice1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The 2nd products full price is {vatprice2}. What is the price excluding the VAT?

", "minValue": "novatprice2", "maxValue": "novatprice2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ferenc Lengyel", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21452/"}]}]}], "contributors": [{"name": "Ferenc Lengyel", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21452/"}]}