// Numbas version: exam_results_page_options {"name": "Ioannis'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": [{"tags": [], "rulesets": {}, "variables": {"a": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(-8..-2)", "name": "a"}, "d": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(2..9)", "name": "d"}, "f": {"group": "Ungrouped variables", "description": "", "templateType": "randrange", "definition": "random(-10..-1#1)", "name": "f"}, "b": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random( -9..-3 except a)", "name": "b"}, "c": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(-9..-2 except[a,b])", "name": "c"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "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

", "functions": {}, "preamble": {"js": "", "css": ""}, "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Testing addition, multiplication and division involving negative numbers.

"}, "statement": "

Find the value of the following:

", "extensions": [], "name": "Ioannis's copy of Arithmetic with Negative Numbers", "ungrouped_variables": ["a", "c", "b", "d", "f"], "parts": [{"marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

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

\n

[[0]]

", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "sortAnswers": false, "unitTests": [], "gaps": [{"marks": 1, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "{a}+{b}", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "variableReplacements": [], "allowFractions": false, "unitTests": [], "type": "numberentry", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "minValue": "{a}+{b}"}], "extendBaseMarkingAlgorithm": true, "type": "gapfill"}, {"marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

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

\n

[[0]]

", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "sortAnswers": false, "unitTests": [], "gaps": [{"marks": 1, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "{d}*{c}", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "variableReplacements": [], "allowFractions": false, "unitTests": [], "type": "numberentry", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "minValue": "{d}*{c}"}], "extendBaseMarkingAlgorithm": true, "type": "gapfill"}, {"marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

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

\n

[[0]]

", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "sortAnswers": false, "unitTests": [], "gaps": [{"marks": 1, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "{b}*{c}", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "variableReplacements": [], "allowFractions": false, "unitTests": [], "type": "numberentry", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "minValue": "{b}*{c}"}], "extendBaseMarkingAlgorithm": true, "type": "gapfill"}, {"marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

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

\n

(Give your answer as a decimal.)

\n

[[0]]

", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "sortAnswers": false, "unitTests": [], "gaps": [{"marks": 1, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "{f}/5", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "variableReplacements": [], "allowFractions": false, "unitTests": [], "type": "numberentry", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "minValue": "{f}/5"}], "extendBaseMarkingAlgorithm": true, "type": "gapfill"}, {"marks": 0, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "prompt": "

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

\n

(Give your answer as a decimal.)

\n

[[0]]

", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "variableReplacements": [], "sortAnswers": false, "unitTests": [], "gaps": [{"marks": 1, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "maxValue": "{c}/(-5)", "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "scripts": {}, "showCorrectAnswer": true, "mustBeReduced": false, "variableReplacements": [], "allowFractions": false, "unitTests": [], "type": "numberentry", "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "minValue": "{c}/(-5)"}], "extendBaseMarkingAlgorithm": true, "type": "gapfill"}], "variable_groups": [], "type": "question", "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}]}], "contributors": [{"name": "Lois Rollings", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/326/"}, {"name": "Ioannis Lignos", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/757/"}]}