// Numbas version: exam_results_page_options {"name": "Perimeter and Area", "duration": 0, "metadata": {"description": "

Questions for calculating perimeters and areas of shapes.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "allQuestions": true, "shuffleQuestions": true, "percentPass": 0, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "pickQuestions": 0, "navigation": {"onleave": {"action": "none", "message": ""}, "reverse": true, "allowregen": true, "showresultspage": "oncompletion", "preventleave": true, "browse": true, "showfrontpage": true}, "feedback": {"showtotalmark": true, "advicethreshold": 0, "allowrevealanswer": true, "feedbackmessages": [], "showactualmark": true, "showanswerstate": true, "intro": ""}, "type": "exam", "questions": [], "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-shuffled", "pickQuestions": 0, "questions": [{"name": "Rectangle area and perimeter", "extensions": [], "custom_part_types": [], "resources": [["question-resources/rectangle_fFSg27v.png", "/srv/numbas/media/question-resources/rectangle_fFSg27v.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}], "functions": {}, "ungrouped_variables": ["rect", "a", "b", "perimeter", "area"], "tags": [], "advice": "

The perimeter is the lengths of all the sides added together.

\n

The area of a rectangle is height x base.

", "rulesets": {}, "parts": [{"integerPartialCredit": 0, "prompt": "

What is the perimeter of the rectangle in cm?

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{perimeter}", "minValue": "{perimeter}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "prompt": "

What is the area of the rectangle in cm$^2$?

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{area}", "minValue": "{area}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "statement": "

The diagram below shows a rectangle.

\n

{image('resources/question-resources/'+rect)}

\n

a = {a} cm

\n

b = {b} cm

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(1..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "perimeter": {"definition": "a+a+b+b", "templateType": "anything", "group": "Ungrouped variables", "name": "perimeter", "description": ""}, "b": {"definition": "random(10..30)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "rect": {"definition": "'rectangle_fFSg27v.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "rect", "description": ""}, "area": {"definition": "a*b", "templateType": "anything", "group": "Ungrouped variables", "name": "area", "description": ""}}, "metadata": {"description": "

Area and perimeter of rectangles

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Circle area and circumference", "extensions": [], "custom_part_types": [], "resources": [["question-resources/circle_EeFVDNQ.png", "/srv/numbas/media/question-resources/circle_EeFVDNQ.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}], "functions": {}, "ungrouped_variables": ["circle", "r", "circumference", "area"], "tags": [], "advice": "

Circumference of a circle = 2 x $\\pi$ x r (or $\\pi$d)

\n

Area of a circle = $\\pi$ x r$^2$

\n

(r = radius, d = diameter)

", "rulesets": {}, "parts": [{"prompt": "

What is the circumference of the circle in cm? Give your answer to 2 decimal places.

", "allowFractions": false, "variableReplacements": [], "maxValue": "{circumference}+0.1", "minValue": "{circumference}-0.1", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

What is the area of the circle in cm$^2$? Give your answer to 2 decimal places.

", "allowFractions": false, "variableReplacements": [], "maxValue": "{area}+0.1", "minValue": "{area}-0.1", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "statement": "

The diagram below shows a circle.

\n

{image('resources/question-resources/'+circle)}

\n

The radius r = {r} cm

\n

Take $\\pi$ to be 3.14.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"circle": {"definition": "'circle_EeFVDNQ.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "circle", "description": ""}, "r": {"definition": "random(1..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}, "circumference": {"definition": "2*3.14*r", "templateType": "anything", "group": "Ungrouped variables", "name": "circumference", "description": ""}, "area": {"definition": "3.14*(r^2)", "templateType": "anything", "group": "Ungrouped variables", "name": "area", "description": ""}}, "metadata": {"description": "

Area and circumference of circles

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Area and perimeter of triangles", "extensions": [], "custom_part_types": [], "resources": [["question-resources/triangle_Al1hBKj.png", "/srv/numbas/media/question-resources/triangle_Al1hBKj.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}], "functions": {}, "ungrouped_variables": ["tri", "f", "g", "h", "perimeter", "area"], "tags": [], "advice": "

The perimeter of a shape is the lengths of all the sides added together. This is an isosceles triangle, so both of the sides pointing up are equal.

\n

The area of a triangle is $\\frac{1}{2}$ x base x height.

", "rulesets": {}, "parts": [{"integerPartialCredit": 0, "prompt": "

What is the perimeter of the triangle in cm?

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{perimeter}", "minValue": "{perimeter}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

What is the area of the triangle in cm$^2$?

", "allowFractions": false, "variableReplacements": [], "maxValue": "{area}", "minValue": "{area}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "statement": "

The diagram below shows an isosceles triangle.

\n

{image('resources/question-resources/'+tri)}

\n

f = {f} cm

\n

g = {g} cm

\n

h = {h} cm

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"tri": {"definition": "'triangle_Al1hBKj.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "tri", "description": ""}, "perimeter": {"definition": "f+g+g", "templateType": "anything", "group": "Ungrouped variables", "name": "perimeter", "description": ""}, "g": {"definition": "random(15..20)", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(4..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "random(10..15 except g)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "area": {"definition": "0.5*f*h", "templateType": "anything", "group": "Ungrouped variables", "name": "area", "description": ""}}, "metadata": {"description": "

Area and perimeter of triangles.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Area and perimeter of trapeziums", "extensions": [], "custom_part_types": [], "resources": [["question-resources/trapezium_59YJGks.png", "/srv/numbas/media/question-resources/trapezium_59YJGks.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}], "functions": {}, "ungrouped_variables": ["trap", "p", "q", "r", "s", "t", "perimeter", "area"], "tags": [], "advice": "

The perimeter of a shape is the lengths of all the sides added together.

\n

The area of a trapezium is $\\frac{p+t}{2}$ x height (q).

", "rulesets": {}, "parts": [{"integerPartialCredit": 0, "prompt": "

What is the perimeter of the trapezium in cm?

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{perimeter}", "minValue": "{perimeter}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "

What is the area of the trapezium in cm$^2$?

", "allowFractions": false, "variableReplacements": [], "maxValue": "{area}", "minValue": "{area}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "statement": "

The diagram below shows a trapezium.

\n

{image('resources/question-resources/'+trap)}

\n

p = {p} cm

\n

q = {q} cm

\n

r = {r} cm

\n

s = {s} cm

\n

t = {t} cm

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"perimeter": {"definition": "r+t+s+p", "templateType": "anything", "group": "Ungrouped variables", "name": "perimeter", "description": ""}, "area": {"definition": "((p+t)/2)*q", "templateType": "anything", "group": "Ungrouped variables", "name": "area", "description": ""}, "q": {"definition": "random (5..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "q", "description": ""}, "p": {"definition": "random(5..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "s": {"definition": "random(r-1,r,r-2)", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "r": {"definition": "random(3..12)", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}, "trap": {"definition": "'trapezium_59YJGks.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "trap", "description": ""}, "t": {"definition": "p-3", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}}, "metadata": {"description": "

Area and perimeter of trapeziums

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Area and perimeter of parallelograms", "extensions": [], "custom_part_types": [], "resources": [["question-resources/parallelogram_iUPWcgb.png", "/srv/numbas/media/question-resources/parallelogram_iUPWcgb.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}], "functions": {}, "ungrouped_variables": ["para", "m", "n", "perimeter", "area", "l"], "tags": [], "advice": "

The perimeter is the lengths of all the sides added together.

\n

The area of a parallelogram is height x base.

", "rulesets": {}, "parts": [{"integerPartialCredit": 0, "prompt": "

What is the perimeter of the parallelogram in cm?

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{perimeter}", "minValue": "{perimeter}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "prompt": "

What is the area of the parallelogram in cm$^2$?

", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{area}", "minValue": "{area}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "statement": "

The diagram below shows a parallelogram.

\n

{image('resources/question-resources/'+para)}

\n

m = {m} cm

\n

n = {n} cm

\n

l = {l} cm

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"perimeter": {"definition": "m+m+n+n", "templateType": "anything", "group": "Ungrouped variables", "name": "perimeter", "description": ""}, "para": {"definition": "'parallelogram_iUPWcgb.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "para", "description": ""}, "area": {"definition": "l*n", "templateType": "anything", "group": "Ungrouped variables", "name": "area", "description": ""}, "m": {"definition": "random(5..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random(4..20)", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "n": {"definition": "random(5..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}}, "metadata": {"description": "

Area and perimeter of parallelograms

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}], "extensions": [], "custom_part_types": [], "resources": [["question-resources/rectangle_fFSg27v.png", "/srv/numbas/media/question-resources/rectangle_fFSg27v.png"], ["question-resources/circle_EeFVDNQ.png", "/srv/numbas/media/question-resources/circle_EeFVDNQ.png"], ["question-resources/triangle_Al1hBKj.png", "/srv/numbas/media/question-resources/triangle_Al1hBKj.png"], ["question-resources/trapezium_59YJGks.png", "/srv/numbas/media/question-resources/trapezium_59YJGks.png"], ["question-resources/parallelogram_iUPWcgb.png", "/srv/numbas/media/question-resources/parallelogram_iUPWcgb.png"]]}