// Numbas version: finer_feedback_settings {"name": "Multiplying decimals", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["num1", "num2", "basenum2", "basenum1", "totaldp", "numdp2", "numdp1", "baseproductstr", "answer"], "name": "Multiplying decimals", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
See step.
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "What's $\\var{Num1}$ X $\\var{Num2}$?
\nAnswer: $\\var{Num1}$ X $\\var{Num2}$ = [[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": "$\\var{Num1} $ has $\\var{numdp1}$ number(s) after the decimal point.
\n$\\var{Num2} $ has $\\var{numdp2}$ number(s) after the decimal point.
\nThere are $\\var{totaldp}$ numbers after the decimal point in total.
\nSo just multiply $\\var{baseNum1}$ by $\\var{baseNum2}$ = $\\var{baseProductStr}$, and move the decimal point back $\\var{totaldp}$ places.
\n ", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": [], "statement": "Try this without a calculator.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"num1": {"definition": "basenum1*10^(-numdp1)", "templateType": "anything", "group": "Ungrouped variables", "name": "num1", "description": ""}, "num2": {"definition": "basenum2*10^(-numdp2)", "templateType": "anything", "group": "Ungrouped variables", "name": "num2", "description": ""}, "basenum2": {"definition": "random(1,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "basenum2", "description": ""}, "basenum1": {"definition": "random(0,1,2,3)*100 + random(0,1,2,3)*10+ random(0..3 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "basenum1", "description": ""}, "totaldp": {"definition": "numdp1 + numdp2", "templateType": "anything", "group": "Ungrouped variables", "name": "totaldp", "description": ""}, "numdp2": {"definition": "random(1,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "numdp2", "description": ""}, "numdp1": {"definition": "random(1,2)", "templateType": "anything", "group": "Ungrouped variables", "name": "numdp1", "description": ""}, "baseproductstr": {"definition": "baseNum1*baseNum2 + \".0\"", "templateType": "anything", "group": "Ungrouped variables", "name": "baseproductstr", "description": ""}, "answer": {"definition": "Num1*Num2", "templateType": "anything", "group": "Ungrouped variables", "name": "answer", "description": ""}}, "metadata": {"description": "Practice of multiplying 2 decimal numbers.
", "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/"}]}