// Numbas version: exam_results_page_options {"name": "Volume", "duration": 0, "metadata": {"description": "

Questions about volumes of shapes, and some surface areas.

", "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": "Pyramid volume", "extensions": [], "custom_part_types": [], "resources": [["question-resources/square_based_pyramid_pOX5FsT.png", "/srv/numbas/media/question-resources/square_based_pyramid_pOX5FsT.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": ["py", "x", "y", "volume"], "tags": [], "advice": "

The volume of pyramids and cones is:

\n

$\\frac{1}{3} x base area x height

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

What is the volume of the pyramid in cm$^3$?

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

The diagram below shows a square-based pyramid.

\n

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

\n

x = {x} cm

\n

y = {y} cm

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"y": {"definition": "random(5..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "y", "description": ""}, "x": {"definition": "random(1..20)", "templateType": "anything", "group": "Ungrouped variables", "name": "x", "description": ""}, "py": {"definition": "'square_based_pyramid_pOX5FsT.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "py", "description": ""}, "volume": {"definition": "(1/3)*(x*x)*y", "templateType": "anything", "group": "Ungrouped variables", "name": "volume", "description": ""}}, "metadata": {"description": "

Volume of pyramids (also works for cones)

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Volume and surface area of cuboids", "extensions": [], "custom_part_types": [], "resources": [["question-resources/cuboid_bc6LBWh.png", "/srv/numbas/media/question-resources/cuboid_bc6LBWh.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": ["cub", "s", "t", "u", "volume", "surfacearea"], "tags": [], "advice": "

The volume of a cuboid is the height x width x depth.

\n

The surface area is the area of the 6 different sides added together. Remember to calculate the area of each pair of sides individually.

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

What is the volume of the cuboid in cm$^3$?

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

What is the surface area of the cuboid in cm$^2$?

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

The diagram below shows a cuboid.

\n

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

\n

s = {s} cm

\n

t = {t} cm

\n

u = {u} cm

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"volume": {"definition": "s*t*u", "templateType": "anything", "group": "Ungrouped variables", "name": "volume", "description": ""}, "s": {"definition": "random(15..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "u": {"definition": "random(5..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "u", "description": ""}, "cub": {"definition": "'cuboid_bc6LBWh.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "cub", "description": ""}, "surfacearea": {"definition": "(2*(s*t))+(2*(s*u))+(2*(t*u))", "templateType": "anything", "group": "Ungrouped variables", "name": "surfacearea", "description": ""}, "t": {"definition": "random(1..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}}, "metadata": {"description": "

Questions about the volumes and surface areas of cuboids.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Volume of a sphere", "extensions": [], "custom_part_types": [], "resources": [["question-resources/sphere_T3D0QWG.png", "/srv/numbas/media/question-resources/sphere_T3D0QWG.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": ["sphere", "z", "volume"], "tags": [], "advice": "

The volume of a sphere is $\\frac{4}{3}\\pi r^3.

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

Calculate the volume of the sphere in cm$^3$. Give your answer to 2 decimal places.

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

The diagram below shows a sphere.

\n

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

\n

z = {z} cm

\n

Take $\\pi$ to be 3.14

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"volume": {"definition": "(4/3)*3.14*(z^3)", "templateType": "anything", "group": "Ungrouped variables", "name": "volume", "description": ""}, "sphere": {"definition": "'sphere_T3D0QWG.png'", "templateType": "anything", "group": "Ungrouped variables", "name": "sphere", "description": ""}, "z": {"definition": "random(1..25)", "templateType": "anything", "group": "Ungrouped variables", "name": "z", "description": ""}}, "metadata": {"description": "

Question about the volume of spheres

", "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/square_based_pyramid_pOX5FsT.png", "/srv/numbas/media/question-resources/square_based_pyramid_pOX5FsT.png"], ["question-resources/cuboid_bc6LBWh.png", "/srv/numbas/media/question-resources/cuboid_bc6LBWh.png"], ["question-resources/sphere_T3D0QWG.png", "/srv/numbas/media/question-resources/sphere_T3D0QWG.png"]]}