// Numbas version: exam_results_page_options {"name": "Gerry's copy of Arithmetic with Negative Numbers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "tags": ["Arithmetic", "arithmetic", "negative numbers", "Negative Numbers"], "type": "question", "rulesets": {}, "ungrouped_variables": ["a", "c", "b", "d", "f"], "preamble": {"css": "", "js": ""}, "showQuestionGroupNames": false, "advice": "

Recall that, for instance, adding  $-3$ is the same as subtracting $3$ and that $-3 \\times -4 = 12$

\n

See the following pages for further examples and some explanations of why this makes sense.

\n

http://www.mathsisfun.com/positive-negative-integers.html

\n

http://www.mathsisfun.com/multiplying-negatives.html

\n

", "statement": "

Find the value of the following:

", "variable_groups": [], "variables": {"f": {"definition": "random(-10..-1#1)", "group": "Ungrouped variables", "templateType": "randrange", "description": "", "name": "f"}, "d": {"definition": "random(2..9)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "d"}, "c": {"definition": "random(-9..-2 except[a,b])", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "c"}, "a": {"definition": "random(-8..-2)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "a"}, "b": {"definition": "random( -9..-3 except a)", "group": "Ungrouped variables", "templateType": "anything", "description": "", "name": "b"}}, "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Testing addition, multiplication and division involving negative numbers.

"}, "extensions": [], "parts": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

$(\\var{a}) + (\\var{b})$

\n

[[0]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "showPrecisionHint": false, "integerPartialCredit": 0, "marks": 1, "minValue": "{a}+{b}", "integerAnswer": true, "maxValue": "{a}+{b}", "variableReplacements": [], "correctAnswerFraction": false, "type": "numberentry", "allowFractions": false}], "variableReplacements": [], "type": "gapfill"}, {"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

$\\var{d} \\times (\\var{c})$

\n

[[0]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "showPrecisionHint": false, "integerPartialCredit": 0, "marks": 1, "minValue": "{d}*{c}", "integerAnswer": true, "maxValue": "{d}*{c}", "variableReplacements": [], "correctAnswerFraction": false, "type": "numberentry", "allowFractions": false}], "variableReplacements": [], "type": "gapfill"}, {"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

$(\\var{b}) \\times (\\var{c})$

\n

[[0]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "showPrecisionHint": false, "integerPartialCredit": 0, "marks": 1, "minValue": "{b}*{c}", "integerAnswer": true, "maxValue": "{b}*{c}", "variableReplacements": [], "correctAnswerFraction": false, "type": "numberentry", "allowFractions": false}], "variableReplacements": [], "type": "gapfill"}, {"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

$ \\var{f} \\div 5$

\n

(Give your answer as a decimal.)

\n

[[0]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "showPrecisionHint": false, "marks": 1, "minValue": "{f}/5", "maxValue": "{f}/5", "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "type": "numberentry"}], "variableReplacements": [], "type": "gapfill"}, {"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "prompt": "

$\\dfrac{\\var{c}}{-5}$.

\n

(Give your answer as a decimal.)

\n

[[0]]

", "gaps": [{"variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "showPrecisionHint": false, "marks": 1, "minValue": "{c}/(-5)", "maxValue": "{c}/(-5)", "allowFractions": false, "variableReplacements": [], "correctAnswerFraction": false, "type": "numberentry"}], "variableReplacements": [], "type": "gapfill"}], "name": "Gerry's copy of Arithmetic with Negative Numbers", "contributors": [{"name": "Gerry Gallagher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1408/"}]}]}], "contributors": [{"name": "Gerry Gallagher", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1408/"}]}