// Numbas version: finer_feedback_settings {"name": "Fraction Arithmetic with answers in simplest form", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Fraction Arithmetic with answers in simplest form", "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "
Give your answer as a fraction in its simplest form. (Type a/b
to enter a fraction. For example, 1/2
becomes $\\frac{1}{2}$.)
den1
", "templateType": "anything", "can_override": false}, "hh": {"name": "hh", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2..12) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "num4": {"name": "num4", "group": "Ungrouped variables", "definition": "{w}*{z}+{y}*{x}", "description": "", "templateType": "anything", "can_override": false}, "simpleden3": {"name": "simpleden3", "group": "Ungrouped variables", "definition": "den3/gcd(num3,den3)", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "l": {"name": "l", "group": "Ungrouped variables", "definition": "random(1..m-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "j": {"name": "j", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "r": {"name": "r", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "ss": {"name": "ss", "group": "Ungrouped variables", "definition": "random(1..tt-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..b-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "answer1": {"name": "answer1", "group": "Ungrouped variables", "definition": "simplenum1+\"/\"+simpleden1", "description": "", "templateType": "anything", "can_override": false}, "pp": {"name": "pp", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "gg": {"name": "gg", "group": "Ungrouped variables", "definition": "random(1..hh-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "answer3": {"name": "answer3", "group": "Ungrouped variables", "definition": "simplenum3+\"/\"+simpleden3", "description": "", "templateType": "anything", "can_override": false}, "multiple": {"name": "multiple", "group": "Ungrouped variables", "definition": "random(3,4,5,6,7,8,9)", "description": "", "templateType": "anything", "can_override": false}, "simplenum1": {"name": "simplenum1", "group": "Ungrouped variables", "definition": "num1/gcd(num1,den1)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..f-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "dd": {"name": "dd", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "{d}", "description": "", "templateType": "anything", "can_override": false}, "jj": {"name": "jj", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "nn": {"name": "nn", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "multiple_d": {"name": "multiple_d", "group": "Ungrouped variables", "definition": "{multiple}*{d}", "description": "", "templateType": "anything", "can_override": false}, "s": {"name": "s", "group": "Ungrouped variables", "definition": "random(1..t-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(1..x-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "aa": {"name": "aa", "group": "Ungrouped variables", "definition": "random(1..bb-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "ii": {"name": "ii", "group": "Ungrouped variables", "definition": "random(1..jj-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "answer2": {"name": "answer2", "group": "Ungrouped variables", "definition": "simplenum2+\"/\"+simpleden2", "description": "", "templateType": "anything", "can_override": false}, "simplenum4": {"name": "simplenum4", "group": "Ungrouped variables", "definition": "num4/gcd(num4,den4)", "description": "", "templateType": "anything", "can_override": false}, "ll": {"name": "ll", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "kk": {"name": "kk", "group": "Ungrouped variables", "definition": "random(1..ll-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "simpleden1": {"name": "simpleden1", "group": "Ungrouped variables", "definition": "den1/gcd(num1,den1)", "description": "", "templateType": "anything", "can_override": false}, "v": {"name": "v", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..b-a) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "random(1..f-d) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "simpleden2": {"name": "simpleden2", "group": "Ungrouped variables", "definition": "den2/gcd(num2,den2)", "description": "", "templateType": "anything", "can_override": false}, "num3": {"name": "num3", "group": "Ungrouped variables", "definition": "{l}*multiple_m}-{n}*{m}", "description": "", "templateType": "anything", "can_override": false}, "oo": {"name": "oo", "group": "Ungrouped variables", "definition": "random(1..pp-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "u": {"name": "u", "group": "Ungrouped variables", "definition": "random(1..v-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(1..j-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "cc": {"name": "cc", "group": "Ungrouped variables", "definition": "random(1..dd-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "den4": {"name": "den4", "group": "Ungrouped variables", "definition": "{x}*{z}", "description": "", "templateType": "anything", "can_override": false}, "bb": {"name": "bb", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "rr": {"name": "rr", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "num1": {"name": "num1", "group": "Ungrouped variables", "definition": "{a}{c}", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "random(4..10) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "ee": {"name": "ee", "group": "Ungrouped variables", "definition": "random(1..ff-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "den2": {"name": "den2", "group": "Ungrouped variables", "definition": "multiple_d", "description": "", "templateType": "anything", "can_override": false}, "simplenum2": {"name": "simplenum2", "group": "Ungrouped variables", "definition": "num2/gcd(num2,den2)", "description": "", "templateType": "anything", "can_override": false}, "mm": {"name": "mm", "group": "Ungrouped variables", "definition": "random(1..nn-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "k": {"name": "k", "group": "Ungrouped variables", "definition": "random(1..j-h) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(1..r-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}, "simplenum3": {"name": "simplenum3", "group": "Ungrouped variables", "definition": "num3/gcd(num3,den3)", "description": "", "templateType": "anything", "can_override": false}, "tt": {"name": "tt", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "multiple_m": {"name": "multiple_m", "group": "Ungrouped variables", "definition": "random(m*3,m*4,m*5,m*6,m*7)", "description": "", "templateType": "anything", "can_override": false}, "ff": {"name": "ff", "group": "Ungrouped variables", "definition": "random(2..20) //random denominator", "description": "", "templateType": "anything", "can_override": false}, "w": {"name": "w", "group": "Ungrouped variables", "definition": "random(1..3) ", "description": "", "templateType": "anything", "can_override": false}, "o": {"name": "o", "group": "Ungrouped variables", "definition": "random(1..p-1) //random numerator less than denominator", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "j", "m", "p", "r", "t", "v", "x", "z", "bb", "dd", "ff", "hh", "jj", "ll", "nn", "pp", "rr", "tt", "h", "k", "l", "n", "o", "q", "s", "u", "w", "y", "aa", "cc", "ee", "gg", "ii", "kk", "mm", "oo", "qq", "ss", "num1", "den1", "simplenum1", "simpleden1", "answer1", "num2", "den2", "simplenum2", "simpleden2", "answer2", "multiple", "multiple_d", "multiple_m", "num3", "den3", "simplenum3", "simpleden3", "answer3", "num4", "den4", "simplenum4", "simpleden4", "answer4"], "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$\\frac{\\var{a}}{\\var{b}} \\times \\frac{\\var{c}}{\\var{2*b}}$
\n[[0]]
", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answer1}", "displayAnswer": "{answer1}", "matchMode": "regex"}], "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": "$\\frac{\\var{d}}{\\var{f}} \\div \\frac{\\var{multiple_d}}{\\var{f}}$
\n[[0]]
", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answer2}", "displayAnswer": "{answer2}", "matchMode": "regex"}], "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": "$\\frac{\\var{l}}{\\var{m}} - \\frac{\\var{n}}{\\var{multiple_m}}$
\n[[0]]
", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answer3}", "displayAnswer": "{answer3}", "matchMode": "regex"}], "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": "$\\frac{\\var{w}}{\\var{x}} + \\frac{\\var{y}}{\\var{z}}$
\n[[0]]
", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{answer4}", "displayAnswer": "{answer4}", "matchMode": "regex"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Amy Barker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4520/"}]}]}], "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}, {"name": "Amy Barker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4520/"}]}