// Numbas version: finer_feedback_settings {"name": "Multiplying fractions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "c", "b", "d", "m", "n", "g", "f", "nm", "cd", "gf"], "name": "Multiplying fractions", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

$ \\frac{\\var{n}}{\\var{m}} \\times \\frac{\\var{c}}{\\var{d}}$

\n

[[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"notallowed": {"message": "

You entered an invalid answer. The answer must be a fraction not a decimal number.

", "showStrings": false, "strings": [".", "-", "+"], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{n*c}/{m*d}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

$ \\frac{\\var{c}}{\\var{a}} \\div \\frac{\\var{d}}{\\var{b}}$

\n

[[0]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"notallowed": {"message": "

You entered an invalid answer. The answer must be a fraction not a decimal number.

", "showStrings": false, "strings": [".", "-", "+"], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{cb}/{ad}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Simplify the following to a single fraction:

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": "c-d>=0"}, "variables": {"a": {"definition": "{n}*{c}", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "cd[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "{m}*{d}", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "cd[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "gf[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "gf[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "m": {"definition": "nm[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "n": {"definition": "nm[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "gf": {"definition": "satisfy (\n // variables to be defined using gf\n [g,f],\n // definition of variable,\n [random (2..9), random (2..9)],\n // condition on the variables, g and f force \n [gcd(g,f)=1]\n )", "templateType": "anything", "group": "Ungrouped variables", "name": "gf", "description": ""}, "cd": {"definition": "satisfy (\n // variables to be defined using cd\n [c,d],\n // definition of variable,\n [random (2..9), random (2..9)],\n // condition on the variables, c and d force \n [gcd(m,n)=1]\n )", "templateType": "anything", "group": "Ungrouped variables", "name": "cd", "description": ""}, "nm": {"definition": "satisfy (\n // variables to be defined using nm\n [n,m],\n // definition of variable,\n [random (3..5), random (2..5)],\n // condition on the variables, m and n force \n [gcd(m,n)=1]\n )", "templateType": "anything", "group": "Ungrouped variables", "name": "nm", "description": ""}}, "metadata": {"description": "

Adding and Subtracting Fractions

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Lucy Hadfield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/110/"}]}]}], "contributors": [{"name": "Lucy Hadfield", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/110/"}]}