// Numbas version: finer_feedback_settings {"name": "Calculate number of clicks from budget and CPC", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Calculate number of clicks from budget and CPC", "tags": [], "metadata": {"description": "

clicks = budget/CPC

\n

All numbers are randomised.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
\n
\n
\n

A digital media platform sells advertising for \\${cpc} CPC (cost per click). If the advertiser is billed \\${separateThousands(bill,\",\")}, how many times did people click on the ad?

\n
\n
\n
", "advice": "

Number of clickers = total cost $\\div$ cost per click = \\${separateThousands(bill,\",\")} $\\div$ {cpc} = {separateThousands(clickers,\",\")}

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"bill": {"name": "bill", "group": "Ungrouped variables", "definition": "clickers*cpc", "description": "", "templateType": "anything", "can_override": false}, "cpc": {"name": "cpc", "group": "Ungrouped variables", "definition": "random(0.01..1.50)", "description": "", "templateType": "anything", "can_override": false}, "clickers": {"name": "clickers", "group": "Ungrouped variables", "definition": "random(100..200000)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["bill", "cpc", "clickers"], "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, "minValue": "clickers", "maxValue": "clickers", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Susan McGlynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2148/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}]}], "contributors": [{"name": "Susan McGlynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2148/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}