// Numbas version: exam_results_page_options {"name": "Numerical fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "

Evaluate the following and write your answer as a fraction or whole number (not a decimal). If the answer is a whole number, put '1' in the denominator box.

", "variable_groups": [{"name": "numerical fractions", "variables": ["a", "b", "c", "d", "f", "g", "h", "j", "ans_0a", "ans_1a", "ans_2a", "ans_3a", "ans_4a", "ans_5a", "ans_6a", "ans_7a", "ans_8a", "ans_9a", "ans_0b", "ans_1b", "ans_2b", "ans_3b", "ans_4b", "ans_5b", "ans_6b", "ans_7b", "ans_8b", "ans_9b"]}], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "advice": "

Learn from your mistakes and have another attempt by clicking on 'Try another question like this one' until you get full marks.

", "extensions": [], "rulesets": {}, "functions": {}, "parts": [{"gaps": [{"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_0a", "mustBeReduced": false, "maxValue": "ans_0a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_0b", "mustBeReduced": false, "maxValue": "ans_0b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_1a", "mustBeReduced": false, "maxValue": "ans_1a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_1b", "mustBeReduced": false, "maxValue": "ans_1b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_2a", "mustBeReduced": false, "maxValue": "ans_2a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_2b", "mustBeReduced": false, "maxValue": "ans_2b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_3a", "mustBeReduced": false, "maxValue": "ans_3a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_3b", "mustBeReduced": false, "maxValue": "ans_3b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_4a", "mustBeReduced": false, "maxValue": "ans_4a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_4b", "mustBeReduced": false, "maxValue": "ans_4b", "allowFractions": false, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}], "scripts": {}, "type": "gapfill", "showFeedbackIcon": true, "prompt": "

$\\displaystyle\\simplify{{f}/{g}+{h}/{j}}=$[[0]]/[[1]]

\n

$\\displaystyle\\simplify{{h}/{f}-{j}/{g}}=$[[2]]/[[3]]

\n

$\\displaystyle \\frac{\\var{a}}{\\var{d}}+\\var{f}=$[[4]]/[[5]]

\n

$\\displaystyle\\simplify{{f}/{a}+{b}/{c}-{c}/{d}}=$[[6]]/[[7]]

\n

$\\displaystyle\\simplify{{a}/{b}-{c}/{j}+{g}/{f}}$=[[8]]/[[9]]

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0}, {"gaps": [{"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_5a", "mustBeReduced": false, "maxValue": "ans_5a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_5b", "mustBeReduced": false, "maxValue": "ans_5b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_6a", "mustBeReduced": false, "maxValue": "ans_6a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_6b", "mustBeReduced": false, "maxValue": "ans_6b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}], "scripts": {}, "type": "gapfill", "showFeedbackIcon": true, "prompt": "

$\\displaystyle\\frac{\\var{a}}{\\var{b}}\\times \\frac{\\var{c}}{\\var{d}}=$[[0]]/[[1]]

\n

$\\displaystyle -\\frac{\\var{f}}{\\var{j}}\\times \\var{d}=$[[2]]/[[3]]

\n

\n

\n

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0}, {"gaps": [{"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_7a", "mustBeReduced": false, "maxValue": "ans_7a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_7b", "mustBeReduced": false, "maxValue": "ans_7b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_8a", "mustBeReduced": false, "maxValue": "ans_8a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_8b", "mustBeReduced": false, "maxValue": "ans_8b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_9a", "mustBeReduced": false, "maxValue": "ans_9a", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}, {"type": "numberentry", "mustBeReducedPC": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "ans_9b", "mustBeReduced": false, "maxValue": "ans_9b", "allowFractions": true, "scripts": {}, "correctAnswerStyle": "plain", "correctAnswerFraction": true, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "marks": "0.5", "variableReplacements": []}], "scripts": {}, "type": "gapfill", "showFeedbackIcon": true, "prompt": "

$\\displaystyle \\frac{\\var{f}}{\\var{h}}\\div \\frac{\\var{g}}{\\var{j}}=$[[0]]/[[1]]

\n

$\\displaystyle \\frac{\\var{b}}{\\var{c}}\\div \\var{d}=$[[2]]/[[3]]

\n

$\\displaystyle \\var{j}\\div \\left(\\frac{\\var{-d}}{\\var{f}}\\right)=$[[4]]/[[5]]

\n

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0}], "preamble": {"js": "", "css": ""}, "name": "Numerical fractions", "variables": {"ans_7b": {"description": "", "name": "ans_7b", "templateType": "anything", "group": "numerical fractions", "definition": "((h*g)/gcd(f*j, h*g))"}, "f": {"description": "", "name": "f", "templateType": "anything", "group": "numerical fractions", "definition": "random(2..12)"}, "ans_6a": {"description": "", "name": "ans_6a", "templateType": "anything", "group": "numerical fractions", "definition": "-((f*d)/gcd(f*d, j))"}, "ans_9a": {"description": "", "name": "ans_9a", "templateType": "anything", "group": "numerical fractions", "definition": "((-f*j)/gcd(-f*j, d))"}, "ans_0b": {"description": "", "name": "ans_0b", "templateType": "anything", "group": "numerical fractions", "definition": "((g*j)/gcd(f*j+g*h, g*j))"}, "ans_6b": {"description": "", "name": "ans_6b", "templateType": "anything", "group": "numerical fractions", "definition": "(j/gcd(f*d, j))"}, "d": {"description": "", "name": "d", "templateType": "anything", "group": "numerical fractions", "definition": "random(2..12)"}, "h": {"description": "", "name": "h", "templateType": "anything", "group": "numerical fractions", "definition": "random(2..12)"}, "ans_9b": {"description": "", "name": "ans_9b", "templateType": "anything", "group": "numerical fractions", "definition": "(d/gcd(-f*j, d))"}, "ans_3a": {"description": "", "name": "ans_3a", "templateType": "anything", "group": "numerical fractions", "definition": "((f*c*d+b*a*d-c*a*c)/gcd(f*c*d+b*a*d-c*a*c, a*c*d))"}, "g": {"description": "", "name": "g", "templateType": "anything", "group": "numerical fractions", "definition": "random(2..12)"}, "ans_2a": {"description": "", "name": "ans_2a", "templateType": "anything", "group": "numerical fractions", "definition": "((a+f*d)/gcd(a+f*d, d))"}, "ans_1a": {"description": "", "name": "ans_1a", "templateType": "anything", "group": "numerical fractions", "definition": "((h*g-f*j)/gcd(h*g-f*j, g*f))"}, "ans_4b": {"description": "", "name": "ans_4b", "templateType": "anything", "group": "numerical fractions", "definition": "((b*j*f)/gcd(a*j*f-c*b*f+g*b*j, b*j*f))"}, "ans_5a": {"description": "", "name": "ans_5a", "templateType": "anything", "group": "numerical fractions", "definition": "((a*c)/gcd(a*c, b*d))"}, "ans_0a": {"description": "", "name": "ans_0a", "templateType": "anything", "group": "numerical fractions", "definition": "((f*j+g*h)/gcd(f*j+g*h, g*j))"}, "ans_8b": {"description": "", "name": "ans_8b", "templateType": "anything", "group": "numerical fractions", "definition": "((c*d)/gcd(b, c*d))"}, "ans_7a": {"description": "", "name": "ans_7a", "templateType": "anything", "group": "numerical fractions", "definition": "((f*j)/gcd(f*j, h*g))"}, "ans_5b": {"description": "", "name": "ans_5b", "templateType": "anything", "group": "numerical fractions", "definition": "((b*d)/gcd(a*c, b*d))"}, "j": {"description": "", "name": "j", "templateType": "anything", "group": "numerical fractions", "definition": "random(2..12)"}, "ans_1b": {"description": "", "name": "ans_1b", "templateType": "anything", "group": "numerical fractions", "definition": "((f*g)/gcd(h*g-j*f, g*f))"}, "c": {"description": "", "name": "c", "templateType": "anything", "group": "numerical fractions", "definition": "random(2..12)"}, "b": {"description": "", "name": "b", "templateType": "anything", "group": "numerical fractions", "definition": "random(2..12)"}, "a": {"description": "", "name": "a", "templateType": "anything", "group": "numerical fractions", "definition": "random(2..12)"}, "ans_3b": {"description": "", "name": "ans_3b", "templateType": "anything", "group": "numerical fractions", "definition": "((a*c*d)/gcd(f*c*d+b*a*d-c*a*c, a*c*d))"}, "ans_4a": {"description": "", "name": "ans_4a", "templateType": "anything", "group": "numerical fractions", "definition": "((a*j*f-c*b*f+g*b*j)/gcd(a*j*f-c*b*f+g*b*j, b*j*f))"}, "ans_2b": {"description": "", "name": "ans_2b", "templateType": "anything", "group": "numerical fractions", "definition": "((d)/gcd(a+f*d, d))"}, "ans_8a": {"description": "", "name": "ans_8a", "templateType": "anything", "group": "numerical fractions", "definition": "(b/gcd(b, c*d))"}}, "tags": [], "type": "question", "contributors": [{"name": "Vicky Hall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/659/"}]}]}], "contributors": [{"name": "Vicky Hall", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/659/"}]}