// Numbas version: exam_results_page_options {"name": "Q6 Convert miles to kilometres and vise versa", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["numberone", "numbertwo", "numberthree", "numberfour", "ansone", "ansthree", "anstwo", "ansfour"], "name": "Q6 Convert miles to kilometres and vise versa", "tags": ["rebelmaths"], "advice": "

To convert from miles to kilometres:

\n

Divide the number of miles by 5 and multiply by 8

\n

To convert from kilometres to miles:

\n

Divide the number of kilometres by 8 and multiply by 5

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

Convert $\\var{numberone}$ miles to kilometres.

\n

[[0]]km

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{ansone}", "minValue": "{ansone}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Convert $\\var{numbertwo}$ kilometres to miles.

\n

[[0]]miles

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{anstwo}", "minValue": "{anstwo}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Convert $\\var{numberthree}$ miles to kilometres.

\n

[[0]]km

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{ansthree}", "minValue": "{ansthree}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

Convert $\\var{numberfour}$ kilometres to miles.

\n

[[0]]miles

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{ansfour}", "minValue": "{ansfour}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Given that 5 miles is equal to 8 kilometres:

\n

(Round to 2 decimal places)

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"numberone": {"definition": "random(100..600)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberone", "description": ""}, "ansthree": {"definition": "({numberthree}/5)*8", "templateType": "anything", "group": "Ungrouped variables", "name": "ansthree", "description": ""}, "ansone": {"definition": "({numberone}/5)*8", "templateType": "anything", "group": "Ungrouped variables", "name": "ansone", "description": ""}, "numberfour": {"definition": "random(100..600 except {numberone} {numbertwo} {numberthree})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfour", "description": ""}, "numberthree": {"definition": "random(100..600 except {numberone} {numbertwo})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberthree", "description": ""}, "ansfour": {"definition": "({numberfour}/8)*5", "templateType": "anything", "group": "Ungrouped variables", "name": "ansfour", "description": ""}, "anstwo": {"definition": "({numbertwo}/8)*5", "templateType": "anything", "group": "Ungrouped variables", "name": "anstwo", "description": ""}, "numbertwo": {"definition": "random(100..600 except {numberone})", "templateType": "anything", "group": "Ungrouped variables", "name": "numbertwo", "description": ""}}, "metadata": {"description": "

Convert kilometers to miles

\n

rebelmaths

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