// Numbas version: exam_results_page_options {"name": "Probability - Notation and Conversion between Percentages, Decimals and Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": ["conversion", "Decimals", "decimals", "fractions", "Fractions", "percentages", "Probability", "probability", "taxonomy"], "statement": "

Probabilities can be expressed as fractions, decimals or percentages.

\n

Convert each of the following probabilities into each of the two alternative numerical forms. 

", "variable_groups": [], "ungrouped_variables": ["percentage", "decimal", "denominator"], "variables": {"percentage": {"group": "Ungrouped variables", "description": "

Part a.

", "definition": "random(10..90 #10)", "name": "percentage", "templateType": "anything"}, "decimal": {"group": "Ungrouped variables", "description": "

Part b.

", "definition": "random(0.10..0.90 #0.10 except percentage/100 )", "name": "decimal", "templateType": "anything"}, "denominator": {"group": "Ungrouped variables", "description": "

Part c.

", "definition": "random(3..9 except 5) ", "name": "denominator", "templateType": "anything"}}, "functions": {}, "preamble": {"css": "", "js": ""}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Represent a given probability to a decimal, fraction or percentage.

"}, "parts": [{"variableReplacementStrategy": "originalfirst", "marks": 0, "type": "gapfill", "gaps": [{"variableReplacementStrategy": "originalfirst", "allowFractions": false, "marks": 1, "precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "showPrecisionHint": true, "minValue": "{percentage}/100", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "correctAnswerFraction": false, "mustBeReducedPC": 0, "strictPrecision": false, "notationStyles": ["plain", "en", "si-en"], "precisionPartialCredit": 0, "type": "numberentry", "precision": "2", "showFeedbackIcon": true, "scripts": {}, "maxValue": "{percentage}/100", "variableReplacements": [], "mustBeReduced": false}, {"variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 1, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "correctAnswerFraction": true, "mustBeReduced": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "type": "numberentry", "maxValue": "{percentage}/100", "showFeedbackIcon": true, "minValue": "{percentage}/100", "variableReplacements": [], "allowFractions": true}], "prompt": "

The probability that it rains today is $\\var{percentage}\\%$.

\n

i)

\n

Convert this probability to a decimal.

\n

$\\mathrm{P}(\\text{Rain}) =$ [[0]]

\n

ii)

\n

Convert this probability to a fraction.

\n

$\\mathrm{P}(\\text{Rain}) =$ [[1]]

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

The probability that your bus is late today is $\\var{decimal}$.

\n

i)

\n

Convert this probability to a percentage (if necessary, round your answer to the nearest percent).

\n

$\\mathrm{P}(\\text{Late}) =$ [[0]]$\\%$.

\n

ii)

\n

Convert this probability to a fraction.

\n

$\\mathrm{P}(\\text{Late}) =$ [[1]]

", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": [], "scripts": {}}, {"variableReplacementStrategy": "originalfirst", "marks": 0, "type": "gapfill", "gaps": [{"variableReplacementStrategy": "originalfirst", "allowFractions": false, "marks": 1, "precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "showPrecisionHint": false, "minValue": "(1/{denominator})*100", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "correctAnswerFraction": false, "mustBeReducedPC": 0, "strictPrecision": false, "notationStyles": ["plain", "en", "si-en"], "precisionPartialCredit": 0, "type": "numberentry", "precision": 0, "showFeedbackIcon": true, "scripts": {}, "maxValue": "(1/{denominator})*100", "variableReplacements": [], "mustBeReduced": false}, {"variableReplacementStrategy": "originalfirst", "allowFractions": false, "marks": 1, "precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "showPrecisionHint": true, "minValue": "(1/{denominator})", "correctAnswerStyle": "plain", "showCorrectAnswer": true, "correctAnswerFraction": false, "mustBeReducedPC": 0, "strictPrecision": false, "notationStyles": ["plain", "en", "si-en"], "precisionPartialCredit": 0, "type": "numberentry", "precision": "2", "showFeedbackIcon": true, "scripts": {}, "maxValue": "(1/{denominator})", "variableReplacements": [], "mustBeReduced": false}], "prompt": "

The probability that a football match between Newcastle United and Manchester United ends in a draw is $\\displaystyle\\frac{1}{\\var{denominator}}$.

\n

i)

\n

Convert this probability to a percentage (if necessary, round your answer to the nearest percent).

\n

$\\mathrm{P}(\\text{Draw}) =$ [[0]]$\\%$.

\n

ii)

\n

Convert this probability to a decimal.

\n

$\\mathrm{P}(\\text{Draw}) =$ [[1]]

", "showFeedbackIcon": true, "showCorrectAnswer": true, "variableReplacements": [], "scripts": {}}], "type": "question", "advice": "

a)

\n

We are told that $\\mathrm{P}(\\text{Rain}) = \\var{percentage}\\%$.

\n

i)

\n

To convert this to a decimal, we divide $\\var{percentage}$ by $100$.

\n

\\[\\frac{\\var{percentage}}{100} = \\simplify{{{percentage}/100}}.\\]

\n

Then, $\\mathrm{P}(\\text{Rain}) = \\simplify{{{percentage}/100}}$.

\n

ii)

\n

Similary, to convert this to a fraction, we divide $\\var{percentage}$ by $100$, but leave the fraction in its simplified form.

\n

\\[\\frac{\\var{percentage}}{100} = \\simplify{{percentage}/100}.\\]

\n

Then, $\\mathrm{P}(\\text{Rain}) = \\displaystyle\\simplify{{percentage}/100}$.

\n

b)

\n

We are told that $\\mathrm{P}(\\text{Late}) = \\var{decimal}$.

\n

i)

\n

To convert this to a percentage, we multiply $\\var{decimal}$ by $100$.

\n

\\[\\var{decimal} \\times 100 = \\simplify{{decimal}*100}.\\]

\n

Then, $\\mathrm{P}(\\text{Late}) = \\simplify{{decimal}*100}\\%$.

\n

ii)

\n

To convert this to a fraction, we multiply $\\var{decimal}$ by $\\displaystyle\\frac{100}{100}$. 

\n

\\[
\\begin{align}
\\var{decimal} \\times \\frac{100}{100} &= \\frac{\\simplify{{decimal}*100}}{100} \\\\[0.5em]
&= \\simplify{({decimal*100})/100}.
\\end{align}
\\]

\n

Then, $\\mathrm{P}(\\text{Late}) =\\displaystyle\\simplify{({decimal}*100)/100}$.

\n

c)

\n

We are told that $\\mathrm{P}(\\text{Draw}) = \\displaystyle\\frac{1}{\\var{denominator}}$.

\n

i)

\n

To convert this to a percentage, we multiply $\\displaystyle\\frac{1}{\\var{denominator}}$ by $100$.

\n

\\[
\\begin{align}
\\frac{1}{\\var{denominator}} \\times 100 &= \\var{100/{denominator}} \\\\
&= \\var{dpformat(100/{denominator},0)} & (\\text{rounded to the nearest integer}).
\\end{align}
\\]

\n

So, $\\mathrm{P}(\\text{Draw}) = \\var{dpformat(100/{denominator},0)}\\%$.

\n

ii)

\n

To convert this to a decimal, we can use a calculator to calculate $1 \\div \\var{denominator}$.

\n

\\[\\frac{1}{\\var{denominator}} = \\simplify{{1/{denominator}}}.\\]

\n

So, $\\mathrm{P}(\\text{Draw}) = \\var{dpformat(1/{denominator},2)}$ (rounded to two decimal places).

", "rulesets": {}, "extensions": [], "name": "Probability - Notation and Conversion between Percentages, Decimals and Fractions", "variablesTest": {"condition": "", "maxRuns": 100}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Elliott Fletcher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1591/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}