// Numbas version: exam_results_page_options {"name": "emma's copy of Simplifying Numerical Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "statement": "

Express each of the following as a single fraction.

\n

\n

To add or subtract two fractions, they must be expressed with a common denominator.

\n

To multiply two fractions, multiply the numerators and the denominators together.

\n

To divide two fractions, flip the second fraction upside down and then multiply.

", "name": "emma's copy of Simplifying Numerical Fractions", "extensions": [], "ungrouped_variables": ["a", "b", "c", "d", "ex"], "variablesTest": {"maxRuns": 100, "condition": ""}, "advice": "

To add two fractions, they must be expressed with a common denominator.

\n

For example, if you have $\\frac{1}{3}+\\frac{2}{11}$, the common denominator would be $33$, from $(3 * 11)$.

\n

$\\frac{11+6}{33}$

\n

$\\frac{17}{33}$

\n

\n

Similarly, to subtract two fractions, express them with a common denominator.

\n

$\\frac{1}{3}-\\frac{2}{11}$

\n

$=\\frac{11-6}{33}$

\n

$=\\frac{5}{33}$

\n

\n

To multiply two fractions, multiply the numerators and denominators together.

\n

$\\frac{1}{3} \\times\\frac{2}{11}$

\n

$=\\frac{1\\times 2}{3\\times11}$

\n

$=\\frac{2}{33}$

\n

\n

To divide two fractions, flip the second fraction upside down and then follow the steps to multiply.

\n

$\\frac{1}{3} \\div \\frac{2}{11}$

\n

$=\\frac{1}{3} \\times \\frac{11}{2}$

\n

$=\\frac{1\\times11}{3\\times2}$

\n

$=\\frac{11}{6}$

", "parts": [{"customMarkingAlgorithm": "", "unitTests": [], "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "sortAnswers": false, "variableReplacements": [], "marks": 0, "type": "gapfill", "prompt": "

$ \\var{a}\\over\\var{b} $ + $ \\var{c}\\over\\var{d}$$=$

\n

[[0]]

", "gaps": [{"maxValue": "({a}/{b})+({c}/{d})", "customMarkingAlgorithm": "", "unitTests": [], "showFeedbackIcon": true, "minValue": "({a}/{b})+({c}/{d})", "mustBeReduced": true, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": "1", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": "50", "allowFractions": true, "scripts": {}}], "variableReplacementStrategy": "originalfirst", "scripts": {}}, {"maxValue": "({a}/{b})-({c}/{d})", "customMarkingAlgorithm": "", "unitTests": [], "showFeedbackIcon": true, "minValue": "({a}/{b})-({c}/{d})", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": "1", "type": "numberentry", "prompt": "

$ \\var{a}\\over\\var{b} $ - $ \\var{c}\\over\\var{d} $$=$ 

", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "allowFractions": true, "scripts": {}}, {"maxValue": "({a}/{b})*({c}/{d})", "customMarkingAlgorithm": "", "unitTests": [], "showFeedbackIcon": true, "minValue": "({a}/{b})*({c}/{d})", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": "1", "type": "numberentry", "prompt": "

$\\frac{\\var{a}}{\\var{b}} \\times \\frac{\\var{c}}{\\var{d}}=$

", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "allowFractions": true, "scripts": {}}, {"maxValue": "({a}/{b})/({c}/{d})", "customMarkingAlgorithm": "", "unitTests": [], "showFeedbackIcon": true, "minValue": "({a}/{b})/({c}/{d})", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": "1", "type": "numberentry", "prompt": "

$\\frac{\\var{a}}{\\var{b}} \\div  \\frac{\\var{c}}{\\var{d}}=$

", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "allowFractions": true, "scripts": {}}, {"maxValue": "({ex[0]}/{ex[1]})/({ex[2]}/{ex[3]})", "customMarkingAlgorithm": "", "unitTests": [], "showFeedbackIcon": true, "minValue": "({ex[0]}/{ex[1]})/({ex[2]}/{ex[3]})", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": "1", "type": "numberentry", "prompt": "

$\\frac{\\var{ex[0]}}{\\var{ex[1]}}$$\\frac{\\var{ex[2]}}{\\var{ex[3]}}$  $=$

", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "allowFractions": true, "scripts": {}}, {"maxValue": "(({ex[4]}/{ex[5]})+({ex[6]}/{ex[7]}))/({ex[8]}/{ex[9]})", "customMarkingAlgorithm": "", "unitTests": [], "showFeedbackIcon": true, "minValue": "(({ex[4]}/{ex[5]})+({ex[6]}/{ex[7]}))/({ex[8]}/{ex[9]})", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "marks": "1", "type": "numberentry", "prompt": "

$\\frac{\\var{ex[4]}}{\\var{ex[5]}}+\\frac{\\var{ex[6]}}{\\var{ex[7]}}$$\\frac{\\var{ex[8]}}{\\var{ex[9]}}$  $=$

", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "allowFractions": true, "scripts": {}}], "preamble": {"css": "fraction {\n display: inline-block;\n vertical-align: middle;\n}\nfraction > numerator, fraction > denominator {\n float: left;\n width: 100%;\n text-align: center;\n line-height: 2.5em;\n}\nfraction > numerator {\n border-bottom: 1px solid;\n padding-bottom: 5px;\n}\nfraction > denominator {\n padding-top: 5px;\n}\nfraction input {\n line-height: 1em;\n}\n\nfraction .part {\n margin: 0;\n}\n\n.table-responsive, .fractiontable {\n display:inline-block;\n}\n.fractiontable {\n padding: 0; \n border: 0;\n}\n\n.fractiontable .tddenom \n{\n text-align: center;\n}\n\n.fractiontable .tdnum \n{\n border-bottom: 1px solid black; \n text-align: center;\n}\n\n\n.fractiontable tr {\n height: 3em;\n}\n", "js": "document.createElement('fraction');\ndocument.createElement('numerator');\ndocument.createElement('denominator');"}, "rulesets": {"std": ["all"]}, "metadata": {"description": "

Practice with fractions

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "variable_groups": [], "tags": [], "variables": {"d": {"description": "", "name": "d", "definition": "random(c+1..12)", "templateType": "anything", "group": "Ungrouped variables"}, "c": {"description": "", "name": "c", "definition": "random(1..10)", "templateType": "anything", "group": "Ungrouped variables"}, "a": {"description": "", "name": "a", "definition": "random(1..10)", "templateType": "anything", "group": "Ungrouped variables"}, "ex": {"description": "

Part e and f

", "name": "ex", "definition": "repeat(random(2..9),10)", "templateType": "anything", "group": "Ungrouped variables"}, "b": {"description": "", "name": "b", "definition": "random(a+1..12)", "templateType": "anything", "group": "Ungrouped variables"}}, "type": "question", "contributors": [{"name": "emma rand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/115/"}, {"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}]}], "contributors": [{"name": "emma rand", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/115/"}, {"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}