// Numbas version: finer_feedback_settings {"name": "Descriptive Statistics", "metadata": {"description": "
Basic descriptive statistics - measures of centre and spread, from a list of data and frequency tables.
", "licence": "None specified"}, "duration": 3600, "percentPass": "90", "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": "8", "questionNames": ["", "", "", "", "", "", "", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], [], [], [], [], [], [], []], "questions": [{"name": "Mean", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "functions": {}, "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4", "a7", "a6"], "tags": ["median", "mode", "Rebel", "REBEL", "rebel", "rebelmaths", "sample mean", "standard deviation", "statistics", "teame"], "preamble": {"css": "", "js": ""}, "advice": "To find the mean: Add up all the values. Then divide by the number of values.
", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "parts": [{"prompt": "$\\text{mean}=\\;\\;$[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "1/7*{(a1+a2+a3+a4+a5+a6+a7)}", "strictPrecision": false, "minValue": "1/7*{(a1+a2+a3+a4+a5+a6+a7)}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "1", "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "Calculate the mean of the following set of numbers correct to one decimal place:
\n$\\var{a1}, \\var{a2}, \\var{a3}, \\var{a4}, \\var{a5}, \\var{a6}, \\var{a7}$ .
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a1": {"definition": "random(9..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a3": {"definition": "random(5..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "random(7..8)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "a5": {"definition": "random(0..2)", "templateType": "anything", "group": "Ungrouped variables", "name": "a5", "description": ""}, "a4": {"definition": "random(3..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "a4", "description": ""}, "a7": {"definition": "random(3..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "a7", "description": ""}, "a6": {"definition": "random(3..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "a6", "description": ""}}, "metadata": {"description": "calculating mean
\nrebelmaths
\nThe mean, median and mode are all averages. Each gives us some information about a typical member of a set of data.
\nTo calculate the mean, you need to find the total of all the test scores and divide it by the number of scores -- in this case 10.
\nThe median is the middle score, when the scores are arranged in order. In this case the number of scores is even, so we need to find the mean of the 5th and 6th scores.
\nThe mode is the most frequent score.
\nSee http://www.skillsyouneed.com/num/averages.html
\nfor more information on these three types of average.
", "rulesets": {}, "parts": [{"stepsPenalty": "1", "prompt": "{a[0]}, {a[1]}, {a[2]}, {a[3]}, {a[4]}, {a[5]}, {a[6]}, {a[7]}, {a[8]}, {a[9]}
\nMean: [[0]]
\nMedian: [[1]]
\nMode: [[2]]
\nGive your answers to 1 decimal place where appropriate.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "The median is the middle score, when the scores are arranged in order. In this case the number of scores is even, so we need to find the mean of the 5th and 6th scores.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "me", "minValue": "me", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "md", "minValue": "md", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "mo", "minValue": "mo", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "Find the mean, median and mode of the following 10 test scores.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"dat": {"definition": "satisfy(\n [a],\n [\n //a is given as a list by generating 10 numbers between 4 and 18\n repeat(random(4..18),10)],\n [ //the conditions are given to force one mode and a reasonably large variance\n //to give some variation.\n length(mode(a))=1,\n variance(a)>8\n ],\n 250\n )", "templateType": "anything", "group": "Ungrouped variables", "name": "dat", "description": ""}, "a": {"definition": "dat[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "mo": {"definition": "mode(a)[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "mo", "description": ""}, "me": {"definition": "mean(a)", "templateType": "anything", "group": "Ungrouped variables", "name": "me", "description": ""}, "md": {"definition": "median(a)", "templateType": "anything", "group": "Ungrouped variables", "name": "md", "description": ""}}, "metadata": {"description": "Find the mean, median and mode of a list of 10 test scores.
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Mean, Median, Mode for Auto", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "functions": {}, "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4", "a7", "a6"], "tags": ["halesowen college", "median", "mode", "rebel", "Rebel", "REBEL", "rebelmaths", "sample mean", "standard deviation", "statistics", "teame"], "preamble": {"css": "", "js": ""}, "advice": "Mean: Add up all the numbers and divide by the number of numbers.
\nMedian: middle value
\nMode: most common value
\n", "rulesets": {"std": ["all", "!collectNumbers", "!noLeadingMinus"]}, "parts": [{"stepsPenalty": "1", "prompt": "$\\text{mean}=\\;\\;$[[0]] (correct to two decimal places)
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "To find the mean:
\n1. Add up all the numbers.
\n2. Divide by the number of numbers.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.01, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "{precround(1/7*(a1+a2+a3+a4+a5+a6+a7),2)}", "marks": 2, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": "1", "prompt": "$\\text{median}=\\;\\;$[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "To find the median:
\nList the numbers in order of increasing size.
\nThe median is then the middle number.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{a4}", "minValue": "{a4}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 2, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"stepsPenalty": "1", "prompt": "$\\text{mode}=\\;\\;$[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "The mode is the number that occurs most often.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{a2}", "minValue": "{a2}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 2, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "The fuel emissions (in g/km of CO2) of a sample of 7 diesel cars of similar type have been recorded as follows:
\n$\\var{a2}, \\var{a7}, \\var{a1}, \\var{a5}, \\var{a3}, \\var{a6}$ and $\\var{a4}$.
\nCalculate the mean, median and mode of these emissions.
Topics covered are calculating the mean, median, mode and standard deviation.
\nrebelmaths
\nSee \"show steps\" within this question for more help.
", "rulesets": {}, "parts": [{"stepsPenalty": "1", "vsetrangepoints": 5, "prompt": "What is the mean value (correct to 2 decimal places)?
", "expectedvariablenames": [], "checkingaccuracy": "2", "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "To find the mean use the formula $\\frac{\\Sigma fx}{\\Sigma f}$
\nIn other words $\\frac{(0\\times\\var{f1})+(1\\times \\var{f2})+(2\\times\\var{f3})+(3\\times\\var{f4}) +(4\\times\\var{f5})+(5\\times\\var{f6})}{\\var{f1}+\\var{f2}+\\var{f3}+\\var{f4}+\\var{f5}+\\var{f6}}$
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "showCorrectAnswer": true, "scripts": {}, "answer": "{mn}", "marks": "4", "checkvariablenames": false, "checkingtype": "dp", "type": "jme"}, {"stepsPenalty": "1", "prompt": "What is the median value?
", "allowFractions": false, "variableReplacements": [], "maxValue": "{median}", "minValue": "{median}", "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "The median is the \"middle\" value.
\nIn a frequency table, the observations are already arranged in an ascending order. We can obtain the median by looking for the value in the middle position.
\nFirst add up the frequencies to find $n$.
\nCase 1. When the sum of the frequencies is odd, then the median is the value at the $\\frac{n+1}{2}^{th}$ position.
Case 2. When the sum of the frequencies is even, then the median is the average of values at the positions $\\frac{n}{2}^{th}$ and $\\frac{n+1}{2}^{th}$.
We need to add up the frequencies until we reach this value and then the class we land in is the median.
What is the mode? (If it is undefined, enter \"0\".)
", "allowFractions": false, "variableReplacements": [], "maxValue": "1", "minValue": "1", "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "The mode is the number which occurs most often. In other words the class with the highest frequency.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "3", "type": "numberentry", "showPrecisionHint": false}], "statement": "Calculate the mean, the median and the mode for the following frequency table:
\nClass | \n0 | \n1 | \n2 | \n3 | \n4 | \n5 | \n
Frequency | \n{f1} | \n{f2} | \n{f3} | \n{f4} | \n{f5} | \n{f6} | \n
rebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Standard deviation of a list of numbers with hints", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "variables": {"var": {"name": "var", "description": "", "definition": "sigma^2", "group": "Ungrouped variables", "templateType": "anything"}, "x": {"name": "x", "description": "", "definition": "random(4,5,8)", "group": "Ungrouped variables", "templateType": "anything"}, "sigma": {"name": "sigma", "description": "", "definition": "stdev(data)", "group": "Ungrouped variables", "templateType": "anything"}, "data": {"name": "data", "description": "", "definition": "repeat(random(1..30),x)", "group": "Ungrouped variables", "templateType": "anything"}, "mean": {"name": "mean", "description": "", "definition": "mean(data)", "group": "Ungrouped variables", "templateType": "anything"}}, "showQuestionGroupNames": false, "advice": "Standard deviation = $\\sqrt{\\frac{\\Sigma (x-\\text{mean})^2}{n}}$
\nWhat is the mean? Add up the numbers and divide by the number of numbers getting an answer of {mean}.
\nNow, subtract the mean individually from each of the numbers given and square the result.
\nNow add up these results. This is the '$\\Sigma (x-\\text{mean})^2$' part in the formula.
Divide by {x} the number of values. This gives an answer of {var}.
Finally, find the square root to get an answer of {sigma}.
", "tags": ["rebel", "Rebel", "REBEL", "rebelmaths"], "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"description": "Just showing how to use the stdev function from the stats extension to calculate the standard deviation of a list of numbers.
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Find the Standard Deviation
", "type": "question", "rulesets": {}, "functions": {}, "variable_groups": [], "ungrouped_variables": ["data", "sigma", "x", "mean", "var"], "preamble": {"js": "", "css": ""}, "parts": [{"steps": [{"type": "information", "showCorrectAnswer": true, "marks": 0, "variableReplacementStrategy": "originalfirst", "scripts": {}, "variableReplacements": [], "prompt": "Standard deviation = $\\sqrt{\\frac{\\Sigma (x-\\text{mean})^2}{n}}$
\nTo find the standard deviation, first find the mean of the list of numbers.
\nWhat is the mean?
\nNow, subtract the mean individually from each of the numbers given and square the result.
\nNow add up these results. This is the '$\\Sigma (x-\\text{mean})^2$' part in the formula.
Divide by $n$ where $n$ is the number of values.
Finally, find the square root.
"}], "showCorrectAnswer": true, "precision": "1", "showPrecisionHint": false, "minValue": "{sigma}", "precisionType": "dp", "prompt": "Find the standard deviation of the following list of numbers {data}.
\nGive your answer correct to one decimal place.
", "precisionMessage": "You have not given your answer to the correct number of decimal places.
", "stepsPenalty": "1", "type": "numberentry", "precisionPartialCredit": 0, "marks": "5", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "scripts": {}, "strictPrecision": false, "maxValue": "{sigma}", "allowFractions": false, "variableReplacements": []}], "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "questions": [], "pickQuestions": 0}]}, {"name": "Mean, median, mode and range", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "functions": {}, "ungrouped_variables": ["a1", "a3", "a2", "a5", "a4", "a7", "a6"], "tags": ["median", "mode", "rebel", "Rebel", "REBEL", "rebelmaths", "sample mean", "standard deviation", "statistics"], "advice": "Mean: $\\mu = \\frac{1}{N}\\sum\\limits_{i=1}^N x_i$
\nMedian: middle value
\nMode: most common value
\nRange: highest value - lowest value.
", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "parts": [{"stepsPenalty": "1", "prompt": "\n$\\text{mean}=\\;\\;$[[0]]
\nEnter decimal answers to 3 decimal places.
\n ", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.01, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "1/7*{(a1+a2+a3+a4+a5+a6+a7)}", "marks": 3, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "steps": [{"prompt": "To find the mean:
\n1. Add up all the numbers.
\n2. Divide by the number of numbers.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}, {"stepsPenalty": "1", "prompt": "$\\text{median}=\\;\\;$[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 1, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "{a4}", "marks": 2, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "steps": [{"prompt": "To find the median:
\nList the numbers in order of increasing size.
\nThe median is then the middle number.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}, {"stepsPenalty": "1", "prompt": "$\\text{mode}=\\;\\;$[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 1, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "{a4}", "marks": 2, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "steps": [{"prompt": "The mode is the number that occurs most often.
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}, {"prompt": "$\\text{range}=\\;\\;$[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.01, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "{a2-a3}", "marks": 2, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "Seven students were asked how they rated the online maths assessment tool numbas on a scale of 0-10, with 0 representing terrible and 10 representing excellent. The results are below. Calculate the mean, median, mode and range for the set of data.
\n$\\var{a1}, \\var{a2}, \\var{a3}, \\var{a4}, \\var{a5}, \\var{a6}, \\var{a7}$ .
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a1": {"definition": "random(2..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a3": {"definition": "random(0..1)", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "random(9..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "a5": {"definition": "random(4..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a5", "description": ""}, "a4": {"definition": "random(6..7)", "templateType": "anything", "group": "Ungrouped variables", "name": "a4", "description": ""}, "a7": {"definition": "a4", "templateType": "anything", "group": "Ungrouped variables", "name": "a7", "description": ""}, "a6": {"definition": "random(7..8)", "templateType": "anything", "group": "Ungrouped variables", "name": "a6", "description": ""}}, "metadata": {"description": "Exam covering questions on the Errorsr part of the SOEE5154M Maths course.
\nTopics covered are calculating the mean, median, mode and standard deviation.
\nrebelmaths
\n$\\frac{\\var{a}+\\var{b}+\\var{c}+\\var{d}+x}{5}=\\var{mean}$,
\n$\\var{a}+\\var{b}+\\var{c}+\\var{d}+x=5\\times\\var{mean}$,
\n\n$\\var{tot}+x=\\var{g}$,
\n$x=\\var{g}-\\var{tot}$
\n$x=\\var{f}$
\n", "variable_groups": [], "ungrouped_variables": ["a", "b", "c", "d", "f", "mean", "g", "tot"], "tags": ["mean", "Rebel", "REBEL", "rebel", "rebelmaths"], "metadata": {"description": "rebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"type": "gapfill", "showFeedbackIcon": true, "steps": [{"type": "information", "showFeedbackIcon": true, "marks": 0, "prompt": "To find the mean of a set of numbers add them together and divide by the number of numbers.
", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}}], "marks": 0, "stepsPenalty": "1", "prompt": "The mean of $\\var{a}, \\var{b}, \\var{c}, \\var{d}$ and $x$ is $\\var{mean}$, find the value of $x$.
\n$x=$[[0]]
", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "gaps": [{"allowFractions": false, "minValue": "{f}", "correctAnswerStyle": "plain", "marks": 1, "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "scripts": {}, "maxValue": "{f}", "type": "numberentry", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "showCorrectAnswer": true, "scripts": {}}], "statement": "Find the value of x given information about the mean
", "functions": {}, "preamble": {"css": "", "js": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {}, "type": "question"}, {"name": "Cumulative frequency distribution", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "functions": {}, "ungrouped_variables": ["a", "c", "b", "d", "g", "f", "tot", "thing"], "tags": ["cr1", "data analysis", "fitted value", "Rebel", "REBEL", "rebel", "rebelmaths", "regression", "residual value", "sc", "statistics"], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "Calculate the cumulative frequecy distribution and the relative cumulative frequency distribution.
\nx | Cumulative Frequency Distribution | \n Relative Cumulative Frequency Distribution \nEnter answer in decimal form (not percentage) \n(correct to 2 decimal places) \n |
---|---|---|
Less than 50 | \n[[0]] | \n[[1]] | \n
Less than 60 | \n[[2]] | \n[[3]] | \n
Less than 70 | \n[[4]] | \n[[5]] | \n
Less than 80 | \n[[6]] | \n[[7]] | \n
Less than 90 | \n[[8]] | \n[[9]] | \n
Less than 100 | \n[[10]] | \n[[11]] | \n
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "integerPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{a}", "strictPrecision": true, "minValue": "{a}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": 0, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "{a}/tot", "strictPrecision": false, "minValue": "{a}/{tot}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{a}+{b}", "minValue": "{a}+{b}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "({a}+{b})/{tot}", "strictPrecision": false, "minValue": "({a}+{b})/{tot}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{a}+{b}+{c}", "minValue": "{a}+{b}+{c}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "({a}+{b}+{c})/{tot}", "strictPrecision": false, "minValue": "({a}+{b}+{c})/{tot}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "{a}+{b}+{c}+{d}", "minValue": "{a}+{b}+{c}+{d}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "({a}+{b}+{c}+{d})/{tot}", "strictPrecision": false, "minValue": "({a}+{b}+{c}+{d})/{tot}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"integerPartialCredit": 0, "integerAnswer": true, "allowFractions": false, "variableReplacements": [], "maxValue": "({a}+{b}+{c}+{d}+{f})", "minValue": "({a}+{b}+{c}+{d}+{f})", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "({a}+{b}+{c}+{d}+{f})/{tot}", "strictPrecision": false, "minValue": "({a}+{b}+{c}+{d}+{f})/{tot}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{a}+{b}+{c}+{d}+{f}+{g}", "minValue": "{a}+{b}+{c}+{d}+{f}+{g}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "maxValue": "({a}+{b}+{c}+{d}+{f}+{g})/{tot}", "strictPrecision": false, "minValue": "({a}+{b}+{c}+{d}+{f}+{g})/{tot}", "variableReplacementStrategy": "originalfirst", "precisionPartialCredit": 0, "correctAnswerFraction": false, "showCorrectAnswer": true, "precision": "2", "scripts": {}, "marks": "0.5", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "
The table below shows the frequency distribution for {thing}.
\nx | f |
---|---|
40 but less than 50 | \n{a} | \n
50 but less than 60 | \n{b} | \n
60 but less than 70 | \n{c} | \n
70 but less than 80 | \n{d} | \n
80 but less than 90 | \n{f} | \n
90 but less than 100 | \n{g} | \n
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(1..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(1..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(1..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(1..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(1..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(1..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "f", "description": ""}, "tot": {"definition": "a+b+c+d+f+g", "templateType": "anything", "group": "Ungrouped variables", "name": "tot", "description": ""}, "thing": {"definition": "random('marks achieved by first year students in an assessment', ' the number of visits to a gym in a year by first year marketing students')", "templateType": "anything", "group": "Ungrouped variables", "name": "thing", "description": ""}}, "metadata": {"description": "
Cumulative Frequency Distribution
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Cumulative frequency ", "extensions": [], "custom_part_types": [], "resources": [["question-resources/Q11_cumlative_frequnecy_1.jpg", "/srv/numbas/media/question-resources/Q11_cumlative_frequnecy_1.jpg"], ["question-resources/Q11_cumlative_frequnecy.jpg", "/srv/numbas/media/question-resources/Q11_cumlative_frequnecy.jpg"], ["question-resources/Q11_cumlative_frequnecy_2.jpg", "/srv/numbas/media/question-resources/Q11_cumlative_frequnecy_2.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "functions": {}, "ungrouped_variables": [], "tags": ["cumulative", "rebel", "REBEL", "Rebel", "rebelmaths"], "advice": "Check you're using the correct axis.
", "rulesets": {}, "parts": [{"prompt": "How many people waited less than 20 minutes?
", "allowFractions": false, "variableReplacements": [], "maxValue": "10", "minValue": "10", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"prompt": "Give an estimate for the number of people who waited between 20 and 40 minutes.
", "allowFractions": false, "variableReplacements": [], "maxValue": "24", "minValue": "22", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}], "statement": "The cumulative frequency diagram gives information about the time, in minutes, 50 people were kept waiting at hospital.
\n", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {}, "metadata": {"description": "rebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Qualitative v Quantative", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "functions": {}, "ungrouped_variables": ["quant1", "quant2", "qual2", "cind", "qual1", "m", "ch1", "ch2", "ch3", "quant", "ind", "ind1", "qual"], "tags": ["qualitative variables", "quantitative variables", "random variables", "rebel", "Rebel", "REBEL", "rebelmaths", "statistics"], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"maxAnswers": 0, "shuffleChoices": true, "matrix": "m", "shuffleAnswers": true, "minAnswers": 0, "variableReplacements": [], "answers": ["Qualitative (Categorical)
", "Quantitative (Numerical)
"], "warningType": "none", "variableReplacementStrategy": "originalfirst", "maxMarks": 0, "showCorrectAnswer": true, "scripts": {}, "marks": 0, "choices": ["{ch1}", "{ch2}", "{ch3}"], "type": "m_n_x", "displayType": "radiogroup", "minMarks": 0, "layout": {"expression": "", "type": "all"}}], "statement": "State whether the following variables are Qualitative (Categorical) or Quantitative(numerical).
\nNote that you will be deducted one mark for every wrong choice. However the minimum mark is 0.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"quant1": {"definition": "[\"The number of orders received by a catering company\",\"The height of students taking Statistics courses at Newcastle this year\", \"Your quarterly gas bill\", \"The time spent on hold at a credit call centre\",\"The average shipping time for orders placed with a TV shopping channel\",\"The annual electricity bill for a large UK Supermarket\"]", "templateType": "anything", "group": "Ungrouped variables", "name": "quant1", "description": ""}, "quant2": {"definition": "[\"The number of people requiring a special in-flight meal\",\"The average volume of bottles of wine imported from South America\",\"Salaries of Newcastle University graduates six months after graduation\",\"The distance travelled by taxis for a particular cab firm every day\",\"Total annual sales for a large American departmental store\",\"The total cost of a student's text books for this semester\"]", "templateType": "anything", "group": "Ungrouped variables", "name": "quant2", "description": ""}, "qual2": {"definition": "[\"Ice cream flavour preferred by children\",\"Brand of sportswear preferred by athletes\",\"Favourite type of film by UK cinema-goers\",\"Mobile phone price-plan\",\"Shape of swimming pools in local authority-run leisure centres\"]", "templateType": "anything", "group": "Ungrouped variables", "name": "qual2", "description": ""}, "cind": {"definition": "-1*ind1", "templateType": "anything", "group": "Ungrouped variables", "name": "cind", "description": ""}, "qual1": {"definition": "[\"Types of PC used by small businesses in the north-east\",\"Marital status of questionnaire respondents\",\"Month of the year in which small shops record their highest sales\",\"Type of tenure for those in the licensed trade business\",\"Subjects studied at A level by students in this class\"]", "templateType": "anything", "group": "Ungrouped variables", "name": "qual1", "description": ""}, "m": {"definition": "transpose(matrix(list(cind),list(ind1)))", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "ch1": {"definition": "switch(ind[0]=0,random(qual),random(quant))", "templateType": "anything", "group": "Ungrouped variables", "name": "ch1", "description": ""}, "ch2": {"definition": "switch(ind[1]=0,random(qual except ch1),random(quant except ch1))", "templateType": "anything", "group": "Ungrouped variables", "name": "ch2", "description": ""}, "ch3": {"definition": "switch(ind[2]=0,random(qual except [ch1,ch2]),random(quant except [ch1,ch2]))", "templateType": "anything", "group": "Ungrouped variables", "name": "ch3", "description": ""}, "quant": {"definition": "quant1+quant2", "templateType": "anything", "group": "Ungrouped variables", "name": "quant", "description": ""}, "ind": {"definition": "random([[0,0,0],[1,0,0],[0,1,0],[0,0,1],[0,1,1],[1,0,1],[1,1,0],[1,1,1]])", "templateType": "anything", "group": "Ungrouped variables", "name": "ind", "description": ""}, "ind1": {"definition": "2*vector(ind)-vector(1,1,1)", "templateType": "anything", "group": "Ungrouped variables", "name": "ind1", "description": ""}, "qual": {"definition": "qual1+qual2", "templateType": "anything", "group": "Ungrouped variables", "name": "qual", "description": ""}}, "metadata": {"description": "Choosing whether given random variables are qualitiative or quantitative.
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Summation notation ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "tags": ["REBEL", "rebel", "Rebel", "rebelmaths", "summation"], "metadata": {"description": "rebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "The following table lists five pairs of $x$ and $f$ values.
\n$\\mathbf{x}$ | {x1} | {x2} | {x3} | {x4} | {x5} |
---|---|---|---|---|---|
$\\mathbf{f} $ | \n{f1} | \n{f2} | \n{f3} | \n{f4} | \n{f5} | \n
$\\sum x = $ [[0]]
\n$\\sum f = $ [[1]]
\n$\\sum fx = $ [[2]]
\n$\\sum fx^2 =$ [[3]]
", "stepsPenalty": 0, "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$\\Sigma$ just means 'sum of' or total.
\nFor example:
\n$\\Sigma x$ means add up the $x$ values
\n"}], "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{x1}+{x2}+{x3}+{x4}+{x5}", "maxValue": "{x1}+{x2}+{x3}+{x4}+{x5}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{f1}+{f2}+{f3}+{f4}+{f5}", "maxValue": "{f1}+{f2}+{f3}+{f4}+{f5}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{f1}*{x1}+{f2}*{x2}+{f3}*{x3}+{f4}*{x4}+{f5}*{x5}", "maxValue": "{f1}*{x1}+{f2}*{x2}+{f3}*{x3}+{f4}*{x4}+{f5}*{x5}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{f1}*{x1}^2+{f2}*{x2}^2+{f3}*{x3}^2+{f4}*{x4}^2+{f5}*{x5}^2", "maxValue": "{f1}*{x1}^2+{f2}*{x2}^2+{f3}*{x3}^2+{f4}*{x4}^2+{f5}*{x5}^2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Summation notation 2 ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}], "functions": {}, "ungrouped_variables": ["x2", "x3", "x1", "x6", "x4", "x5"], "tags": ["rebel", "Rebel", "REBEL", "rebelmaths", "summation"], "preamble": {"css": "", "js": ""}, "advice": "The symbol $\\Sigma$ means 'sum of' or 'total'.
\n\n$\\sum y $ means add up the $y$ values.
\n$(\\sum y)^2 $ means add up the $y$ values and then square your answer.
$\\sum y^2 $ means square each of the $y$ values then add them up.
\n", "rulesets": {}, "parts": [{"prompt": "Find
\n$\\sum y = $ [[0]]
\n$(\\sum y)^2 = $ [[1]]
\n$\\sum y^2 = $ [[2]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{x1}+{x2}+{x3}+{x4}+{x5}+{x6}", "minValue": "{x1}+{x2}+{x3}+{x4}+{x5}+{x6}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "({x1}+{x2}+{x3}+{x4}+{x5}+{x6})^2", "minValue": "({x1}+{x2}+{x3}+{x4}+{x5}+{x6})^2", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{x1}^2+{x2}^2+{x3}^2+{x4}^2+{x5}^2+{x6}^2", "minValue": "{x1}^2+{x2}^2+{x3}^2+{x4}^2+{x5}^2+{x6}^2", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": "2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "Six adults spent {x1}, {x2}, {x3}, {x4}, {x5} and {x6} euros on lottery tickets last month. Let $y$ denote last month's lottery ticket expenses for an adult.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"x2": {"definition": "random(10..20#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "x2", "description": ""}, "x3": {"definition": "random(2..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "x3", "description": ""}, "x1": {"definition": "random(1..30#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "x1", "description": ""}, "x6": {"definition": "random(5..20#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "x6", "description": ""}, "x4": {"definition": "random(5..15#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "x4", "description": ""}, "x5": {"definition": "random(2..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "x5", "description": ""}}, "metadata": {"description": "Summation Notation
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "warn", "message": "Times up
"}, "timedwarning": {"action": "warn", "message": "5 minutes remain to complete this exam. Remember you can pause it to take a break.
"}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "You have 8 questions to complete in 60 minutes. You can pause the exam at any time and resume later. This online quiz is worth 3%.
\nThe pass mark is 90%. You can ask for hints and regenerate questions as you go. Once you reach 90% do not enter the exam again as this will reset your score to 0 and you will have to retake the quiz.
\nGood luck - remember this acts as study for the final exam!
", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": [], "enterreviewmodeimmediately": true, "showexpectedanswerswhen": "inreview", "showpartfeedbackmessageswhen": "always", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showadvicewhen": "inreview"}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "type": "exam", "contributors": [{"name": "Aoife O'Brien", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1693/"}], "extensions": ["stats"], "custom_part_types": [], "resources": [["question-resources/Q11_cumlative_frequnecy_1.jpg", "/srv/numbas/media/question-resources/Q11_cumlative_frequnecy_1.jpg"], ["question-resources/Q11_cumlative_frequnecy.jpg", "/srv/numbas/media/question-resources/Q11_cumlative_frequnecy.jpg"], ["question-resources/Q11_cumlative_frequnecy_2.jpg", "/srv/numbas/media/question-resources/Q11_cumlative_frequnecy_2.jpg"]]}