// Numbas version: exam_results_page_options {"name": "Test exam - fractions", "metadata": {"description": "

TEST RUN to create exam on fractions

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", ""], "variable_overrides": [[], [], [], [], []], "questions": [{"name": "Test Questions ", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Thomas Colton", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1533/"}], "preamble": {"css": "", "js": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "tags": [], "variables": {}, "parts": [{"maxMarks": 0, "displayType": "radiogroup", "marks": 0, "showFeedbackIcon": true, "distractors": ["", "", "", ""], "scripts": {}, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "minMarks": 0, "shuffleChoices": false, "displayColumns": 0, "matrix": ["0", 0, 0, "1"], "choices": ["

m = -6 , c = 4

", "

m = -3, c = 6

", "

m = 3, c = 6

", "

m = 2, c = 4

"], "type": "1_n_2", "showCorrectAnswer": true}], "metadata": {"licence": "None specified", "description": ""}, "statement": "

1. What are the gradient (m) and intercept (c) of 3y -6 =12? (Graph shown below)

\n

{geogebra_applet('https://www.geogebra.org/m/P8PD8VRW')}

", "rulesets": {}, "advice": "", "variable_groups": [], "functions": {}, "ungrouped_variables": [], "type": "question"}, {"name": "Partial fractions 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Heather Driscoll", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1703/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

General rules for partial fractions:

\n

$\\frac{P(x)}{(ax+b)(cx+d)}=\\frac{A}{ax+b}+\\frac{B}{cx+d}$
$\\frac{P(x)}{(ax+b)^2}=\\frac{A}{ax+b}+\\frac{B}{(ax+b)^2}$
$\\frac{P(x)}{(ax^2+bx+c)(dx+e)}=\\frac{Ax+B}{ax^2+bx+c}+\\frac{C}{dx+e}$

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "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": "

Find the partial fraction of:

\n

$\\frac{5x - 1}{(x + 1)(x - 2)}$

\n

$ = [[0]]/$(x + 1)$ + [[1]]/$(x - 2)$

\n

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "A", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "2", "maxValue": "2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "B", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "3", "maxValue": "3", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Add two fractions with the same denominator", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Anthony Brown", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/799/"}], "tags": [], "metadata": {"description": "

This question tests a student's ability to add two fractions with the same denominator.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Add the following fractions using the formula $\\dfrac{a}{b}+\\dfrac{c}{b}=\\frac{\\boxed{a}+\\boxed{c}}{\\boxed{b}}=\\frac{\\boxed{a+c}}{\\boxed{b}}$.

\n

An example of a correct calculation would be $\\dfrac{1}{2}+\\dfrac{3}{2}=\\frac{\\boxed{1}+\\boxed{3}}{\\boxed{2}}=\\frac{\\boxed{4}}{\\boxed{2}}$.

\n

Note the final fraction should be left as it is and should not be entered in lowest form (if this is different).

", "advice": "

The correct calculation is $\\dfrac{\\var{a}}{\\var{d}}+\\dfrac{\\var{b}}{\\var{d}}=\\frac{\\boxed{\\var{a}}+\\boxed{\\var{b}}}{\\boxed{\\var{d}}}=\\frac{\\boxed{\\var{a+b}}}{\\boxed{\\var{d}}}$.

", "rulesets": {"std": ["all"]}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..99)", "description": "

Numerator of the first fraction.

", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(2..99)", "description": "

The common denominator.

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

Numerator of the second fraction.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "(a<>1 or b<>3 or d<>2) and gcd(a,d)=1 and gcd(b,d)=1", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "d"], "variable_groups": [], "functions": {}, "preamble": {"js": "document.createElement('fraction');\ndocument.createElement('numerator');\ndocument.createElement('denominator');", "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"}, "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": "

{a}{d} $\\ +\\ $ {b}{d} $\\ =\\ $ [[0]] $\\ +\\ $ [[1]] [[2]] $\\ =\\ $ [[3]][[4]].

", "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": "a", "maxValue": "a", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": "0", "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, "minValue": "b", "maxValue": "b", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "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, "minValue": "d", "maxValue": "d", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "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, "minValue": "a+b", "maxValue": "a+b", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "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, "minValue": "d", "maxValue": "d", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Fractions of amounts", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Mash Sheffield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/496/"}, {"name": "Marta Emmett", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/11961/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Simplify fully the following fractions.

", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"students": {"name": "students", "group": "Part d) variables", "definition": "multiplier*random(20..25)", "description": "", "templateType": "anything", "can_override": false}, "multiplier": {"name": "multiplier", "group": "Part d) variables", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "vegans": {"name": "vegans", "group": "Part d) variables", "definition": "multiplier*random([2,4])", "description": "", "templateType": "anything", "can_override": false}, "coeliacs": {"name": "coeliacs", "group": "Part d) variables", "definition": "multiplier*random([1,3])", "description": "", "templateType": "anything", "can_override": false}, "dietary": {"name": "dietary", "group": "Part d) variables", "definition": "vegans+coeliacs", "description": "", "templateType": "anything", "can_override": false}, "non_dietary": {"name": "non_dietary", "group": "Part d) variables", "definition": "students-dietary", "description": "", "templateType": "anything", "can_override": false}, "fraction": {"name": "fraction", "group": "Part d) variables", "definition": "non_dietary/students", "description": "", "templateType": "anything", "can_override": false}, "fabrics": {"name": "fabrics", "group": "Part e) variables", "definition": "multiplier2*upper_bound*2", "description": "", "templateType": "anything", "can_override": false}, "multiplier2": {"name": "multiplier2", "group": "Part e) variables", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "num1": {"name": "num1", "group": "Part e) variables", "definition": "multiplier2*random(1..upper_bound)", "description": "", "templateType": "anything", "can_override": false}, "upper_bound": {"name": "upper_bound", "group": "Part e) variables", "definition": "random(5..13)", "description": "", "templateType": "anything", "can_override": false}, "num2": {"name": "num2", "group": "Part e) variables", "definition": "multiplier2*random(1..upper_bound)", "description": "", "templateType": "anything", "can_override": false}, "num3": {"name": "num3", "group": "Part e) variables", "definition": "fabrics-num1-num2", "description": "", "templateType": "anything", "can_override": false}, "colour1": {"name": "colour1", "group": "Part e) variables", "definition": "random(\"red\",\"purple\",\"blue\")", "description": "", "templateType": "anything", "can_override": false}, "colour2": {"name": "colour2", "group": "Part e) variables", "definition": "random(\"green\",\"orange\",\"black\")", "description": "", "templateType": "anything", "can_override": false}, "colour3": {"name": "colour3", "group": "Part e) variables", "definition": "random(\"yellow\",\"white\",\"pink\")", "description": "", "templateType": "anything", "can_override": false}, "random_colour": {"name": "random_colour", "group": "Part e) variables", "definition": "random(colours)", "description": "", "templateType": "anything", "can_override": false}, "colours": {"name": "colours", "group": "Part e) variables", "definition": "[colour1,colour2,colour3]", "description": "", "templateType": "anything", "can_override": false}, "which_colour": {"name": "which_colour", "group": "Part e) variables", "definition": "indices(colours,random_colour)", "description": "", "templateType": "anything", "can_override": false}, "numbers": {"name": "numbers", "group": "Part e) variables", "definition": "[num1,num2,num3]", "description": "", "templateType": "anything", "can_override": false}, "which_number": {"name": "which_number", "group": "Part e) variables", "definition": "numbers[which_colour[0]]", "description": "", "templateType": "anything", "can_override": false}, "fraction2": {"name": "fraction2", "group": "Part e) variables", "definition": "which_number/fabrics", "description": "", "templateType": "anything", "can_override": false}, "records": {"name": "records", "group": "Part c) variables", "definition": "multiplier3*upper_bound2*2", "description": "", "templateType": "anything", "can_override": false}, "multiplier3": {"name": "multiplier3", "group": "Part c) variables", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "upper_bound2": {"name": "upper_bound2", "group": "Part c) variables", "definition": "random(13..20)", "description": "", "templateType": "anything", "can_override": false}, "n1": {"name": "n1", "group": "Part c) variables", "definition": "multiplier3*random(1..upper_bound2)", "description": "", "templateType": "anything", "can_override": false}, "n2": {"name": "n2", "group": "Part c) variables", "definition": "random(1..n1-1)", "description": "", "templateType": "anything", "can_override": false}, "n3": {"name": "n3", "group": "Part c) variables", "definition": "random(1..n1-1)", "description": "", "templateType": "anything", "can_override": false}, "genres": {"name": "genres", "group": "Part c) variables", "definition": "[\"emo\",\"pop punk\",\"folk\",\"hardcore\",\"pop\",\"EDM\",\"R&B\",\"new wave\"]", "description": "", "templateType": "anything", "can_override": false}, "genre1": {"name": "genre1", "group": "Part c) variables", "definition": "random(genres)", "description": "", "templateType": "anything", "can_override": false}, "genre2": {"name": "genre2", "group": "Part c) variables", "definition": "random(genres except [genre1])", "description": "", "templateType": "anything", "can_override": false}, "genre3": {"name": "genre3", "group": "Part c) variables", "definition": "random(genres except [genre1,genre2])", "description": "", "templateType": "anything", "can_override": false}, "random_genre": {"name": "random_genre", "group": "Part c) variables", "definition": "random(selected_genres)", "description": "", "templateType": "anything", "can_override": false}, "which_genre": {"name": "which_genre", "group": "Part c) variables", "definition": "indices(selected_genres,random_genre)", "description": "", "templateType": "anything", "can_override": false}, "which_n": {"name": "which_n", "group": "Part c) variables", "definition": "nums[which_genre[0]]", "description": "", "templateType": "anything", "can_override": false}, "nums": {"name": "nums", "group": "Part c) variables", "definition": "[n1,n2,n3]", "description": "", "templateType": "anything", "can_override": false}, "selected_genres": {"name": "selected_genres", "group": "Part c) variables", "definition": "[genre1,genre2,genre3]", "description": "", "templateType": "anything", "can_override": false}, "fraction3": {"name": "fraction3", "group": "Part c) variables", "definition": "which_n/records", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [{"name": "Part d) variables", "variables": ["students", "multiplier", "vegans", "coeliacs", "dietary", "non_dietary", "fraction"]}, {"name": "Part e) variables", "variables": ["fabrics", "multiplier2", "num1", "upper_bound", "num2", "num3", "colour1", "colour2", "colour3", "random_colour", "colours", "which_colour", "numbers", "which_number", "fraction2"]}, {"name": "Part c) variables", "variables": ["records", "multiplier3", "upper_bound2", "n1", "n2", "n3", "genres", "genre1", "genre2", "genre3", "random_genre", "which_genre", "which_n", "nums", "selected_genres", "fraction3"]}], "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": "

A module leader wants to treat their course to pizza at their end of year party. Of the {students} students enrolled on the course, there are {vegans} vegans and {coeliacs} coeliacs. 

\n

What fraction of the students have no dietary requirements?

", "alternatives": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "", "useAlternativeFeedback": false, "minValue": "fraction", "maxValue": "fraction", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minValue": "fraction", "maxValue": "fraction", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "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": "

Kiran is sorting some fabric into different colours for future textiles projects. Altogether, they have {fabrics} pieces of fabric, of which {num1} are {colour1}, {num2} are {colour2} and {num3} are {colour3}. 

\n

What fraction of the fabric is {random_colour}?

", "minValue": "fraction2", "maxValue": "fraction2", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": 0, "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": "

Jay is an avid vinyl collector, and is using their spare time to sort all of their records by genre. Over the years, they've collected a substantial {records} records. Since {genre1} music is their favourite, they have {n1} records in that particular genre, along with {n2} {genre2} records, and {n3} {genre3} records. 

\n

What fraction of the collection are {random_genre} records?

", "minValue": "fraction3", "maxValue": "fraction3", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": true, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Division of Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "tags": ["category: algebra methods", "skill: 307, Division of algebraic fractions"], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "variables": {"groups": {"name": "groups", "group": "Ungrouped variables", "definition": "[\n [\"12/y\",\"6/y^2\",\"2y\"],\n [\"z^2/4\",\"z/8\",\"2z\"],\n [\"6/u^2\",\"3/u\",\"2/u\"],\n [\"v/4\",\"v^2/8\",\"2/v\"],\n [\"1/(2m)\",\"4/m^2\",\"m/8\"]\n]", "description": "", "templateType": "anything"}, "group": {"name": "group", "group": "Ungrouped variables", "definition": "random(groups)", "description": "", "templateType": "anything"}, "expr1": {"name": "expr1", "group": "Ungrouped variables", "definition": "expression(group[0])", "description": "", "templateType": "anything"}, "expr2": {"name": "expr2", "group": "Ungrouped variables", "definition": "expression(group[1])", "description": "", "templateType": "anything"}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "expression(group[2])", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["groups", "group", "expr1", "expr2", "answer"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "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": "

If $\\var{expr1}$ is divided by $\\var{expr2}$ then the result (when simplified) is:

", "answer": "{answer}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": [], "variable_overrides": [], "questions": []}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "vijay (gmail) teeluck", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1577/"}], "extensions": ["eukleides", "geogebra", "jsxgraph"], "custom_part_types": [], "resources": []}