// Numbas version: finer_feedback_settings {"name": "Dividing by a decimal", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["basedividend", "divisor", "poweroften", "dividendredux", "numdp1", "basedivisor", "answer", "dividend"], "name": "Dividing by a decimal", "tags": ["decimals"], "advice": "
See step.
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "What's $\\var{dividend}$ divided by $\\var{divisor}$?
\nAnswer: $\\var{dividend}$ divided by $\\var{divisor}$ = [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{answer}", "minValue": "{answer}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "We want to find $\\frac {\\var{dividend}} {\\var{divisor}}$
\n$\\var{divisor} $ has $\\var{numdp1}$ number(s) after the decimal point.
\nSo we need to move the decimal point $\\var{numdp1}$ place(s) to the right to turn it into a whole number.
\nSo we have to multiply $\\var{divisor} $ by $\\var{powerOfTen}$
\nIf we multiply the bottom of the fraction by $\\var{powerOfTen}$, we'll have to multiply the top by $\\var{powerOfTen}$, too.
\nThat will give us $\\frac {\\var{dividendredux}} {\\var{basedivisor}}$ = ?
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": [], "statement": "Try this without using a calculator.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"basedividend": {"definition": "random(0..3)*10 + random(0..3)+ random(0..5 except 0) * 0.1", "templateType": "anything", "group": "Ungrouped variables", "name": "basedividend", "description": ""}, "divisor": {"definition": "baseDivisor*10^(-numdp1)", "templateType": "anything", "group": "Ungrouped variables", "name": "divisor", "description": ""}, "poweroften": {"definition": "10^numdp1", "templateType": "anything", "group": "Ungrouped variables", "name": "poweroften", "description": ""}, "dividendredux": {"definition": "dividend*10^numdp1", "templateType": "anything", "group": "Ungrouped variables", "name": "dividendredux", "description": ""}, "numdp1": {"definition": "random(1..3)", "templateType": "anything", "group": "Ungrouped variables", "name": "numdp1", "description": ""}, "basedivisor": {"definition": "random(1..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "basedivisor", "description": ""}, "answer": {"definition": "dividend / divisor", "templateType": "anything", "group": "Ungrouped variables", "name": "answer", "description": ""}, "dividend": {"definition": "baseDividend * baseDivisor", "templateType": "anything", "group": "Ungrouped variables", "name": "dividend", "description": ""}}, "metadata": {"description": "Practice of dividing by a decimal. This should be solvable without using a calculator.
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}]}], "contributors": [{"name": "Rob Cade", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/70/"}]}