// Numbas version: exam_results_page_options {"name": "Long division", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Long division", "advice": "", "preamble": {"js": "", "css": ""}, "statement": "

Without using a calculator, evaluate the following:

", "functions": {}, "rulesets": {}, "variable_groups": [], "parts": [{"prompt": "

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

\n

", "marks": 0, "gaps": [{"variableReplacements": [], "minValue": "quotient1", "marks": 1, "maxValue": "quotient1", "scripts": {}, "variableReplacementStrategy": "originalfirst", "allowFractions": false, "correctAnswerFraction": false, "showPrecisionHint": false, "showCorrectAnswer": true, "type": "numberentry"}], "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "type": "gapfill"}, {"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

", "marks": 0, "gaps": [{"marks": "1", "maxValue": "quotient2", "scripts": {}, "integerAnswer": true, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "minValue": "quotient2", "integerPartialCredit": 0, "showCorrectAnswer": true, "showPrecisionHint": false, "correctAnswerFraction": false, "allowFractions": false, "type": "numberentry"}, {"variableReplacements": [], "minValue": "remainder2", "marks": 1, "maxValue": "remainder2", "scripts": {}, "variableReplacementStrategy": "originalfirst", "allowFractions": true, "correctAnswerFraction": true, "showPrecisionHint": false, "showCorrectAnswer": true, "type": "numberentry"}], "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "type": "gapfill"}, {"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

", "marks": 0, "gaps": [{"showCorrectAnswer": true, "marks": "2", "precisionType": "dp", "maxValue": "quotient3", "scripts": {}, "strictPrecision": false, "variableReplacements": [], "minValue": "quotient3", "precision": "2", "precisionPartialCredit": "50", "showPrecisionHint": false, "correctAnswerFraction": false, "precisionMessage": "You have not given your answer to the correct precision.", "variableReplacementStrategy": "originalfirst", "allowFractions": false, "type": "numberentry"}], "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "type": "gapfill"}], "tags": ["algorithms", "division", "long division", "short division"], "showQuestionGroupNames": false, "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"dividend1": {"name": "dividend1", "definition": "divisor1*quotient1", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "divisor2": {"name": "divisor2", "definition": "random(12..30)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "quotient2": {"name": "quotient2", "definition": "trunc(dividend2/divisor2)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "divisor3": {"name": "divisor3", "definition": "random(11..30 except [divisor2,divisor1])", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "dividend3": {"name": "dividend3", "definition": "random(523..9234 except (0..9234#divisor3))", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "quotient3": {"name": "quotient3", "definition": "precround(dividend3/divisor3,2)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "quotient1": {"name": "quotient1", "definition": "random(123..987 except list(200..900#100))", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "remainder2": {"name": "remainder2", "definition": "mod(dividend2,divisor2)/divisor2", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "dividend2": {"name": "dividend2", "definition": "random(523..9234 except (0..9234#divisor2))", "description": "", "templateType": "anything", "group": "Ungrouped variables"}, "divisor1": {"name": "divisor1", "definition": "random(3..12)", "description": "", "templateType": "anything", "group": "Ungrouped variables"}}, "ungrouped_variables": ["divisor1", "quotient1", "dividend1", "divisor2", "dividend2", "quotient2", "remainder2", "divisor3", "dividend3", "quotient3"], "question_groups": [{"name": "", "questions": [], "pickingStrategy": "all-ordered", "pickQuestions": 0}], "metadata": {"description": "", "notes": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "contributors": [{"name": "Marlon Arcila", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/321/"}]}]}], "contributors": [{"name": "Marlon Arcila", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/321/"}]}