// Numbas version: exam_results_page_options {"name": "NG7 - Simplify (cancel down) Fractions - top heavy", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "NG7 - Simplify (cancel down) Fractions - top heavy", "tags": ["converting improper fractions to mixed numbers", "converting mixed numbers to improper fractions", "equivalent fractions", "improper fractions", "mixed numbers"], "metadata": {"description": "

This question tests the student's ability to identify equivalent fractions through spotting a fraction which is not equivalent amongst a list of otherwise equivalent fractions. It also tests the students ability to convert mixed numbers into their equivalent improper fractions. It then does the reverse and tests their ability to convert an improper fraction into an equivalent mixed number. 

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

A mixed number is a number consisting of an integer and a proper fraction, i.e. a number in the form $ a \\displaystyle \\frac{b}{c}$ where $a$ is an integer and $\\displaystyle\\frac{b}{c}$ is a proper fraction: $b$ is smaller than $c$.

\n

An improper fraction is a fraction where the numerator is larger than the denominator, i.e. a number of the form $\\displaystyle\\frac{d}{e}$ where the numerator, $d$, is greater than the denominator, $e$.

\n

To convert an improper fraction into a mixed number, find out how many times the denominator \\var{h_coprime/gcdb} goes into the numerator \\var{num/gcdb}. You can do this by dividing the numerator by the denominator and taking the whole number part or you can just add the denominator to itself until one more addition would make it bigger. This gives us a whole number part of our mixed fraction of \\var{f}.

\n

The numerator of our mixed fraction is what is left from dividing out the whole number. For this question that is $\\var{num/gcdb}-\\var{f*h_coprime}.

\n

Finally the denominator of our mixed fraction is just the denominator of the improper fraction.

\n

\\[
\\frac{\\var{num/gcdb}}{\\var{h_coprime/gcdb}} = {\\var{f}\\frac{\\var{g_coprime}}{\\var{h_coprime}}}\\text{.}
\\] 

\n

Use this link to find some resources which will help you revise this topic.

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"g": {"name": "g", "group": "Ungrouped variables", "definition": "random(1..h except h)", "description": "

Random number between 1 and 15

", "templateType": "anything", "can_override": false}, "g_coprime": {"name": "g_coprime", "group": "Ungrouped variables", "definition": "g/gcd_gh", "description": "

PART C

", "templateType": "anything", "can_override": false}, "gcd_gh": {"name": "gcd_gh", "group": "Ungrouped variables", "definition": "gcd(g,h)", "description": "

PART C

", "templateType": "anything", "can_override": false}, "num": {"name": "num", "group": "Ungrouped variables", "definition": "((h_coprime*f)+g_coprime)", "description": "

numerator for the improper fraction c(i)

", "templateType": "anything", "can_override": false}, "h": {"name": "h", "group": "Ungrouped variables", "definition": "random(10 .. 24#1)", "description": "

Random number between 1 and 24

", "templateType": "randrange", "can_override": false}, "h_coprime": {"name": "h_coprime", "group": "Ungrouped variables", "definition": "h/gcd_gh", "description": "

PART C

", "templateType": "anything", "can_override": false}, "gcdb": {"name": "gcdb", "group": "Ungrouped variables", "definition": "gcd({num},{h_coprime})", "description": "

gcd of num and h

", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(2 .. 5#1)", "description": "

Random number between 1 and 5

", "templateType": "randrange", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["f", "g", "h", "gcd_gh", "g_coprime", "h_coprime", "num", "gcdb"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "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": "

Write the improper fraction as a mixed number and reduce it down to its simplest form. 

\n

$\\displaystyle{\\frac{\\var{num/gcdb}}{\\var{h_coprime/gcdb}}} = $ [[2]] [[0]] [[1]] .

", "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": "g_coprime", "maxValue": "g_coprime", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "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": "h_coprime", "maxValue": "h_coprime", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "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": "f", "maxValue": "f", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Lauren Richards", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1589/"}, {"name": "Andrew Neate", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/21832/"}]}