// Numbas version: exam_results_page_options {"name": "Converting units of volume (cc/cm^3/litres/m^3)", "extensions": ["random_person"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"unitTests": [], "type": "gapfill", "prompt": "

{person['name']} applies to find out how much the insurance for the car would cost, but is required to state the engine size in litres. 

\n

What is the engine size in litres?

\n

 [[0]] litres. 

\n

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

The specification of a second car gives the engine size in m$^3$. In order for {person['name']} to make a comparison {person['pronouns']['they']} convert{s} the engine size of the first car to cubic metres.

\n

What is the engine size of the first car in units of m$^3$?

\n

[[0]]m$^3$      Give your answer to 4 decimal places

", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "sortAnswers": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"correctAnswerFraction": false, "unitTests": [], "type": "numberentry", "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "customMarkingAlgorithm": "", "mustBeReduced": false, "strictPrecision": false, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "precision": "4", "precisionPartialCredit": 0, "maxValue": "metres_cubed", "showCorrectAnswer": true, "marks": "1", "allowFractions": false, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "showPrecisionHint": false, "variableReplacements": [], "minValue": "metres_cubed", "scripts": {}, "showFeedbackIcon": true}], "scripts": {}, "showFeedbackIcon": true, "showCorrectAnswer": true, "marks": 0}], "variables": {"cc": {"name": "cc", "definition": "random(1200..3000#200)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "person": {"name": "person", "definition": "random_person()", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "metres_cubed": {"name": "metres_cubed", "definition": "cc*(10^-6)", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "litres": {"name": "litres", "definition": "cc/1000", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "s": {"name": "s", "definition": "if(person['gender']='neutral','','s')", "templateType": "anything", "group": "Ungrouped variables", "description": ""}}, "statement": "

{person['name']} is looking to buy a car. {capitalise(person['pronouns']['they'])} find{s} one advertised with an engine size of $\\var{cc}$cc. 

\n

{person['name']} recognises that 'cc' stands for units of cubic centimetres (cm$^3$) and knows the following conversions:

\n\n\n\n\n\n\n\n\n\n\n\n
$1$ m$100$ cm
$1$ litre$1000\\,\\text{cm}^3$ 
", "ungrouped_variables": ["person", "litres", "cc", "s", "metres_cubed"], "variablesTest": {"maxRuns": 100, "condition": ""}, "tags": [], "preamble": {"js": "", "css": ""}, "rulesets": {}, "extensions": ["random_person"], "metadata": {"description": "

Convert figures for car engine sizes between cc (cm^3), litres, and m^3.

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

a)

\n

The advertised engine size is $\\var{cc}$ cubic centimetres. To convert cubic centimetres to litres, we divide by $1000$. 

\n

\\[\\var{cc}\\div 1000= \\var{litres}\\text{ litres.}\\]

\n

b)

\n

In order to convert to cubic metres, we first note that 

\n

\\[ 1 \\text{cm} = 0.01 \\text{m.} \\]

\n

An example of a volume of $1\\text{cm}^3$ is a cube with $1$cm sides. Converting each side into metres,

\n

\\begin{align}
1\\text{cm}^3 &= 1\\text{cm}\\times1\\text{cm}\\times1\\text{cm} \\\\
&= 0.01\\text{m}\\times0.01\\text{m}\\times0.01\\text{m} \\\\
&= 0.000001\\text{m}^3 \\text{.}
\\end{align}

\n

Therefore $\\var{cc}\\text{cm}^3$ is 

\n

\\[ \\var{cc} \\times 0.000001 = \\var{metres_cubed}\\text{m}^3\\text{.} \\]

", "variable_groups": [], "name": "Converting units of volume (cc/cm^3/litres/m^3)", "functions": {}, "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "David Rickard", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/451/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Chris Graham", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/369/"}, {"name": "David Rickard", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/451/"}]}