// Numbas version: exam_results_page_options {"name": "Algebraic Fractions (Multiple Choice)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["cons_num", "mult", "x1", "x2", "y1", "y2"], "name": "Algebraic Fractions (Multiple Choice)", "tags": [], "preamble": {"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}", "js": "document.createElement('fraction');\ndocument.createElement('numerator');\ndocument.createElement('denominator');"}, "advice": "", "rulesets": {}, "parts": [{"distractors": ["", "", "", ""], "prompt": "
$\\simplify{2*(x+y)^({x1[2]}-{x2[2]})}$
", "$\\simplify{2*(x+y)^({x1[2]}+{x2[2]})}$
", "$\\simplify{2*(x+y)^(2*({x1[2]}-{x2[2]}))}$
", "$\\simplify{2*(x+y)^({x1[2]}*{x2[2]})}$
"], "variableReplacementStrategy": "originalfirst", "displayType": "radiogroup", "maxMarks": "2", "scripts": {}, "marks": 0, "displayColumns": 0, "showCorrectAnswer": true, "type": "1_n_2", "minMarks": 0}, {"distractors": ["", "", "", ""], "prompt": "Simplify the following fractions.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"y2": {"definition": "repeat(random(2..10 except y1),5)", "templateType": "anything", "group": "Ungrouped variables", "name": "y2", "description": ""}, "cons_num": {"definition": "[random(6..12),random(4..6),random(26,28,30,32,34,36),random(2..8),random(-9..-6)]", "templateType": "anything", "group": "Ungrouped variables", "name": "cons_num", "description": ""}, "y1": {"definition": "repeat(random(2..10),5)", "templateType": "anything", "group": "Ungrouped variables", "name": "y1", "description": ""}, "x2": {"definition": "repeat(random(2..7 except x1),5)", "templateType": "anything", "group": "Ungrouped variables", "name": "x2", "description": ""}, "x1": {"definition": "shuffle(3..10)[0..5]", "templateType": "anything", "group": "Ungrouped variables", "name": "x1", "description": "Power of x
"}, "mult": {"definition": "[random(2..4),random(3..6),0.5,random(2..4),random(-5..-3)]", "templateType": "anything", "group": "Ungrouped variables", "name": "mult", "description": ""}}, "metadata": {"notes": "", "description": "Putting algebraic fractions into their simplest forms
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}]}