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

Given a total budget and the cost of each sale for three different scenarios, which scenario produces the most sales?

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

Which of the following strategies will deliver the greatest volume of sales for a campaign?

", "advice": "

\\${separateThousands(budget[0],\",\")} budget spent at CPA (cost per acquisition) of \\${separateThousands(CPA[0],\",\")} means that each sale costs \\${separateThousands(CPA[0],\",\")}.

\n

Since we spent \\${separateThousands(budget[0],\",\")}, there were \\${separateThousands(budget[0],\",\")} $\\div$ \\${separateThousands(CPA[0],\",\")} = {separateThousands(ratios[0],\",\")} sales.

\n

\\${separateThousands(budget[1],\" \")} budget spent at CPA (cost per acquisition) of \\${separateThousands(CPA[1],\",\")} means that each sale costs \\${separateThousands(CPA[1],\",\")}.

\n

Since we spent \\${separateThousands(budget[1],\",\")}, there were \\${separateThousands(budget[1],\",\")} $\\div$ \\${separateThousands(CPA[1],\",\")} = {separateThousands(ratios[1],\",\")} sales.

\n

\\${separateThousands(budget[2],\",\")} budget spent at CPA (cost per acquisition) of \\${separateThousands(CPA[2],\",\")} means that each sale costs \\${separateThousands(CPA[2],\",\")}.

\n

Since we spent \\${separateThousands(budget[2],\",\")}, there were \\${separateThousands(budget[2],\",\")} $\\div$ \\${separateThousands(CPA[2],\",\")} = {separateThousands(ratios[2],\",\")} sales. So this option results in the most sales.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"shiftup": {"name": "shiftup", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "shiftdown": {"name": "shiftdown", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}, "middleratio": {"name": "middleratio", "group": "Ungrouped variables", "definition": "random(80..120)", "description": "", "templateType": "anything", "can_override": false}, "ratios": {"name": "ratios", "group": "Ungrouped variables", "definition": "[middleratio-shiftdown,middleratio,middleratio+shiftup]", "description": "

These are the values of the three campaigns. The third value is the best option.

", "templateType": "anything", "can_override": false}, "CPA": {"name": "CPA", "group": "Ungrouped variables", "definition": "shuffle(50..250 # 10)[0..3]", "description": "", "templateType": "anything", "can_override": false}, "budget": {"name": "budget", "group": "Ungrouped variables", "definition": "[CPA[0]*ratios[0],CPA[1]*ratios[1],CPA[2]*ratios[2]]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["shiftup", "shiftdown", "middleratio", "ratios", "CPA", "budget"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"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": ["

\\${separateThousands(budget[0],\" \")} budget spent at CPA (cost per acquisition) of \\${separateThousands(CPA[0],\" \")}

", "\\${separateThousands(budget[1],\" \")} budget spent at CPA (cost per acquisition) of \\${separateThousands(CPA[1],\" \")}", "\\${separateThousands(budget[2],\" \")} budget spent at CPA (cost per acquisition) of \\${separateThousands(CPA[2],\" \")}"], "matrix": [0, 0, "1"], "distractors": ["", "", ""]}], "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/"}]}