// Numbas version: exam_results_page_options {"name": "Long division (old)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Long division (old)", "tags": ["algorithms", "division", "long division", "Long division", "short division"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Without using a calculator, evaluate the following:

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"quotient2": {"name": "quotient2", "group": "Ungrouped variables", "definition": "trunc(dividend2/divisor2)", "description": "", "templateType": "anything", "can_override": false}, "dividend2": {"name": "dividend2", "group": "Ungrouped variables", "definition": "random(523..9234 except (0..9234#divisor2))", "description": "", "templateType": "anything", "can_override": false}, "divisor3": {"name": "divisor3", "group": "Ungrouped variables", "definition": "random(11..30 except [divisor2,divisor1])", "description": "", "templateType": "anything", "can_override": false}, "quotient3": {"name": "quotient3", "group": "Ungrouped variables", "definition": "precround(dividend3/divisor3,2)", "description": "", "templateType": "anything", "can_override": false}, "dividend1": {"name": "dividend1", "group": "Ungrouped variables", "definition": "divisor1*quotient1", "description": "", "templateType": "anything", "can_override": false}, "dividend3": {"name": "dividend3", "group": "Ungrouped variables", "definition": "random(523..9234 except (0..9234#divisor3))", "description": "", "templateType": "anything", "can_override": false}, "divisor2": {"name": "divisor2", "group": "Ungrouped variables", "definition": "random(12..30)", "description": "", "templateType": "anything", "can_override": false}, "remainder2": {"name": "remainder2", "group": "Ungrouped variables", "definition": "mod(dividend2,divisor2)/divisor2", "description": "", "templateType": "anything", "can_override": false}, "divisor1": {"name": "divisor1", "group": "Ungrouped variables", "definition": "random(3..12)", "description": "", "templateType": "anything", "can_override": false}, "quotient1": {"name": "quotient1", "group": "Ungrouped variables", "definition": "random(123..987 except list(200..900#100))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["divisor1", "quotient1", "dividend1", "divisor2", "dividend2", "quotient2", "remainder2", "divisor3", "dividend3", "quotient3"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

$\\var{dividend1}\\div\\var{divisor1}=$[[0]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient1", "maxValue": "quotient1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

For this question, if you get a remainder deal with it as a fraction.

\n

(Put the whole number in the first blank and the fraction in the second blank)

\n

$\\var{dividend2}\\div\\var{divisor2}=$[[0]][[1]] 

\n

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient2", "maxValue": "quotient2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "remainder2", "maxValue": "remainder2", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

For this question, if you get a remainder deal with it as a decimal and round to two decimal places.

\n

$\\var{dividend3}\\div\\var{divisor3}=$ [[0]] (2 dec. pl.)

\n

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "quotient3", "maxValue": "quotient3", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}