// Numbas version: finer_feedback_settings {"name": "MG Area by subtraction (10+)", "extensions": [], "custom_part_types": [], "resources": [["question-resources/classroom.png", "/srv/numbas/media/question-resources/classroom.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "MG Area by subtraction (10+)", "tags": ["LANTITE", "Western Sydney MESH"], "metadata": {"description": "

Used for LANTITE preparation (Australia). MG = Measurement & Geometry strand. Students must calculate the area of the classroom excluding the storeroom. The length and width of the classroom and the area of the storeroom are randomly generated.

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

A rectangular primary school classroom has dimensions {width} metres by {length} metres. A storeroom in one corner has floor area {area} m2.

\n

\n

", "advice": "
\n
\n

The area of a rectangle is given by the formula Area = Length x Breadth.

\n

The area of the rectangular classroom is {width} x {length} = {width*length} square metres (abbreviated to m2) .

\n

The area of the storeroom must be subtracted from this.

\n

{width*length} m2 - {area} m2 = {width*length-area} m2.

\n

The floor area of the classroom is {width*length-area} m2.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"width": {"name": "width", "group": "Ungrouped variables", "definition": "random(5 .. 8#0.5)", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n

Width of classroom is between 5m and 8m, in half-metre increments.

", "templateType": "randrange", "can_override": false}, "extrawidth": {"name": "extrawidth", "group": "Ungrouped variables", "definition": "random(1 .. 2.5#0.5)", "description": "
\n
\n
\n
\n

This is how many metres greater the length is, than the width.

", "templateType": "randrange", "can_override": false}, "area": {"name": "area", "group": "Ungrouped variables", "definition": "precround(0.15*width*length,0)", "description": "
\n
\n
\n
\n
\n
\n
\n

Area of storeroom is 15% of area of classroom, rounded to nearest whole number.

", "templateType": "anything", "can_override": false}, "length": {"name": "length", "group": "Ungrouped variables", "definition": "width+extrawidth", "description": "
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Length of classroom is between 1 and 2.5 metres more than width.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["width", "length", "area", "extrawidth"], "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, "prompt": "

What is the floor area of the classroom in square metres, excluding the storeroom? The diagram is not drawn to scale.

", "minValue": "{length}*{width}-{area}", "maxValue": "{length}*{width}-{area}", "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": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}