// Numbas version: exam_results_page_options {"name": "Volumes", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["cs", "cb"], "name": "Volumes", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "

The volume of a 3D shape is the area of an end face multiplied by the uniform length.

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

A cube of side length $\\var{cs[0]}\\text{ cm}$

\n

[[0]] $\\text{cm}^3$

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

A cuboid with length $\\var{cs[1]}\\text{ cm}$, breadth $\\var{cs[2]}\\text{ cm}$ and height $\\var{cb[0]}\\text{ cm}$

\n

[[0]] $\\text{cm}^3$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "cs[1]*cs[2]*cb[0]", "minValue": "cs[1]*cs[2]*cb[0]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

A triangular prism with length $\\var{cb[1]}\\text{ cm}$, base $\\var{cb[2]}\\text{ cm}$ and height $\\var{cs[3]}\\text{ cm}$

\n

[[0]] $\\text{cm}^3$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "cb[1]*cb[2]*cs[3]", "minValue": "cb[1]*cb[2]*cs[3]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

A cylinder with diameter $\\var{cs[4]}\\text{ cm}$ and length $\\var{cb[3]}\\text{ cm}$

\n

[[0]] $\\text{cm}^3$

\n

Give your answer to this part in terms of $\\pi$. To input $\\pi$, type 'pi'.

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "all", "scripts": {}, "answer": "({cs[4]}/2)^2pi*{cb[3]}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Find the volume of each of the following shapes.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"cs": {"definition": "repeat(random(3..7),5)", "templateType": "anything", "group": "Ungrouped variables", "name": "cs", "description": ""}, "cb": {"definition": "repeat(random(8..12),4)", "templateType": "anything", "group": "Ungrouped variables", "name": "cb", "description": ""}}, "metadata": {"notes": "", "description": "

Finding the volumes of basic 3D shapes

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}