// Numbas version: finer_feedback_settings {"name": "Division and remainder: 10 questions", "metadata": {"description": "
A simple test for practicing division with remainder. Numbers are randomised, and ranges for divisor and quotient can be specified.
", "licence": "Creative Commons Attribution 4.0 International"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Division and remainder", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", "", "", "", "", ""], "variable_overrides": [[], [], [], [], [], [], [], [], [], []], "questions": [{"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}, {"name": "Division and remainder", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "tags": [], "metadata": {"description": "A simple test for division and remainder.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "{divident} ÷ {divisor} = ? r ?
", "advice": "First, we want to find the largest multiple of {divisor} which is less than or equal to {divident}. This is {divisor} × {quotient} = {divisor * quotient}. The factor by which we multiply, {quotient}, is the quotient.
\nTo find the remainder, check how much you need to add to {divisor * quotient} to get to {divident}. Since {divisor * quotient} + {remainder} = {divident}, the remainder is {remainder}.
\nSo, {divident} ÷ {divisor} = {quotient} r {remainder}.
", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"divisor": {"name": "divisor", "group": "Ungrouped variables", "definition": "random(1..max_divisor)", "description": "", "templateType": "anything", "can_override": false}, "quotient": {"name": "quotient", "group": "Ungrouped variables", "definition": "random(0..max_quotient)", "description": "", "templateType": "anything", "can_override": false}, "remainder": {"name": "remainder", "group": "Ungrouped variables", "definition": "random(0..(divisor-1))", "description": "", "templateType": "anything", "can_override": false}, "max_divisor": {"name": "max_divisor", "group": "Ungrouped variables", "definition": "12", "description": "", "templateType": "number", "can_override": true}, "max_quotient": {"name": "max_quotient", "group": "Ungrouped variables", "definition": "10", "description": "", "templateType": "number", "can_override": true}, "divident": {"name": "divident", "group": "Ungrouped variables", "definition": "divisor * quotient + remainder", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["max_divisor", "max_quotient", "divisor", "quotient", "remainder", "divident"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": true, "customName": "Quotient", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient", "maxValue": "quotient", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Remainder", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder", "maxValue": "remainder", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": [], "enterreviewmodeimmediately": true, "showexpectedanswerswhen": "inreview", "showpartfeedbackmessageswhen": "always", "showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showadvicewhen": "inreview"}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "type": "exam", "contributors": [{"name": "Matthias Troffaes", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/13999/"}], "extensions": [], "custom_part_types": [], "resources": []}