// Numbas version: exam_results_page_options {"name": "What proportion of clicks?", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "What proportion of clicks?", "tags": [], "metadata": {"description": "

A proportions question. Given the total number of impressions, and the number of impressions that were clicked, what percentage were clicked?

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

A digital campaign served {SeparateThousands(impressions,\",\")} impressions and received {SeparateThousands(clicks,\",\")} clicks.

\n

The Click Through Rate (CTR) is the percentage of impressions that received a click.

Click Through Rate (CTR)= proportion of impressions that were clicked = $\\frac{\\var{clicks}}{\\var{impressions}}= \\var{clicks}\\div\\var{impressions}=\\var{CTR/100}=\\var{CTR}\\%$

\n

alternatively,

\n

Click Through Rate (CTR)= proportion of impressions that were clicked = $\\frac{\\var{clicks}}{\\var{impressions}}\\times$100% = {CTR}%

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"impressions": {"name": "impressions", "group": "Ungrouped variables", "definition": "clicks/ctr*100", "description": "", "templateType": "anything", "can_override": false}, "clicks": {"name": "clicks", "group": "Ungrouped variables", "definition": "random(1..1000)*ctr", "description": "", "templateType": "anything", "can_override": false}, "ctr": {"name": "ctr", "group": "Ungrouped variables", "definition": "random(1..20)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["impressions", "clicks", "ctr"], "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": "

The Click Through Rate for this campaign is [[0]]%.

", "gaps": [{"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": "CTR", "maxValue": "CTR", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "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/"}]}