// Numbas version: exam_results_page_options {"type": "exam", "percentPass": "40", "feedback": {"showtotalmark": true, "intro": "", "advicethreshold": 0, "showactualmark": true, "feedbackmessages": [], "allowrevealanswer": true, "showanswerstate": true}, "navigation": {"showfrontpage": true, "showresultspage": "oncompletion", "reverse": true, "browse": true, "onleave": {"message": "

Please attempt question

", "action": "none"}, "allowregen": true, "preventleave": true}, "metadata": {"description": "

Stem and leaf, summation notation, cumulative frequency, relative cumulative frequency.

\n

rebelmaths

\n

rebel

", "licence": "None specified"}, "question_groups": [{"questions": [{"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.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
xCumulative Frequency Distribution\n

Relative Cumulative Frequency Distribution

\n

Enter answer in decimal form (not percentage)

\n

(correct to 2 decimal places)

\n
Less than 50[[0]][[1]]
Less than 60[[2]][[3]]
Less than 70[[4]][[5]]
Less than 80[[6]][[7]]
Less than 90[[8]][[9]]
Less than 100[[10]][[11]]
\n

\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}.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
xf
40 but less than 50{a}
50 but less than 60{b}
60 but less than 70{c}
70 but less than 80{d}
80 but less than 90{f}
90 but less than 100{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

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Relative Percentage Frequency", "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": {"revsort": {"definition": "list(-1*vector(sort(list(-1*vector(a)))))", "type": "list", "parameters": [["a", "list"]], "language": "jme"}}, "ungrouped_variables": ["a", "what", "freqdays", "daysopen", "things", "m", "forwhat", "units", "s", "num", "rel", "n1", "y", "freqdays1", "freqdays2", "r", "norm1"], "tags": ["frequencies", "percentages", "rebel", "Rebel", "REBEL", "rebelmaths", "relative percentage frequencies", "statistics"], "advice": "\n

We show how to calculate the relative percentage frequency for one range of values for  $\\var{a[r]} \\le X \\lt \\var{a[r+1]}$    - you can then check the rest.

\n

Note that there were $\\var{daysopen}$ days  in the year when sales took place. 

\n

There were $\\var{norm1[r]}$ days out of the  $\\var{daysopen}$ when there were between $\\var{a[r]}$ and $\\var{a[r+1]}$ thousand pounds worth of sales (including  $\\var{a[r]}$ thousand but not $\\var{a[r+1]}$ thousand) .

\n

Hence the relative frequency percentage for such sales is given by \\[100 \\times \\frac{\\var{norm1[r]}}{\\var{daysopen}}\\%=\\var{rel[r]}\\%\\] to one decimal place.

\n

 

\n ", "rulesets": {}, "parts": [{"prompt": "\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
{things} {num} Relative Percentages
$\\var{a[0]}\\le X \\lt \\var{a[1]}$$\\var{norm1[0]}$[[0]]
$\\var{a[1]}\\le X \\lt \\var{a[2]}$$\\var{norm1[1]}$[[1]]
$\\var{a[2]}\\le X \\lt \\var{a[3]}$$\\var{norm1[2]}$[[2]]
$\\var{a[3]}\\le X \\lt \\var{a[4]}$$\\var{norm1[3]}$[[3]]
$\\var{a[4]}\\le X \\lt \\var{a[5]}$$\\var{norm1[4]}$[[4]]
$\\var{a[5]}\\le X \\lt \\var{a[6]}$$\\var{norm1[5]}$[[5]]
$\\var{a[6]}\\le X \\lt \\var{a[7]}$$\\var{norm1[6]}$[[6]]
\n ", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "rel[0]", "minValue": "rel[0]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "rel[1]", "minValue": "rel[1]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "rel[2]", "minValue": "rel[2]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "rel[3]", "minValue": "rel[3]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "rel[4]", "minValue": "rel[4]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "rel[5]", "minValue": "rel[5]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "rel[6]", "minValue": "rel[6]", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "\n

The following table shows {what}, $X$, {units} {forwhat}.

\n

Calculate the relative percentage frequencies (to one decimal place for all).

\n ", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "map(s*x,x,0..7)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "what": {"definition": "'daily sales'", "templateType": "anything", "group": "Ungrouped variables", "name": "what", "description": ""}, "freqdays": {"definition": "freqdays1+freqdays2", "templateType": "anything", "group": "Ungrouped variables", "name": "freqdays", "description": ""}, "daysopen": {"definition": "sum(norm1)", "templateType": "anything", "group": "Ungrouped variables", "name": "daysopen", "description": ""}, "things": {"definition": "'Sales'", "templateType": "anything", "group": "Ungrouped variables", "name": "things", "description": ""}, "m": {"definition": "max(freqdays1)", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "forwhat": {"definition": "'for a large retailer in '+random(2010,2011,2012)", "templateType": "anything", "group": "Ungrouped variables", "name": "forwhat", "description": ""}, "units": {"definition": "'in thousands of pounds'", "templateType": "anything", "group": "Ungrouped variables", "name": "units", "description": ""}, "s": {"definition": "random(5..15#5)", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "num": {"definition": "'Number of days'", "templateType": "anything", "group": "Ungrouped variables", "name": "num", "description": ""}, "rel": {"definition": "map(precround(100*norm1[x]/daysopen,1),x,0..2*n1-2)", "templateType": "anything", "group": "Ungrouped variables", "name": "rel", "description": ""}, "n1": {"definition": "4", "templateType": "anything", "group": "Ungrouped variables", "name": "n1", "description": ""}, "y": {"definition": "random(300..320)", "templateType": "anything", "group": "Ungrouped variables", "name": "y", "description": ""}, "freqdays1": {"definition": "sort(repeat(random(2..50),n1))", "templateType": "anything", "group": "Ungrouped variables", "name": "freqdays1", "description": ""}, "freqdays2": {"definition": "revsort(repeat(random(2..m-1),n1-1))", "templateType": "anything", "group": "Ungrouped variables", "name": "freqdays2", "description": ""}, "r": {"definition": "random(0..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}, "norm1": {"definition": "map(round(x),x,list((y/sum(freqdays))*vector(freqdays)))", "templateType": "anything", "group": "Ungrouped variables", "name": "norm1", "description": ""}}, "metadata": {"description": "

Given a table of the number of days in which sales were between £x1000 and £(x+1)1000 find the relative percentage frequencies of these volume of sales.

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Stem and Leaf plot", "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/"}], "showQuestionGroupNames": false, "type": "question", "rulesets": {}, "preamble": {"js": "", "css": ""}, "metadata": {"description": "

Given random set of data (between 13 and 23 numbers all less than 100), find their stem-and-leaf plot.

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "tags": ["REBEL", "rebel", "Rebel", "rebelmaths", "statistics", "stem-and-leaf plots"], "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["arr", "ss", "s", "darr1", "u", "arr1", "v", "r"], "parts": [{"prompt": "\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
STEMLEAF
$\\var{v}$[[0]][[1]][[2]][[3]][[4]]
$\\var{v+1}$[[5]][[6]][[7]][[8]][[9]]
$\\var{v+2}$[[10]][[11]][[12]][[13]][[14]]
$\\var{v+3}$[[15]][[16]][[17]][[18]][[19]]
$\\var{v+4}$[[20]][[21]][[22]][[23]][[24]]
\n \n", "scripts": {}, "gaps": [{"allowFractions": false, "minValue": "{u[0][0]}", "showPrecisionHint": false, "maxValue": "{u[0][0]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[0][1]}", "showPrecisionHint": false, "maxValue": "{u[0][1]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[0][2]}", "showPrecisionHint": false, "maxValue": "{u[0][2]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[0][3]}", "showPrecisionHint": false, "maxValue": "{u[0][3]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[0][4]}", "showPrecisionHint": false, "maxValue": "{u[0][4]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[1][0]}", "showPrecisionHint": false, "maxValue": "{u[1][0]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[1][1]}", "showPrecisionHint": false, "maxValue": "{u[1][1]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[1][2]}", "showPrecisionHint": false, "maxValue": "{u[1][2]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[1][3]}", "showPrecisionHint": false, "maxValue": "{u[1][3]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[1][4]}", "showPrecisionHint": false, "maxValue": "{u[1][4]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[2][0]}", "showPrecisionHint": false, "maxValue": "{u[2][0]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[2][1]}", "showPrecisionHint": false, "maxValue": "{u[2][1]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[2][2]}", "showPrecisionHint": false, "maxValue": "{u[2][2]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[2][3]}", "showPrecisionHint": false, "maxValue": "{u[2][3]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[2][4]}", "showPrecisionHint": false, "maxValue": "{u[2][4]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[3][0]}", "showPrecisionHint": false, "maxValue": "{u[3][0]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[3][1]}", "showPrecisionHint": false, "maxValue": "{u[3][1]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[3][2]}", "showPrecisionHint": false, "maxValue": "{u[3][2]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[3][3]}", "showPrecisionHint": false, "maxValue": "{u[3][3]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[3][4]}", "showPrecisionHint": false, "maxValue": "{u[3][4]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[4][0]}", "showPrecisionHint": false, "maxValue": "{u[4][0]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[4][1]}", "showPrecisionHint": false, "maxValue": "{u[4][1]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[4][2]}", "showPrecisionHint": false, "maxValue": "{u[4][2]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[4][3]}", "showPrecisionHint": false, "maxValue": "{u[4][3]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}, {"allowFractions": false, "minValue": "{u[4][4]}", "showPrecisionHint": false, "maxValue": "{u[4][4]}", "showCorrectAnswer": true, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "scripts": {}, "variableReplacements": [], "marks": 0.2}], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0}], "statement": "\n

Construct a stem-and-leaf plot for the following data. Input all numbers into the fields below.

\n

{table([ss],[])}

\n

 NOTE: All 25 fields have to be filled in. Input -1 if there is no number in a field.

\n

 

\n

 

\n \n", "question_groups": [{"pickingStrategy": "all-ordered", "name": "", "questions": [], "pickQuestions": 0}], "variables": {"darr1": {"description": "", "name": "darr1", "definition": "map(['$'+(v+y)+'$'+ ':']+arr1[y],y,0..4)", "group": "Ungrouped variables", "templateType": "anything"}, "ss": {"description": "", "name": "ss", "definition": "shuffle(s)", "group": "Ungrouped variables", "templateType": "anything"}, "v": {"description": "", "name": "v", "definition": "random(0..4)", "group": "Ungrouped variables", "templateType": "anything"}, "s": {"description": "", "name": "s", "definition": "flattenint(arr)", "group": "Ungrouped variables", "templateType": "anything"}, "arr1": {"description": "", "name": "arr1", "definition": "map(map(arr[y][p]-10*(y+v),p,0..r[y]-1),y,0..4)", "group": "Ungrouped variables", "templateType": "anything"}, "u": {"description": "", "name": "u", "definition": "map(map(if(pOrdering the data gives:

\n

{table([s],[])}

\n

Splitting into the groups of 10s gives

\n

{table(arr,[])}

\n

Then putting this into stem-and-leaf plot gives

\n

{table(darr1,['STEM'])}

\n \n", "variable_groups": []}, {"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). 

\n

Note 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.

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}, {"name": "Stem and leaf 2 ", "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": {"flattenint": {"definition": "\n /*only for integer arrays*/ \n a.toString().split(',').forEach( function (item, k) \n {a[k] = parseInt(item);\n }\n ); \n return a;\n \n", "type": "list", "parameters": [["a", "list"]], "language": "javascript"}}, "ungrouped_variables": ["arr", "ss", "s", "darr1", "u", "arr1", "v", "r"], "tags": ["REBEL", "rebel", "Rebel", "rebelmaths", "statistics", "stem-and-leaf plots"], "advice": "\n

Ordering the data gives:

\n

{table([s],[])}

\n

Splitting into the groups of 10s gives

\n

{table(arr,[])}

\n

Then putting this into stem-and-leaf plot gives

\n

{table(darr1,['STEM'])}

\n \n", "rulesets": {}, "parts": [{"prompt": "\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
STEMLEAF
$\\var{v}$[[0]][[1]][[2]][[3]][[4]]
$\\var{v+1}$[[5]][[6]][[7]][[8]][[9]]
$\\var{v+2}$[[10]][[11]][[12]][[13]][[14]]
$\\var{v+3}$[[15]][[16]][[17]][[18]][[19]]
$\\var{v+4}$[[20]][[21]][[22]][[23]][[24]]
\n \n", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{u[0][0]}", "minValue": "{u[0][0]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[0][1]}", "minValue": "{u[0][1]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[0][2]}", "minValue": "{u[0][2]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[0][3]}", "minValue": "{u[0][3]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[0][4]}", "minValue": "{u[0][4]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[1][0]}", "minValue": "{u[1][0]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[1][1]}", "minValue": "{u[1][1]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[1][2]}", "minValue": "{u[1][2]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[1][3]}", "minValue": "{u[1][3]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[1][4]}", "minValue": "{u[1][4]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[2][0]}", "minValue": "{u[2][0]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[2][1]}", "minValue": "{u[2][1]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[2][2]}", "minValue": "{u[2][2]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[2][3]}", "minValue": "{u[2][3]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[2][4]}", "minValue": "{u[2][4]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[3][0]}", "minValue": "{u[3][0]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[3][1]}", "minValue": "{u[3][1]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[3][2]}", "minValue": "{u[3][2]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[3][3]}", "minValue": "{u[3][3]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[3][4]}", "minValue": "{u[3][4]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[4][0]}", "minValue": "{u[4][0]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[4][1]}", "minValue": "{u[4][1]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[4][2]}", "minValue": "{u[4][2]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[4][3]}", "minValue": "{u[4][3]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{u[4][4]}", "minValue": "{u[4][4]}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 0.2, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

The following are the results from a first year business studies in class assessment in CIT.

\n

Construct a stem-and-leaf plot for the data. Input all numbers into the fields below.

\n

{table([ss],[])}

\n

 NOTE: All 25 fields have to be filled in. Input -1 if there is no number in a field.

\n

 

\n

 

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"arr": {"definition": "map(sort(repeat(10*y+random(0..9),r[y-v])),y,v..v+4)", "templateType": "anything", "group": "Ungrouped variables", "name": "arr", "description": ""}, "ss": {"definition": "shuffle(s)", "templateType": "anything", "group": "Ungrouped variables", "name": "ss", "description": ""}, "s": {"definition": "flattenint(arr)", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "darr1": {"definition": "map(['$'+(v+y)+'$'+ ':']+arr1[y],y,0..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "darr1", "description": ""}, "u": {"definition": "map(map(if(pGiven random set of data (between 13 and 23 numbers all less than 100), find their stem-and-leaf plot.

\n

rebelmaths

", "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\n\n\n\n\n\n\n\n\n\n\n
$\\mathbf{x}${x1}{x2}{x3}{x4}{x5}
$\\mathbf{f} ${f1}{f2}{f3}{f4}{f5}
", "advice": "", "rulesets": {}, "variables": {"f1": {"name": "f1", "group": "Ungrouped variables", "definition": "random(2 .. 20#1)", "description": "", "templateType": "randrange"}, "f2": {"name": "f2", "group": "Ungrouped variables", "definition": "random(5 .. 20#1)", "description": "", "templateType": "randrange"}, "f3": {"name": "f3", "group": "Ungrouped variables", "definition": "random(5 .. 20#1)", "description": "", "templateType": "randrange"}, "f4": {"name": "f4", "group": "Ungrouped variables", "definition": "random(7 .. 10#1)", "description": "", "templateType": "randrange"}, "f5": {"name": "f5", "group": "Ungrouped variables", "definition": "random(10 .. 20#1)", "description": "", "templateType": "randrange"}, "x2": {"name": "x2", "group": "Ungrouped variables", "definition": "random(3 .. 4#1)", "description": "", "templateType": "randrange"}, "x3": {"name": "x3", "group": "Ungrouped variables", "definition": "random(5 .. 6#1)", "description": "", "templateType": "randrange"}, "x1": {"name": "x1", "group": "Ungrouped variables", "definition": "random(1 .. 2#1)", "description": "", "templateType": "randrange"}, "x4": {"name": "x4", "group": "Ungrouped variables", "definition": "random(7 .. 8#1)", "description": "", "templateType": "randrange"}, "x5": {"name": "x5", "group": "Ungrouped variables", "definition": "random(9 .. 10#1)", "description": "", "templateType": "randrange"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["f1", "f2", "f3", "f4", "f5", "x2", "x3", "x1", "x4", "x5"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "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": "

$\\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.

\n

For 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"}, {"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.

\n

$\\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

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}]}], "name": "", "pickQuestions": 0, "pickingStrategy": "all-ordered"}], "name": "Descriptive Statistics", "showQuestionGroupNames": false, "shuffleQuestions": false, "duration": 0, "allQuestions": true, "questions": [], "timing": {"allowPause": true, "timeout": {"message": "

Your time is up.

", "action": "warn"}, "timedwarning": {"message": "

You have five minutes left.

", "action": "warn"}}, "pickQuestions": 0, "contributors": [{"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}], "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"]]}