// Numbas version: exam_results_page_options {"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}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["circle", "r", "circumference", "area"], "name": "Circle area and circumference", "tags": [], "type": "question", "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, "showPrecisionHint": false, "type": "numberentry"}, {"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, "showPrecisionHint": false, "type": "numberentry"}], "extensions": [], "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"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Paul Howes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/632/"}]}]}], "contributors": [{"name": "Paul Howes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/632/"}]}