// Numbas version: exam_results_page_options {"name": "copy of fractions question", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"h": {"group": "partc", "templateType": "anything", "name": "h", "definition": "random(-12..12 except [0,-g,g])", "description": ""}, "ar": {"group": "a", "templateType": "anything", "name": "ar", "definition": "random(-12..12 except 0)", "description": ""}, "list": {"group": "partg", "templateType": "anything", "name": "list", "definition": "shuffle([2,3,5,7,11,6,9,4])[0..4]", "description": ""}, "k": {"group": "partd", "templateType": "anything", "name": "k", "definition": "primes[1]", "description": ""}, "j": {"group": "partd", "templateType": "anything", "name": "j", "definition": "primes[0]", "description": ""}, "n": {"group": "parte", "templateType": "anything", "name": "n", "definition": "random(1..25)", "description": ""}, "p": {"group": "partf", "templateType": "anything", "name": "p", "definition": "random(2..12)", "description": ""}, "br": {"group": "a", "templateType": "anything", "name": "br", "definition": "random(-12..12 except 0)", "description": ""}, "g": {"group": "partc", "templateType": "anything", "name": "g", "definition": "random(2..15)", "description": ""}, "r": {"group": "partg", "templateType": "anything", "name": "r", "definition": "list[1]*common", "description": ""}, "f": {"group": "a", "templateType": "anything", "name": "f", "definition": "random(2..12)", "description": ""}, "b": {"group": "a", "templateType": "anything", "name": "b", "definition": "br*amult", "description": ""}, "l": {"group": "partd", "templateType": "anything", "name": "l", "definition": "2*j", "description": ""}, "m": {"group": "parte", "templateType": "anything", "name": "m", "definition": "random(1..25)", "description": ""}, "common": {"group": "partg", "templateType": "anything", "name": "common", "definition": "random(2,3,4,5,6)", "description": ""}, "a": {"group": "a", "templateType": "anything", "name": "a", "definition": "ar*amult", "description": ""}, "name": {"group": "Ungrouped variables", "templateType": "anything", "name": "name", "definition": "repeat(random([\"Ben\", \"He\"], [\"Annie\", \"She\"], [\"Matt\", \"He\"], [\"David\", \"He\"], [\"Steve\", \"He\"], [\"David\", \"He\"], [\"Scott\", \"He\"], [\"Fran\", \"She\"], [\"Jenny\", \"She\"], [\"Lyn\", \"She\"], [\"Judy-anne\", \"She\"], [\"Courtney\", \"She\"]),2)", "description": ""}, "d": {"group": "a", "templateType": "anything", "name": "d", "definition": "dr*amult", "description": ""}, "cr": {"group": "a", "templateType": "anything", "name": "cr", "definition": "random(-12..12 except [0,a])", "description": ""}, "t": {"group": "partg", "templateType": "anything", "name": "t", "definition": "list[3]*common", "description": ""}, "dr": {"group": "a", "templateType": "anything", "name": "dr", "definition": "random(-12..12 except [0,a,-a,c,-c])", "description": ""}, "c": {"group": "a", "templateType": "anything", "name": "c", "definition": "cr*amult", "description": ""}, "primes": {"group": "partd", "templateType": "anything", "name": "primes", "definition": "shuffle([3,5,7,11,13,17])[0..2]", "description": ""}, "amult": {"group": "a", "templateType": "anything", "name": "amult", "definition": "random([-10,-5,-3,-2,-1,2,3,5,10])", "description": ""}, "s": {"group": "partg", "templateType": "anything", "name": "s", "definition": "list[2]*common", "description": ""}, "q": {"group": "partg", "templateType": "anything", "name": "q", "definition": "list[0]*common", "description": ""}}, "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": ""}, "functions": {}, "preamble": {"js": "", "css": ".fractiontable table {\n width: 40%; \n padding: 0px; \n border-width: 0px; \n layout: fixed;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n width: 15%; \n border-bottom: 1px solid black; \n text-align: center;\n}\n\n.fractiontable .tdeq \n{\n width: 5%; \n border-bottom: 0px;\n font-size: x-large;\n}\n\n\n.fractiontable th {\n background-color:#aaa;\n}\n/*Fix the height of all cells EXCEPT table-headers to 40px*/\n.fractiontable td {\n height:40px;\n}\n"}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "", "name": "copy of fractions question", "ungrouped_variables": ["name"], "extensions": [], "parts": [{"stepsPenalty": "1", "prompt": "
\n

Please fill in the gap to simplify the fraction on the left.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$x+\\var{m}$=[[0]]
$(x+\\var{m})(x+\\var{n})$$x+\\var{n}$
\n
", "gaps": [{"notallowed": {"partialCredit": 0, "showStrings": false, "strings": ["/"], "message": ""}, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": false, "type": "jme", "vsetrangepoints": 5, "answer": "1", "checkingaccuracy": 0.001, "vsetrange": [0, 1], "variableReplacements": [], "checkingtype": "absdiff", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 1}], "steps": [{"prompt": "

These are equivalent fractions so the same number that multiplied/divided the denominator must also multiply/divide the numerator.

\n

\n

Compare the two denominators, what has happened? We have divided the first denominator by $(x+\\var{m})$ to get the second denominator. The same must be done to the numerator, but something divided by itself is $1$.

", "variableReplacements": [], "type": "information", "marks": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}}], "variableReplacements": [], "type": "gapfill", "marks": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}}, {"stepsPenalty": "1", "prompt": "
\n

The expression $\\displaystyle{\\frac{\\var{p}z}{\\frac{\\var{p}}{\\var{p}z}}}$ can be simplified to [[0]] .

\n
", "gaps": [{"notallowed": {"partialCredit": 0, "showStrings": false, "strings": ["/", "^-", "^(-"], "message": ""}, "checkvariablenames": true, "expectedvariablenames": ["z"], "showpreview": true, "type": "jme", "vsetrangepoints": 5, "answer": "{p}z^2", "checkingaccuracy": 0.001, "vsetrange": [0, 1], "variableReplacements": [], "checkingtype": "absdiff", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 1}], "steps": [{"prompt": "

If we multiply or divide the top and bottom of a fraction by a number (not zero) we get an equivalent fraction. We say equivalent because they represent the same amount of the whole.

\n

\n

Recall $\\frac{1}{2}$ is equivalent to $\\frac{3}{6}$, notice we can multiply the top and bottom of $\\frac{1}{2}$ by 3 to get $\\frac{3}{6}$. Similarly, we can multiply the top and bottom of $\\frac{\\frac{x-3}{2x}}{x+1}$ by $2x$ to get the equivalent fraction $\\frac{x-3}{2x^2+2x}$. 

\n

\n

Whenever we have such a 'fraction on a fraction' we want to rewrite the fraction to it is just one fraction. We can do this by multiplying by the denominator of the smaller/inner fraction.

", "variableReplacements": [], "type": "information", "marks": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}}], "variableReplacements": [], "type": "gapfill", "marks": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}}, {"stepsPenalty": "1", "prompt": "
\n

Please fill in the gaps to simplify the fraction on the left. 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{q}x^2y+{r}x*y+{s}x*y^2}$=[[0]]
$\\var{t}xy$[[1]]
\n
", "gaps": [{"notallowed": {"partialCredit": 0, "showStrings": false, "strings": ["/"], "message": ""}, "checkvariablenames": false, "expectedvariablenames": [], "showpreview": false, "type": "jme", "vsetrangepoints": 5, "answer": "{list[0]}x+{list[1]}+{list[2]}y", "checkingaccuracy": 0.001, "vsetrange": [0, 1], "variableReplacements": [], "checkingtype": "absdiff", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 1}, {"checkvariablenames": false, "expectedvariablenames": [], "showpreview": false, "type": "jme", "vsetrangepoints": 5, "answer": "{list[3]}", "checkingaccuracy": 0.001, "vsetrange": [0, 1], "variableReplacements": [], "checkingtype": "absdiff", "scripts": {}, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 1}], "steps": [{"prompt": "

By looking for common factors, we see that $\\var{common}xy$ is a factor of every term (in the numerator and the denominator), there is also no larger term that is common, we call $\\var{common}xy$ the highest common factor. We divide the numerator and the denominator by the highest common factor to get the simplified fraction.

", "variableReplacements": [], "type": "information", "marks": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}}], "variableReplacements": [], "type": "gapfill", "marks": 0, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}}], "advice": "", "variable_groups": [{"variables": ["amult", "ar", "a", "br", "b", "cr", "c", "dr", "d", "f"], "name": "a"}, {"variables": ["g", "h"], "name": "partc"}, {"variables": ["primes", "j", "k", "l"], "name": "partd"}, {"variables": ["m", "n"], "name": "parte"}, {"variables": ["p"], "name": "partf"}, {"variables": ["common", "list", "q", "r", "s", "t"], "name": "partg"}], "tags": [], "rulesets": {"std": ["all"]}, "type": "question", "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}]}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}