// Numbas version: exam_results_page_options {"name": "Units : Convert between m/s and km/h", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Units : Convert between m/s and km/h", "tags": [], "metadata": {"description": "
Convert speeds from m/s to km/h
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "The table below gives the average speed of a variety of moving objects in metres per second (m/s).
\n\nMoving object | \nSpeed (m/s) | \n
snail gliding | \n0.01 | \n
tortoise walking | \n0.12 | \n
person jogging | \n3.2 | \n
horse galloping | \n13.7 | \n
car cruising | \n26.4 | \n
cheetah running | \n28.3 | \n
aeroplane cruising | \n220 | \n
The {thing} is {moving} at a speed of {speed} m/s.
\nThis means that {pronoun} {speed} metres in one second.
\nIn one minute, the {thing} would travel 60 x {speed} metres = {formatnumber(60*speed,\"si-en\")} metres.
\nIn one hour, the {thing} would travel 60 x {formatnumber(60*speed,\"si-en\")} metres = {formatnumber(3600*speed,\"si-en\")} metres, so {pronoun2} speed is {formatnumber(3600*speed,\"si-en\")} m/h.
\nNow we need to convert the metres to kilometres. There are 1000 metres in one kilometre, so we divide by 1000.
\n{formatnumber(3600*speed,\"si-en\")} m/h ÷ 1000 = {formatnumber(3.6*speed,\"si-en\")} km/h.
\nThis speed does not need to be rounded, so the {thing}'s speed is {formatnumber(3.6*speed,\"si-en\")} km/h.
\nThis speed when rounded to one decimal place is zero.
\nThe {thing}'s speed is 0 km/h.
\nThis speed needs to be rounded to one decimal place.
\nThe {thing}'s speed is {trim(dpformat(precround({3.6*speed},1),1,\"si-en\"))} km/h.
\nThe list of all possible scenarios. It includes the data in the table and the gramatically correct pronoun/verb combination.
", "templateType": "json", "can_override": false}, "scenario": {"name": "scenario", "group": "Ungrouped variables", "definition": "random(scenarios)", "description": "The randomly selected scenario.
", "templateType": "anything", "can_override": false}, "thing": {"name": "thing", "group": "Ungrouped variables", "definition": "scenario[\"object\"]", "description": "The selected item from the table.
", "templateType": "anything", "can_override": false}, "speed": {"name": "speed", "group": "Ungrouped variables", "definition": "scenario[\"mps\"]", "description": "The speed of the selected item from the table.
", "templateType": "anything", "can_override": false}, "pronoun": {"name": "pronoun", "group": "Ungrouped variables", "definition": "scenario[\"pron\"]", "description": "The correct pronoun/verb combination for the selected item from the table.
", "templateType": "anything", "can_override": false}, "moving": {"name": "moving", "group": "Ungrouped variables", "definition": "scenario[\"motion\"]", "description": "The correct term for the motion, relative to the selected object.
", "templateType": "anything", "can_override": false}, "pronoun2": {"name": "pronoun2", "group": "Ungrouped variables", "definition": "scenario[\"pron1\"]", "description": "'its' for animals and 'their' for the person. Used in Advice.
", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["Scenarios", "scenario", "thing", "speed", "pronoun", "moving", "pronoun2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "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": "What is the average speed of the {thing}, in kilometres per hour (km/h)?
\nGive your answer rounded to one decimal place. Do not enter the units.
", "minValue": "3.6*speed", "maxValue": "3.6*speed", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "1", "precisionPartialCredit": "100", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}]}], "contributors": [{"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}, {"name": "Ruth Hand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3228/"}]}