// Numbas version: finer_feedback_settings {"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": [{"variable_groups": [], "preamble": {"js": "", "css": ""}, "type": "question", "name": "Probability - Notation and Conversion between Percentages, Decimals and Fractions", "parts": [{"variableReplacementStrategy": "originalfirst", "type": "gapfill", "scripts": {}, "marks": 0, "showCorrectAnswer": true, "gaps": [{"correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "showCorrectAnswer": true, "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "precisionType": "dp", "mustBeReducedPC": 0, "precisionPartialCredit": 0, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "allowFractions": false, "showPrecisionHint": true, "strictPrecision": false, "maxValue": "{percentage}/100", "precision": "2", "marks": 1, "scripts": {}, "minValue": "{percentage}/100", "variableReplacementStrategy": "originalfirst", "notationStyles": ["plain", "en", "si-en"]}, {"correctAnswerFraction": true, "mustBeReduced": true, "type": "numberentry", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "allowFractions": true, "scripts": {}, "minValue": "{percentage}/100", "maxValue": "{percentage}/100", "marks": 1, "variableReplacements": []}], "variableReplacements": [], "showFeedbackIcon": 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]]

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

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

"}], "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).

", "tags": ["conversion", "Decimals", "decimals", "fractions", "Fractions", "percentages", "Probability", "probability", "taxonomy"], "variables": {"percentage": {"templateType": "anything", "description": "

Part a.

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

Part c.

", "definition": "random(3..9 except 5) ", "name": "denominator", "group": "Ungrouped variables"}, "decimal": {"templateType": "anything", "description": "

Part b.

", "definition": "random(0.10..0.90 #0.10 except percentage/100 )", "name": "decimal", "group": "Ungrouped variables"}}, "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "functions": {}, "ungrouped_variables": ["percentage", "decimal", "denominator"], "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. 

", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

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

"}, "extensions": [], "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/"}]}]}], "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/"}]}