// Numbas version: exam_results_page_options {"name": "Algebra 1 Topic 2 Preview exercise", "metadata": {"description": "

These question are designed to be completed without using a calculator.

", "licence": "None specified"}, "duration": 1200, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": false, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", ""], "variable_overrides": [[], [], [], [], []], "questions": [{"name": "Write a proportion as a fraction ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}, {"name": "Susan McGlynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2148/"}], "tags": [], "metadata": {"description": "

Write a proportion as a fraction (no variables used)

", "licence": "None specified"}, "statement": "
\n
\n
\n
\n
\n
\n
\n
\n
\n

Complete the following without using a calculator.

\n

Enter your answer as a fraction using the forward-slash key.

\n

For example, you would enter 1 third as 1/3.

", "advice": "
\n
\n
\n

First, calculate the total number of pages in the book.    15+7=22

\n

Next write the proportion read as a fraction, with the number of pages read on the top, and the total number of pages on the bottom. 

\n

Laya has read $\\frac{15}{22}$ of the book.

\n

\n

[Tip: Fractions can describe the relationship between the part(s) and the whole. The number on the bottom of the fraction (the denominator) tells you how many equal-sized parts make up the whole (total). The number on the top (the numerator) tells you the number of parts selected (the number of pages read). That is $ \\frac{part}{whole}$ = $ \\frac{15} {22}$  of the book.

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"den": {"name": "den", "group": "Ungrouped variables", "definition": "num+increment", "description": "

This is the denominator of the unsimplified answer. It is forced to be larger than the numerator to ensure a proper fraction by the use of the increment.

", "templateType": "anything", "can_override": false}, "scale_factor": {"name": "scale_factor", "group": "Ungrouped variables", "definition": "random(6 .. 24#1)", "description": "

The scale factor ensures that the book has enough pages, and that the fraction answer will require simplification.

", "templateType": "randrange", "can_override": false}, "denominator": {"name": "denominator", "group": "Ungrouped variables", "definition": "den/hcf", "description": "

This is the denominator of the final simplified answer.

", "templateType": "anything", "can_override": false}, "pagesleft": {"name": "pagesleft", "group": "Ungrouped variables", "definition": "scale_factor*(denominator-numerator)", "description": "

This is given in the question. It is the number of pages already read. It is calculated by multiplying the difference between the denominator and the numerator of the final answer by the scale factor.

", "templateType": "anything", "can_override": false}, "num": {"name": "num", "group": "Ungrouped variables", "definition": "random(1 .. 6#1)", "description": "

This is the numerator of the unsimplified answer. It is the starting point of the fraction answer set-up.

", "templateType": "randrange", "can_override": false}, "pagesread": {"name": "pagesread", "group": "Ungrouped variables", "definition": "scale_factor*numerator", "description": "

This is given in the question. It is calculated by multiplying the numerator of the final answer by the scale factor.

", "templateType": "anything", "can_override": false}, "numerator": {"name": "numerator", "group": "Ungrouped variables", "definition": "num/hcf", "description": "

This is the numerator of the final simplified answer.

", "templateType": "anything", "can_override": false}, "hcf": {"name": "hcf", "group": "Ungrouped variables", "definition": "gcd(num,den)", "description": "

This is the highest common factor of num and den. They are divided by it to give the final simplified answer.

", "templateType": "anything", "can_override": false}, "increment": {"name": "increment", "group": "Ungrouped variables", "definition": "random(1..5 except num)", "description": "

The increment is added to numerator to force the denominator to be larger than the numerator. This ensures a proper fraction.

", "templateType": "anything", "can_override": false}, "NamesIndex": {"name": "NamesIndex", "group": "Ungrouped variables", "definition": "random(0 .. 6#1)", "description": "

The random number used to index the list of names.

", "templateType": "randrange", "can_override": false}, "Names": {"name": "Names", "group": "Ungrouped variables", "definition": "[ \"Nick\", \"Jessi\", \"Ali\", \"Jo\", \"Lachlan\", \"Ravi\", \"Elisa\" ]", "description": "

The lsit of names from which one name is selected.

", "templateType": "list of strings", "can_override": false}, "name": {"name": "name", "group": "Ungrouped variables", "definition": "Names[NamesIndex]", "description": "

The chosen name for the question.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "numeratorLaya has read 15 pages of a book. There are still 7 pages yet to read.  What fraction of the whole book has Laya read?

\n

[[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "15/22", "maxValue": "15/22", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": " Multiply and divide decimals", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Susan McGlynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2148/"}], "tags": [], "metadata": {"description": "

Without a calculator no variables used in (b)

\n

a) Multiply two decimals (user-friendly numbers). 

\n

b) Divide decimals (user-friendly numbers)

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Complete the following without using a calculator.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"ab0t0last": {"name": "ab0t0last", "group": "2digit", "definition": "mod(ab0t0,10)", "description": "", "templateType": "anything", "can_override": false}, "abot": {"name": "abot", "group": "2digit", "definition": "if(adigs[2]<>0,[adigs[3],adigs[2]],[adigs[2],adigs[3]])", "description": "

abot

", "templateType": "anything", "can_override": false}, "ab1t0last": {"name": "ab1t0last", "group": "2digit", "definition": "mod(ab1t0,10)", "description": "", "templateType": "anything", "can_override": false}, "ab0t1carry": {"name": "ab0t1carry", "group": "2digit", "definition": "(ab0t1pluscarry-ab0t1last)/10", "description": "", "templateType": "anything", "can_override": false}, "adps": {"name": "adps", "group": "2digit", "definition": "log(afactprod)", "description": "", "templateType": "anything", "can_override": false}, "adec1": {"name": "adec1", "group": "2digit", "definition": "atopnum/afact1", "description": "", "templateType": "anything", "can_override": false}, "afact1": {"name": "afact1", "group": "2digit", "definition": "random(10,100,1000,10000)", "description": "", "templateType": "anything", "can_override": false}, "adpsword": {"name": "adpsword", "group": "2digit", "definition": "switch(adps=6,\"six\", adps=5, \"five\", adps=4,\"four\", adps=3,\"three\", adps=2, \"two\", adps=1,\"one\",adps=7,\"seven\",adps)", "description": "", "templateType": "anything", "can_override": false}, "ab1t1carry": {"name": "ab1t1carry", "group": "2digit", "definition": "(ab1t1pluscarry-ab1t1last)/10", "description": "", "templateType": "anything", "can_override": false}, "adigs": {"name": "adigs", "group": "2digit", "definition": "shuffle(1..9)[0..4]", "description": "

we want distinct digits so it is easier to refer to digits unambiguously. 

", "templateType": "anything", "can_override": false}, "ab0t1": {"name": "ab0t1", "group": "2digit", "definition": "abot[0]*atop[1]", "description": "", "templateType": "anything", "can_override": false}, "ab1t1": {"name": "ab1t1", "group": "2digit", "definition": "abot[1]*atop[1]", "description": "", "templateType": "anything", "can_override": false}, "ab0t1last": {"name": "ab0t1last", "group": "2digit", "definition": "mod(ab0t1pluscarry,10)", "description": "", "templateType": "anything", "can_override": false}, "ab0t1pluscarry": {"name": "ab0t1pluscarry", "group": "2digit", "definition": "ab0t1+ab0t0carry", "description": "

ab

", "templateType": "anything", "can_override": false}, "aans": {"name": "aans", "group": "2digit", "definition": "atopnum*abotnum", "description": "", "templateType": "anything", "can_override": false}, "easydigprod": {"name": "easydigprod", "group": "Ungrouped variables", "definition": "easydig1*easydig2", "description": "", "templateType": "anything", "can_override": false}, "easyans": {"name": "easyans", "group": "Ungrouped variables", "definition": "easydigprod/(easyfactprod)", "description": "

eas

", "templateType": "anything", "can_override": false}, "easyfactprod": {"name": "easyfactprod", "group": "Ungrouped variables", "definition": "easyfact1*easyfact2", "description": "", "templateType": "anything", "can_override": false}, "easyfact2": {"name": "easyfact2", "group": "Ungrouped variables", "definition": "if(easyfact1=1,random(10,100,1000),random(1,10,100,1000))", "description": "", "templateType": "anything", "can_override": false}, "easy1": {"name": "easy1", "group": "Ungrouped variables", "definition": "easydig1/easyfact1", "description": "", "templateType": "anything", "can_override": false}, "afactprod": {"name": "afactprod", "group": "2digit", "definition": "afact1*afact2", "description": "", "templateType": "anything", "can_override": false}, "dps": {"name": "dps", "group": "Ungrouped variables", "definition": "log(easyfactprod)", "description": "", "templateType": "anything", "can_override": false}, "ab0t0carry": {"name": "ab0t0carry", "group": "2digit", "definition": "(ab0t0-ab0t0last)/10", "description": "", "templateType": "anything", "can_override": false}, "aanstho": {"name": "aanstho", "group": "2digit", "definition": "mod((aans-aansone-aansten*10-aanshun*100)/1000,10)", "description": "", "templateType": "anything", "can_override": false}, "adec2": {"name": "adec2", "group": "2digit", "definition": "abotnum/afact2", "description": "", "templateType": "anything", "can_override": false}, "atopnum": {"name": "atopnum", "group": "2digit", "definition": "atop[1]*10+atop[0]", "description": "", "templateType": "anything", "can_override": false}, "ab1t1pluscarry": {"name": "ab1t1pluscarry", "group": "2digit", "definition": "ab1t1+ab1t0carry", "description": "", "templateType": "anything", "can_override": false}, "asum1": {"name": "asum1", "group": "2digit", "definition": "abot[0]*atopnum", "description": "", "templateType": "anything", "can_override": false}, "ab0t0": {"name": "ab0t0", "group": "2digit", "definition": "atop[0]*abot[0]", "description": "", "templateType": "anything", "can_override": false}, "easy2": {"name": "easy2", "group": "Ungrouped variables", "definition": "easydig2/easyfact2", "description": "", "templateType": "anything", "can_override": false}, "asum2": {"name": "asum2", "group": "2digit", "definition": "10*abot[1]*atopnum", "description": "

sum2

", "templateType": "anything", "can_override": false}, "aansten": {"name": "aansten", "group": "2digit", "definition": "mod((aans-aansone)/10,10)", "description": "", "templateType": "anything", "can_override": false}, "aansone": {"name": "aansone", "group": "2digit", "definition": "mod(aans,10)", "description": "", "templateType": "anything", "can_override": false}, "ab1t0carry": {"name": "ab1t0carry", "group": "2digit", "definition": "(ab1t0-ab1t0last)/10", "description": "", "templateType": "anything", "can_override": false}, "abotnum": {"name": "abotnum", "group": "2digit", "definition": "abot[1]*10+abot[0]", "description": "

botnum

", "templateType": "anything", "can_override": false}, "atop": {"name": "atop", "group": "2digit", "definition": "if(adigs[0]<>0,[adigs[1],adigs[0]],[adigs[0],adigs[1]])", "description": "", "templateType": "anything", "can_override": false}, "ab1t0": {"name": "ab1t0", "group": "2digit", "definition": "abot[1]*atop[0]", "description": "", "templateType": "anything", "can_override": false}, "aanshun": {"name": "aanshun", "group": "2digit", "definition": "mod((aans-aansone-aansten*10)/100,10)", "description": "", "templateType": "anything", "can_override": false}, "adecans": {"name": "adecans", "group": "2digit", "definition": "aans/afactprod", "description": "", "templateType": "anything", "can_override": false}, "afact2": {"name": "afact2", "group": "2digit", "definition": "if(afact1=10000,random(10,100,1000),random(10,100,1000,10000))", "description": "", "templateType": "anything", "can_override": false}, "easyfact1": {"name": "easyfact1", "group": "Ungrouped variables", "definition": "random(1,10,100,1000)", "description": "", "templateType": "anything", "can_override": false}, "ab1t1last": {"name": "ab1t1last", "group": "2digit", "definition": "mod(ab1t1pluscarry,10)", "description": "", "templateType": "anything", "can_override": false}, "easydig1": {"name": "easydig1", "group": "Ungrouped variables", "definition": "random(3..9)", "description": "", "templateType": "anything", "can_override": false}, "easydig2": {"name": "easydig2", "group": "Ungrouped variables", "definition": "if(easydig1=3,random(4..9),random(3..9))", "description": "", "templateType": "anything", "can_override": false}, "dpsword": {"name": "dpsword", "group": "Ungrouped variables", "definition": "switch(dps=6,\"six\", dps=5, \"five\", dps=4,\"four\", dps=3,\"three\", dps=2, \"two\", dps=1,\"one\",dps)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["easydig1", "easydig2", "easyfact1", "easyfact2", "easydigprod", "easyfactprod", "easy1", "easy2", "easyans", "dps", "dpsword"], "variable_groups": [{"name": "2digit", "variables": ["adigs", "atop", "abot", "atopnum", "abotnum", "aans", "ab0t0", "ab0t0last", "ab0t0carry", "ab0t1", "ab0t1pluscarry", "ab0t1last", "ab0t1carry", "ab1t0", "ab1t0last", "ab1t0carry", "ab1t1", "ab1t1pluscarry", "ab1t1last", "ab1t1carry", "asum1", "asum2", "aansone", "aansten", "aanshun", "aanstho", "afact1", "afact2", "afactprod", "adps", "adpsword", "adec1", "adec2", "adecans"]}], "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": "

$\\var{easy1}\\times \\var{easy2}= $ [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "easyans", "maxValue": "easyans", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"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": "

$3.6\\div0.3 = $ [[0]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "12", "maxValue": "12", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Change between fraction, decimal and percentage form (B)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Susan McGlynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2148/"}], "tags": [], "metadata": {"description": "

Three parts. No variables used in (b) and (c)

\n

Rewrite a fraction as a decimal,  percent as a frac, perc as a dec

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Complete the following without using a calculator.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2,4,5,10,20,25,50,100)", "description": "", "templateType": "anything", "can_override": false}, "u": {"name": "u", "group": "Ungrouped variables", "definition": "random(0.5,80,37.5,5,2,1.01)", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(1,3,5)", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(1,2,4)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "x<>y", "maxRuns": 100}, "ungrouped_variables": ["b", "a", "x", "y", "u"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Rewrite the following in decimal form.

\n

$\\frac{\\var{y}}{3}$

", "minValue": "y/3", "maxValue": "y/3", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Rename the following percentage as a fraction.

\n

Use the / key to enter a fraction answer.

\n

$8\\%$

", "minValue": "2/25", "maxValue": "2/25", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": "50", "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Rename the following percentage as a decimal.

\n

$7.5\\%$

\n

 

", "minValue": "0.075", "maxValue": "0.075", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": "50", "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Convert a proportion to a percentage", "extensions": [], "custom_part_types": [], "resources": [["question-resources/14_out_of_20.jpg", "/srv/numbas/media/question-resources/14_out_of_20.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}, {"name": "Susan McGlynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2148/"}], "tags": [], "metadata": {"description": "

Without a calculator, write a proportion as a percentage (no variables used)

", "licence": "All rights reserved"}, "statement": "

Complete the following without a calculator.

", "advice": "

First work out the number of students who do NOT speak a language other than English at home. In this case it is {class_size} - {num_students} = {class_size-num_students} students.

\n

Then write this as a fraction out of {class_size}.   $ \\frac{\\var{class_size-num_students}} {\\var{class_size}} $

\n

Then convert this to a percentage. You could multiply the fraction by  $ \\frac{\\var{100/class_size}}{\\var{100/class_size}} $ in order to scale up to a mark out of 100. 

\n

 $ \\frac{\\var{class_size-num_students}} {\\var{class_size}} $ x $ \\frac{\\var{100/class_size}}{\\var{100/class_size}} $ = $ \\frac{\\var{(class_size-num_students)/class_size*100}}{100}$ = $\\var{(class_size-num_students)/class_size*100}\\%$

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"num_students": {"name": "num_students", "group": "Ungrouped variables", "definition": "random(3 .. 19#1)", "description": "

The number of students in the class who do speak a language other than English. 

", "templateType": "randrange", "can_override": false}, "class_size": {"name": "class_size", "group": "Ungrouped variables", "definition": "random(20,25)", "description": "

There are either 20 or 25 students in the class, to enable the conversion to a percentage to be done without a calculator, and without the need for rounding.

", "templateType": "anything", "can_override": false}, "fraction": {"name": "fraction", "group": "Ungrouped variables", "definition": "{num_students}/{class_size}", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["num_students", "class_size", "fraction"], "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": "
\n
\n
\n
\n
\n

Thirteen of the $25$ students in Darwa's tutorial class speak a language other than English at home.
What percentage of his students speak English at home? 

\n

[[0]] $\\%$

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "48", "maxValue": "48", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Find the percentage increase", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Susan McGlynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2148/"}, {"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "tags": [], "metadata": {"description": "

Find amount of increase, compare it to original value (increase 'out of' original), then write the proportion as a percentage

", "licence": "None specified"}, "statement": "", "advice": "

Compare the amount of increase in blood volume to the original blood volume.

\n

First write this comparison as a fraction:

\n

$\\dfrac{\\textrm{amount of increase}}{\\textrm{original blood volume}}$

\n

then covert the fraction to a percentage.

\n

For example

\n

If exercise training increases blood volume from ${2}$ to ${3}$ litres, the amount of increase is ${3}-{2}$ which is $1$ litre.

\n

Now compare the increase (1L) to the original blood volume (2L):

\n

$\\dfrac{\\textrm{amount of increase}}{\\textrm{original blood volume}}=\\frac{1}{2}$

\n

This means the amount of increase is half the original volume.

\n

Lastly, convert the fraction to percentage form.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(4,5)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(5,6,7)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "aIf exercise training increases blood volume from $\\var{a}$ to $\\var{b}$ litres, by what percentage does blood volume increase?

\n

[[0]]%

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "100*(b-a)/a", "maxValue": "100*(b-a)/a", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": false, "reverse": true, "browse": true, "allowsteps": false, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "warn", "message": ""}, "timedwarning": {"action": "warn", "message": "

You have 5 minutes left.

"}}, "feedback": {"showactualmark": false, "showtotalmark": true, "showanswerstate": false, "allowrevealanswer": false, "advicethreshold": 0, "intro": "

These question are designed to be completed without using a calculator.

\n

You may use pen and paper. Do not use your calculator.

", "end_message": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": false, "feedbackmessages": [{"message": "

Well done. Now try the fast-track quiz to fully assess your skills in this topics.

", "threshold": "100"}, {"message": "

Your score for this preview exercise is less than 100%. The table shows the sub-topics that the questions you didn't get correct came from:

\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n
If you did not get
full marks in:
Review this subtopic
Question 1 to 5Sub-topic [2.1]
Question 6-8Sub-topic [2.2]
Question 9-12Sub-topic [2.3]
\n

", "threshold": 0}]}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Susan McGlynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2148/"}], "extensions": [], "custom_part_types": [], "resources": [["question-resources/14_out_of_20.jpg", "/srv/numbas/media/question-resources/14_out_of_20.jpg"]]}