// Numbas version: exam_results_page_options {"name": "Q 11 Selling Price", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["item", "price", "profit", "ans", "profita"], "name": "Q 11 Selling Price", "tags": ["rebelmaths"], "advice": "

Cost price = 100%

\n

selling price = {profita}%

\n

Selling price = {price}/100) * {profita}

\n

{price} * ({profita}/100)

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

$\\var{item}$ which costs €$\\var{price}$ was sold at a profit of $\\var{profit}$%. What was the selling price, to the nearest cent?

\n

[[0]]

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

Find the selling price

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"profit": {"definition": "random(10..14#0.5)", "templateType": "anything", "group": "Ungrouped variables", "name": "profit", "description": ""}, "item": {"definition": "random('A computer','An article','A Laptop', 'An insurance policy', 'A second-hand car')", "templateType": "anything", "group": "Ungrouped variables", "name": "item", "description": ""}, "price": {"definition": "random(1000..2000#100)", "templateType": "anything", "group": "Ungrouped variables", "name": "price", "description": ""}, "profita": {"definition": "100 + {profit}", "templateType": "anything", "group": "Ungrouped variables", "name": "profita", "description": ""}, "ans": {"definition": "{price}*({profita}/100)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans", "description": ""}}, "metadata": {"description": "

Given the cost priceand profit margin, find the selling price

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