// Numbas version: finer_feedback_settings {"name": "Very small answer for a number entry part", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Very small answer for a number entry part", "tags": [], "metadata": {"description": "

Shows how the \"decimal\" data type can represent very small numbers with more precision than the default \"number\" data type.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"min": {"name": "min", "group": "Ungrouped variables", "definition": "dec(\"1e-300\")", "description": "

The minimum accepted number. The decimal data type is much better at storing very small numbers.

", "templateType": "anything", "can_override": false}, "max": {"name": "max", "group": "Ungrouped variables", "definition": "dec(\"2.22e-16\")", "description": "

The maximum accepted number. The decimal data type is much better at storing very small numbers.

", "templateType": "anything", "can_override": false}, "nmin": {"name": "nmin", "group": "Ungrouped variables", "definition": "min as \"number\"", "description": "

The minimum accepted value, converted to the \"number\" data type. It's indistinguishable from zero.

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["min", "max", "nmin"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [{"variables": [{"name": "min", "value": "dec(\"1e-300\")"}, {"name": "max", "value": "dec(\"0.000000000000000222\")"}, {"name": "nmin", "value": "0"}], "name": "1e-100 is correct", "answer": {"valid": true, "value": "1e-100", "empty": false}, "notes": [{"name": "mark", "expected": {"value": "nothing", "messages": [{"op": "add_credit", "credit": 1, "message": "Your answer is correct.\n\nYou were awarded 1 mark.", "reason": "correct", "credit_change": "positive"}], "warnings": [], "error": "", "valid": true, "credit": 1}}]}, {"variables": [{"name": "min", "value": "dec(\"1e-300\")"}, {"name": "max", "value": "dec(\"0.000000000000000222\")"}, {"name": "nmin", "value": "0"}], "name": "0e+0 is incorrect", "answer": {"valid": true, "value": "0e+0", "empty": false}, "notes": [{"name": "mark", "expected": {"value": "nothing", "messages": [{"op": "add_credit", "credit": 0, "message": "Your answer is incorrect.", "reason": "incorrect", "credit_change": "negative"}], "warnings": [], "error": "", "valid": true, "credit": 0}}]}], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Write any number between {formatnumber(min,\"scientific\")} and {formatnumber(max,\"scientific\")}.

", "minValue": "min", "maxValue": "max", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["scientific"], "correctAnswerStyle": "scientific"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}