// Numbas version: exam_results_page_options {"name": "M1_Mid-Module Assessment Task_3", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Capture_t8xlsST.PNG", "/srv/numbas/media/question-resources/Capture_t8xlsST.PNG"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "M1_Mid-Module Assessment Task_3", "tags": [], "metadata": {"description": "

Question 3 from module 1 mid module assessment task

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

A cookie company packages its cookies in rectangular prism boxes designed with square bases that both have a length and width of {base_box_dim_dif} inches less than the height of the box.

\n

", "advice": "\n

 

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

Height of cookie base shaped like rectangular prism

", "templateType": "randrange", "can_override": false}, "base_box_dim_dif": {"name": "base_box_dim_dif", "group": "Ungrouped variables", "definition": "{box_height}-{width}", "description": "

how much less the width and length of the box are than the height

", "templateType": "anything", "can_override": false}, "volume": {"name": "volume", "group": "Ungrouped variables", "definition": "{length}*{width}*{box_height}", "description": "

volume of box height

", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "{width}", "description": "

random variable allowing height to be defined so marking can proceed for 3a

", "templateType": "anything", "can_override": false}, "width": {"name": "width", "group": "Ungrouped variables", "definition": "random(3 .. 6#1)", "description": "", "templateType": "randrange", "can_override": false}, "length": {"name": "length", "group": "Ungrouped variables", "definition": "width", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["base_box_dim_dif", "volume", "box_height", "x", "width", "length"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "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": "

Write a polynomial that represents a box of volume {volume} cubic inches and height \"x\" inches.

", "answer": "{volume}=x*(x-{base_box_dim_diff})^2", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "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": "

Determine the height of the box in inches if its volume is {volume} cubic inches.

", "answer": "{x}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Louis Lizima", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11960/"}]}]}], "contributors": [{"name": "Louis Lizima", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11960/"}]}