// Numbas version: finer_feedback_settings {"name": "Subtracting 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", "ans1", "num3", "num4", "ans2", "num5", "num6", "ans3", "num7", "num8", "ans4"], "name": "Subtracting Decimals", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
There is no advice for this question.
", "rulesets": {}, "parts": [{"prompt": "What's $\\var{num1} - \\var{num2} $?
\nPlease give your answer with exactly 1 decimal place.
\nAnswer: $\\var{num1} - \\var{num2} =$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "1", "maxValue": "ans1", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "ans1", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "What's $\\var{num3} - \\var{num4} $?
\nPlease give your answer with exactly 2 decimal places.
\nAnswer: $\\var{num3} - \\var{num4} =$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "ans2", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "ans2", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "What's $\\var{num5} - \\var{num6} $?
\nPlease give your answer with exactly 3 decimal places.
\nAnswer: $\\var{num5} - \\var{num6} =$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "ans3", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "ans3", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "What's $\\var{num7} - \\var{num8} $?
\nPlease give your answer with exactly 3 decimal places.
\nAnswer: $\\var{num7} - \\var{num8} =$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "ans4", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "ans4", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "Practice of subtracting decimals.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"num4": {"definition": "random(1..3)+random(1..3)/10 +random(1..5)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "num4", "description": ""}, "num5": {"definition": "random(6..9)+random(1..5)/100 +random(1..5)/1000", "templateType": "anything", "group": "Ungrouped variables", "name": "num5", "description": ""}, "num6": {"definition": "random(1..5)+random(1..5)/100 +random(1..5)/1000", "templateType": "anything", "group": "Ungrouped variables", "name": "num6", "description": ""}, "num7": {"definition": " random(5..9)+random(1..5)/10 +random(1..5)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "num7", "description": ""}, "num1": {"definition": "random(4..7)+random(4..7)/10 ", "templateType": "anything", "group": "Ungrouped variables", "name": "num1", "description": ""}, "num2": {"definition": "num1-random(1..3)+random(1..3)/10", "templateType": "anything", "group": "Ungrouped variables", "name": "num2", "description": ""}, "num3": {"definition": "random(4..5)+random(1..5)/10 +random(1..5)/100", "templateType": "anything", "group": "Ungrouped variables", "name": "num3", "description": ""}, "ans1": {"definition": "num1-num2", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ans2": {"definition": "num3-num4", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "ans3": {"definition": "num5-num6", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": ""}, "num8": {"definition": "random(1..4)+random(1..5)/10 +random(1..5)/100+random(1..5)/1000", "templateType": "anything", "group": "Ungrouped variables", "name": "num8", "description": ""}, "ans4": {"definition": "num7-num8", "templateType": "anything", "group": "Ungrouped variables", "name": "ans4", "description": ""}}, "metadata": {"description": "4 questions, of increasing complexity, on subtracting decimals.
", "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/"}]}