// Numbas version: finer_feedback_settings {"name": "Selling Price 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Selling Price 1", "tags": [], "metadata": {"description": "

MCQ to calculate selling price when given cost price and VAT rate.

", "licence": "None specified"}, "statement": "

The cost price of an item is €$\\var{cost_price}$, to the nearest cent what is the selling price if the item is sold at a profit of $\\var{percent}$%?

", "advice": "

Note that:

\n

Cost Price (100%) + VAT ({percent}%) = Selling Price ({100+percent}%)

\n

{100+percent}% of {cost_price} = {s_percent} $\\times$ {cost_price} = €{correct}

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"cost_price": {"name": "cost_price", "group": "Ungrouped variables", "definition": "random(250..530)", "description": "", "templateType": "anything", "can_override": false}, "percent": {"name": "percent", "group": "Ungrouped variables", "definition": "random(7..23)", "description": "", "templateType": "anything", "can_override": false}, "correct": {"name": "correct", "group": "Ungrouped variables", "definition": "dpformat(cost_price*(1+percent/100),2)", "description": "", "templateType": "anything", "can_override": false}, "incorrect1": {"name": "incorrect1", "group": "Ungrouped variables", "definition": "dpformat(cost_price/(1+percent/100),2)", "description": "", "templateType": "anything", "can_override": false}, "incorrect2": {"name": "incorrect2", "group": "Ungrouped variables", "definition": "dpformat(cost_price*(1-percent/100),2)", "description": "", "templateType": "anything", "can_override": false}, "incorrect3": {"name": "incorrect3", "group": "Ungrouped variables", "definition": "dpformat(cost_price/(1-percent/100),2)", "description": "", "templateType": "anything", "can_override": false}, "s_percent": {"name": "s_percent", "group": "Ungrouped variables", "definition": "dpformat(1+percent/100,2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["cost_price", "percent", "correct", "incorrect1", "incorrect2", "incorrect3", "s_percent"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Select the correct answer

\n

[[0]]

", "gaps": [{"type": "1_n_2", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["€$\\var{correct}$", "€$\\var{incorrect1}$", "€$\\var{incorrect2}$", "€$\\var{incorrect3}$"], "matrix": ["12", 0, 0, 0], "distractors": ["correct", "", "", ""]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Katie Bullen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2255/"}], "resources": []}]}], "contributors": [{"name": "Katie Bullen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2255/"}]}