// Numbas version: exam_results_page_options {"name": "Bury my bones in drunken sea", "extensions": [], "custom_part_types": [], "resources": [["question-resources/pool_TB2Lho6.svg", "/srv/numbas/media/question-resources/pool_TB2Lho6.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["length", "width", "depth1", "depth2", "num_lengths", "total_distance", "total_distance_string", "cross_section", "volume"], "preamble": {"js": "", "css": ""}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "

Alex visited a swimming pool. The length of the pool is {length} metres.

", "metadata": {"description": "

Work out the volume of a prism with a trapezium cross-section.

", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "variables": {"depth2": {"description": "", "name": "depth2", "templateType": "anything", "definition": "depth1+random(2..5)", "group": "Ungrouped variables"}, "num_lengths": {"description": "

Number of lengths Alex swims

", "name": "num_lengths", "templateType": "anything", "definition": "random(10..100)", "group": "Ungrouped variables"}, "volume": {"description": "

The volume of the pool, in m3

", "name": "volume", "templateType": "anything", "definition": "cross_section*width", "group": "Ungrouped variables"}, "depth1": {"description": "", "name": "depth1", "templateType": "anything", "definition": "random(2..5)", "group": "Ungrouped variables"}, "width": {"description": "", "name": "width", "templateType": "anything", "definition": "random(10..50#5)", "group": "Ungrouped variables"}, "length": {"description": "", "name": "length", "templateType": "anything", "definition": "random(25,50)", "group": "Ungrouped variables"}, "total_distance_string": {"description": "", "name": "total_distance_string", "templateType": "anything", "definition": "if(total_distance>=1000, total_distance/1000+' kilometres',total_distance+' metres')", "group": "Ungrouped variables"}, "cross_section": {"description": "

The cross-section of the pool - the area of the trapezium face.

", "name": "cross_section", "templateType": "anything", "definition": "(depth2+depth1)*length/2", "group": "Ungrouped variables"}, "total_distance": {"description": "

Total distance Alex swims

", "name": "total_distance", "templateType": "anything", "definition": "length*num_lengths", "group": "Ungrouped variables"}}, "name": "Bury my bones in drunken sea", "parts": [{"customMarkingAlgorithm": "", "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "type": "gapfill", "sortAnswers": false, "scripts": {}, "unitTests": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"maxValue": "num_lengths", "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "minValue": "num_lengths", "unitTests": [], "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReduced": false, "showFeedbackIcon": true, "allowFractions": false, "marks": 1, "mustBeReducedPC": 0}], "showFeedbackIcon": true, "marks": 0, "prompt": "

Alex swims a total of {total_distance_string}.

\n

How many lengths did Alex swim?

\n

[[0]] lengths

"}, {"scripts": {}, "unitTests": [], "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "type": "information", "showCorrectAnswer": true, "showFeedbackIcon": true, "customMarkingAlgorithm": "", "marks": 0, "prompt": "

Here is a sketch of the swimming pool.

\n

"}, {"customMarkingAlgorithm": "", "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "type": "gapfill", "sortAnswers": false, "scripts": {}, "unitTests": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"maxValue": "cross_section", "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "minValue": "cross_section", "unitTests": [], "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReduced": false, "showFeedbackIcon": true, "allowFractions": false, "marks": 1, "mustBeReducedPC": 0}], "showFeedbackIcon": true, "marks": 0, "prompt": "

Work out the cross section of the pool.

\n

[[0]] m2

"}, {"customMarkingAlgorithm": "", "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "type": "gapfill", "sortAnswers": false, "scripts": {}, "unitTests": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"maxValue": "volume*1000", "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerFraction": false, "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "scripts": {}, "notationStyles": ["plain", "en", "si-en"], "minValue": "volume*1000", "unitTests": [], "variableReplacementStrategy": "originalfirst", "type": "numberentry", "mustBeReduced": false, "showFeedbackIcon": true, "allowFractions": false, "marks": 1, "mustBeReducedPC": 0}], "showFeedbackIcon": true, "marks": 0, "prompt": "

Work out the capacity of the pool in litres.

\n

(1 m3 = 1000 litres)

\n

[[0]] litres

"}], "extensions": [], "advice": "", "tags": [], "rulesets": {}, "functions": {}, "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "John Wick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3326/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "John Wick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3326/"}]}