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

Estimate the following quantities.

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Part a) variables", "definition": "random(10..40)", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Part a) variables", "definition": "random(500..1000)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Part a) variables", "definition": "a-random(1..a)", "description": "", "templateType": "anything", "can_override": false}, "b1": {"name": "b1", "group": "Part a) variables", "definition": "random(80..200)", "description": "", "templateType": "anything", "can_override": false}, "total_rounded_down": {"name": "total_rounded_down", "group": "Part a) functions", "definition": "(floor(a/5)*floor(a1/5)*25)+(floor(b/5)*floor(b1/5)*25)", "description": "", "templateType": "anything", "can_override": false}, "total_rounded_up": {"name": "total_rounded_up", "group": "Part a) functions", "definition": "(ceil(a/5)*ceil(a1/5)*25)+(ceil(b/5)*ceil(b1/5)*25)", "description": "", "templateType": "anything", "can_override": false}, "rent1": {"name": "rent1", "group": "Part b) variables", "definition": "random(50..200)", "description": "", "templateType": "anything", "can_override": false}, "rent2": {"name": "rent2", "group": "Part b) variables", "definition": "random(500..1500)", "description": "", "templateType": "anything", "can_override": false}, "min_rent": {"name": "min_rent", "group": "Part b) functions", "definition": "min(rent_per_day[0],rent_per_day[1])", "description": "", "templateType": "anything", "can_override": false}, "name1": {"name": "name1", "group": "Part b) variables", "definition": "\"Steel Studios\"", "description": "", "templateType": "anything", "can_override": false}, "name2": {"name": "name2", "group": "Part b) variables", "definition": "\"Kelham Kondominiums\"", "description": "", "templateType": "anything", "can_override": false}, "names": {"name": "names", "group": "Part b) functions", "definition": "[name1,name2]", "description": "", "templateType": "anything", "can_override": false}, "rent_per_day": {"name": "rent_per_day", "group": "Part b) functions", "definition": "[rent1/7,rent2/30]", "description": "", "templateType": "anything", "can_override": false}, "index_min_rent": {"name": "index_min_rent", "group": "Part b) functions", "definition": "indices(rent_per_day,min_rent)", "description": "", "templateType": "anything", "can_override": false}, "name_min_rent": {"name": "name_min_rent", "group": "Part b) functions", "definition": "names[index_min_rent[0]]", "description": "", "templateType": "anything", "can_override": false}, "name_max_rent": {"name": "name_max_rent", "group": "Part b) functions", "definition": "names[index_max_rent[0]]", "description": "", "templateType": "anything", "can_override": false}, "max_rent": {"name": "max_rent", "group": "Part b) functions", "definition": "max(rent_per_day[0],rent_per_day[1])", "description": "", "templateType": "anything", "can_override": false}, "index_max_rent": {"name": "index_max_rent", "group": "Part b) functions", "definition": "indices(rent_per_day,max_rent)", "description": "", "templateType": "anything", "can_override": false}, "wage1": {"name": "wage1", "group": "Part c) variables", "definition": "random(8.72..12.00#0.01)", "description": "", "templateType": "anything", "can_override": false}, "wage2": {"name": "wage2", "group": "Part c) variables", "definition": "random(8.72..12.00#0.01)*8", "description": "", "templateType": "anything", "can_override": false}, "weekly_wage": {"name": "weekly_wage", "group": "Part c) functions", "definition": "(wage1*12)+(wage2*2)", "description": "", "templateType": "anything", "can_override": false}, "yearly_wage": {"name": "yearly_wage", "group": "Part c) functions", "definition": "weekly_wage*52", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part a) variables", "variables": ["b1", "a1", "b", "a"]}, {"name": "Part a) functions", "variables": ["total_rounded_down", "total_rounded_up"]}, {"name": "Part b) variables", "variables": ["rent1", "rent2", "name1", "name2"]}, {"name": "Part b) functions", "variables": ["min_rent", "names", "rent_per_day", "index_min_rent", "name_min_rent", "name_max_rent", "max_rent", "index_max_rent"]}, {"name": "Part c) variables", "variables": ["wage1", "wage2"]}, {"name": "Part c) functions", "variables": ["weekly_wage", "yearly_wage"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Office equipment", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

An office needs to equip their staff for working from home. All {a} staff require a work-issued laptop for home use, costing £{a1} each, and {b} of those staff also require a graphics tablet, costing £{b1} each.

\n

\n

Estimate the total cost of equipment.

", "minValue": "total_rounded_down", "maxValue": "total_rounded_up", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "1_n_2", "useCustomName": true, "customName": "Accommodation", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

An undergraduate student is comparing prices of accommodation in their University town. They would like to choose the apartment which gives the best value for money out of the following two options:

\n

{name1}: £{rent1} per week

\n

{name2}: £{rent2} per calendar month

\n

Which accommodation is the cheapest?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{name_min_rent}", "{name_max_rent}"], "matrix": ["1", 0], "distractors": ["", ""]}, {"type": "numberentry", "useCustomName": true, "customName": "Annual wages", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Jo works two part time jobs. Monday and Wednesday, they deliver fruit for a local greengrocer, for 6 hours each day. Tuesday and Friday, they work at a vintage clothes store, for 8 hours each day.

\n

If they earn {wage1} per hour at the greengrocer and {wage2} per day at the vintage clothes store, what is their yearly income?

", "minValue": "yearly_wage-1000", "maxValue": "yearly_wage+1000", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}, {"name": "Marta Emmett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11961/"}]}]}], "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}, {"name": "Marta Emmett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11961/"}]}