// Numbas version: finer_feedback_settings {"name": "David's copy of Q2 Arithmetic", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {"Neg": {"definition": "random(-2..-9)", "type": "number", "parameters": [], "language": "jme"}, "Pos": {"definition": "random(3..12)", "type": "number", "parameters": [], "language": "jme"}}, "ungrouped_variables": ["A1", "a2", "Ans1", "b1", "B2", "Ans2", "C1", "C2", "Ans3", "D1", "D2", "Ans4", "E1", "E2", "Ans5", "F1", "F2", "Ans6", "G2", "G1", "Ans7", "H1", "H2", "Ans8", "I1", "I2", "I3", "Ans9", "J1", "J2", "J3", "Ans10"], "name": "David's copy of Q2 Arithmetic", "tags": ["rebelmaths"], "advice": "
N.B. Rules
\n$(+) \\times (+) = (+)$
\n$(+) \\times (-) = (-)$
\n$(-) \\times (+) = (-)$
\n$(-) \\times (-) = (+)$
\n\n(-(-a)) = (a) e.g $(-(-5)) = 5$
\n(+(-a)) or (-(+a)) = (-a) e.g $(+(-5)) = 5$ or $(-(+5)) = 5$
\n\nIf both numbers are negative, keep the minus sign and add the numbers e.g
\n$\\var{g2} - \\var{g1} = \\var{ans7}$
\nIf the numbers have different signs, keep the sign of the bigger number abd subtract the smaller number from it e.g
\n$-15 + 20 = 5$ or $20 - 15 = 5$
\n\n", "rulesets": {}, "parts": [{"prompt": "$(\\var{a1}) \\times (\\var{a2})$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans1}", "minValue": "{ans1}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$\\var{b1} \\times (\\var{b2})$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans2}", "minValue": "{ans2}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$\\var{c1} \\times \\var{c2}$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans3}", "minValue": "{ans3}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$(\\var{d1}) \\times (\\var{d2})$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans4}", "minValue": "{ans4}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$\\var{e1} \\div \\var{e2}$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans5}", "minValue": "{ans5}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$\\var{f1} \\div (\\var{f2})$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans6}", "minValue": "{ans6}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$\\var{g2} - \\var{g1}$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans7}", "minValue": "{ans7}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$\\var{h1} - (\\var{h2})$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans8}", "minValue": "{ans8}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$\\var{i1} + (\\var{i2}) - \\var{i3}$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans9}", "minValue": "{ans9}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$\\var{j1} - (\\var{j2}) - (\\var{j3})$
\n[[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{ans10}", "minValue": "{ans10}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "Evaluate each of the following, without using a calculator, to 2 decimal places:
\nN.B. Rules
\n$(+) \\times (+) = (+)$
\n$(+) \\times (-) = (-)$
\n$(-) \\times (+) = (-)$
\n$(-) \\times (-) = (+)$
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"Ans3": {"definition": "{c1}*{c2}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans3", "description": ""}, "Ans5": {"definition": "random(-8..-3)", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans5", "description": ""}, "b1": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "Ans7": {"definition": "g2-g1", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans7", "description": ""}, "G2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "G2", "description": ""}, "G1": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "G1", "description": ""}, "I1": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "I1", "description": ""}, "I3": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "I3", "description": ""}, "I2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "I2", "description": ""}, "A1": {"definition": "(neg())", "templateType": "anything", "group": "Ungrouped variables", "name": "A1", "description": ""}, "Ans10": {"definition": "{j1} - {j2} - {j3}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans10", "description": ""}, "C2": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "C2", "description": ""}, "C1": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "C1", "description": ""}, "E1": {"definition": "ans5*e2", "templateType": "anything", "group": "Ungrouped variables", "name": "E1", "description": ""}, "E2": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "E2", "description": ""}, "F1": {"definition": "ans6*f2", "templateType": "anything", "group": "Ungrouped variables", "name": "F1", "description": ""}, "a2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "Ans6": {"definition": "random(4..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans6", "description": ""}, "Ans8": {"definition": "{h1} - {h2}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans8", "description": ""}, "Ans9": {"definition": "{i1} + {i2} - {i3}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans9", "description": ""}, "F2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "F2", "description": ""}, "H2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "H2", "description": ""}, "Ans1": {"definition": "{a1}*{a2}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans1", "description": ""}, "Ans2": {"definition": "{b1}*{b2}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans2", "description": ""}, "H1": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "H1", "description": ""}, "Ans4": {"definition": "{d1}*{d2}", "templateType": "anything", "group": "Ungrouped variables", "name": "Ans4", "description": ""}, "J1": {"definition": "pos()", "templateType": "anything", "group": "Ungrouped variables", "name": "J1", "description": ""}, "J2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "J2", "description": ""}, "J3": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "J3", "description": ""}, "B2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "B2", "description": ""}, "D2": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "D2", "description": ""}, "D1": {"definition": "neg()", "templateType": "anything", "group": "Ungrouped variables", "name": "D1", "description": ""}}, "metadata": {"description": "rebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "David Rickard", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/451/"}]}]}], "contributors": [{"name": "David Rickard", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/451/"}]}