// Numbas version: finer_feedback_settings {"name": "Choose the probability of getting certain scores on a die", "extensions": [], "custom_part_types": [], "resources": [["question-resources/dice.svg", "/srv/numbas/media/question-resources/dice.svg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "
First part asks for the probability of rolling an even number. Second part asks for the probability of not rolling either of two given numbers.
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "preamble": {"css": "", "js": ""}, "advice": "For equally likely outcomes, you can calculate the probability of a particular event occurring by using the formula
\n$\\text{Probability of an event} = \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}$.
\nRolling a fair six-sided die has six possible outcomes, each of which is equally likely.
\nLet's say we want to find the probability of rolling a $2$. There is only one outcome which involves a $2$ being rolled, so the number of favourable outcomes is $1$.
\nHence using the above formula,
\n\\begin{align}
P(\\text{rolling a $2$}) &= \\displaystyle\\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}\\\\
&= \\displaystyle\\frac{1}{6}
\\end{align}
There are three possible outcomes where we roll an even number on the die:
\nUsing the formula for probability for equally likely outcomes, this means that
\n\\[
P(\\text{rolling an even number}) = \\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}}= \\frac{3}{6} = \\frac{1}{2}
\\]
To find the probability of not rolling a $\\var{die1}$ or a $\\var{die2}$, we use the same formula again.
\nThe total number of outcomes is still $6$.
\nHere, we have four possible outcomes which don't involve rolling a $\\var{die1}$ or a $\\var{die2}$, i.e. when we roll any of the other numbers on the die.
\nUsing the formula,
\n\\[
P(\\text{not rolling a $\\var{die1}$ or a $\\var{die2}$}) = \\frac{\\text{number of favourable outcomes}}{\\text{total number of outcomes}} = \\frac{4}{6} = \\frac{2}{3}
\\]
Not included number for a) ii)
", "templateType": "anything"}, "red": {"name": "red", "definition": "random(15,19)", "group": "Ungrouped variables", "description": "number of red balls in part c
", "templateType": "anything"}, "die2": {"name": "die2", "definition": "random(4..6)", "group": "Ungrouped variables", "description": "Not included number for a) ii)
", "templateType": "anything"}}, "statement": "You're going to roll a fair six-sided die.
", "parts": [{"type": "gapfill", "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": 0, "prompt": "What is the probability of rolling an even number?
\n[[0]]
", "showCorrectAnswer": true, "gaps": [{"type": "1_n_2", "maxMarks": 0, "variableReplacementStrategy": "originalfirst", "marks": 0, "showFeedbackIcon": true, "displayColumns": 0, "minMarks": 0, "distractors": ["", "", "", ""], "shuffleChoices": false, "scripts": {}, "variableReplacements": [], "displayType": "radiogroup", "choices": ["$1$
", "$\\displaystyle\\frac{2}{3}$
", "$\\displaystyle\\frac{1}{2}$
", "$\\displaystyle\\frac{1}{3}$
"], "showCorrectAnswer": true, "matrix": [0, 0, "1", 0]}], "showFeedbackIcon": true, "variableReplacements": []}, {"type": "gapfill", "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": 0, "prompt": "What is the probability of not rolling a $\\var{die1}$ or $\\var{die2}$?
\n[[0]]
", "showCorrectAnswer": true, "gaps": [{"type": "1_n_2", "maxMarks": 0, "variableReplacementStrategy": "originalfirst", "marks": 0, "showFeedbackIcon": true, "displayColumns": 0, "minMarks": 0, "distractors": ["", "", "", ""], "shuffleChoices": false, "scripts": {}, "variableReplacements": [], "displayType": "radiogroup", "choices": ["$0$
", "$\\displaystyle\\frac{2}{3}$
", "$\\displaystyle\\frac{1}{3}$
", "$\\displaystyle\\frac{1}{4}$
"], "showCorrectAnswer": true, "matrix": ["0", "1", 0, 0]}], "showFeedbackIcon": true, "variableReplacements": []}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"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": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}