// Numbas version: finer_feedback_settings {"name": "Harry's copy of Hannah's copy of Simplifying Fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "", "preamble": {"js": "", "css": ""}, "functions": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "
Simplify this fraction to its lowest terms by cancelling.
", "ungrouped_variables": ["multiple", "simpdenom", "simpnum", "denominator", "numerator", "ansstring", "n1", "n2"], "variables": {"multiple": {"definition": "random(2,3,4,5,7,8,19,20,25) //Restrict possible multiples", "templateType": "anything", "name": "multiple", "description": "", "group": "Ungrouped variables"}, "n2": {"definition": "random(1..5)", "templateType": "anything", "name": "n2", "description": "", "group": "Ungrouped variables"}, "n1": {"definition": "random(2..9)", "templateType": "anything", "name": "n1", "description": "", "group": "Ungrouped variables"}, "simpdenom": {"definition": "Denominator/gcd(Numerator,Denominator)", "templateType": "anything", "name": "simpdenom", "description": "", "group": "Ungrouped variables"}, "denominator": {"definition": "n1*Multiple //denom = n1*Multiple, num = EITHER n1 (if n2 > Multiple) OR n1 * n2", "templateType": "anything", "name": "denominator", "description": "", "group": "Ungrouped variables"}, "simpnum": {"definition": "Numerator/gcd(Numerator,Denominator)", "templateType": "anything", "name": "simpnum", "description": "", "group": "Ungrouped variables"}, "ansstring": {"definition": "SimpNum + \"/\" + simpDenom", "templateType": "anything", "name": "ansstring", "description": "", "group": "Ungrouped variables"}, "numerator": {"definition": "if(n2 < Multiple,n1*n2,n1) //we want the Numerator to be less than the denominator", "templateType": "anything", "name": "numerator", "description": "", "group": "Ungrouped variables"}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Cancelling to reduce a fraction to its lowest terms.
"}, "rulesets": {"std": ["all", "fractionNumbers"]}, "type": "question", "extensions": [], "variable_groups": [], "tags": [], "showQuestionGroupNames": false, "name": "Harry's copy of Hannah's copy of Simplifying Fractions", "question_groups": [{"pickQuestions": 0, "name": "", "pickingStrategy": "all-ordered", "questions": []}], "parts": [{"marks": 0, "variableReplacements": [], "gaps": [{"displayAnswer": "{AnsString}", "variableReplacements": [], "type": "patternmatch", "answer": "{AnsString}", "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "marks": 1}], "type": "gapfill", "scripts": {}, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "prompt": "What's $\\frac {\\var{Numerator}} {\\var{Denominator} }$ in its simplest form (please enter your answer in the form a/b)? Answer: [[0]];
"}], "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}]}], "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}