// Numbas version: exam_results_page_options {"name": "MG Perimeter of vege patch fence (10+)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/vege_patch_500.png", "/srv/numbas/media/question-resources/vege_patch_500.png"], ["question-resources/vege_patch_soln_500.png", "/srv/numbas/media/question-resources/vege_patch_soln_500.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "MG Perimeter of vege patch fence (10+)", "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. The width and length of each vege bed are given in cm (randomised) as well as the path width in mm (randomised). Students are asked to find the perimeter of the whole vege patch in metres.

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

{school} school has a vegetable patch. It has three identical rectangular garden beds. They each measure {bwidth} cm by {bdepth} cm. The paths between the beds are {pwidth} mm wide. A fence will be built all the way around the three garden beds as shown. The distance between the garden beds and the fence is also {pwidth} mm. (This diagram is not drawn to scale).

\n

", "advice": "

\n

We are asked to find the length of the fencing, in metres. That is, we need to find the perimeter of the outside rectangle.

\n

The dimensions of the three rectangular beds was given in centimetres. These should be converted to metres. There are 100 cm in 1 metre, so divide by 100.

\n

Bed width = {bwidth} cm ÷ 100 = {bwidth/100} m

\n

Bed length = {bdepth} cm ÷ 100 = {bdepth/100} m

\n

The width of the paths was given in millimetres. This also should be converted to metres. There are 1000 mm in 1 metre, so divide by 1000.

\n

Path width = {pwidth} mm ÷ 1000 = {pwidth/1000} m

\n

The diagram below shows that the perimeter of the outside rectangle can be split up into sections, corresponding to the three measurements given.

\n

\n

Perimeter = (12 x path width) + (6 x bed width) + (2 x bed length)

\n

Perimeter = (12 x {pwidth/1000}) + (6 x {bwidth/100}) + (2 x {pwidth/1000}) metres

\n

Perimeter = {fencing} metres

\n

This measurement already has one decimal place, so there is no need to round it.

\n

Therefore, {fencing} metres of fencing is required to surround the vegetable patch.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"bwidth": {"name": "bwidth", "group": "Ungrouped variables", "definition": "decimal(random(60,70,80,90))", "description": "

The width of one garden bed in centimetres.

", "templateType": "anything", "can_override": false}, "bdepth": {"name": "bdepth", "group": "Ungrouped variables", "definition": "decimal(random(130,140,150,160))", "description": "

The depth (length) of one garden bed in centimetres.

", "templateType": "anything", "can_override": false}, "pwidth": {"name": "pwidth", "group": "Ungrouped variables", "definition": "decimal(random(300,400,500,600))", "description": "

The width of the path in mm.

", "templateType": "anything", "can_override": false}, "school": {"name": "school", "group": "Ungrouped variables", "definition": "random(\"Eastbeach Primary\",\"Westbourne High\",\"Northhampton Primary\",\"Southlake High\",\"Greenville Primary\",\"Forestmount High\")", "description": "

The list of potential school names, from which one is randomly chosen.

", "templateType": "anything", "can_override": false}, "fencing": {"name": "fencing", "group": "Ungrouped variables", "definition": "dpformat(0.012*pwidth+0.06*bwidth+0.02*bdepth,1)", "description": "

The answer for the perimeter, in metres.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["bwidth", "bdepth", "pwidth", "school", "fencing"], "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, "prompt": "

How many metres of fencing are required to surround the vegetable patch as shown? Give your answer to one decimal place.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["{fencing}", "{dpformat((0.012*pwidth+0.06*bwidth+0.02*bdepth)/2,1)}", "{dpformat((2*pwidth+bdepth+bwidth)/100,1)}", "{dpformat(pwidth*bwidth*bdepth/1000000,1)}"], "matrix": ["1", 0, 0, 0], "distractors": ["Well done - you are correct!", "Have you added up all four sides of the rectangle?", "Have you converted all measurements to metres, and included all components of the length and width of the fence?", "Have you converted all measurements to metres, and included all components of the length and width of the fence?"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}]}], "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}