// Numbas version: exam_results_page_options {"name": "Hannah's copy of Scientific notation: large numbers to scientific notation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "extensions": [], "preamble": {"css": "", "js": ""}, "tags": [], "functions": {"spacenumber": {"type": "string", "definition": "var parts=n.toString().split(\".\");\n if(parts[1] && parts[1].length<2) {\n parts[1]+='0';\n }\n return parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, \" \") + (parts[1] ? \", \" + parts[1] : \"\");", "language": "javascript", "parameters": [["n", "number"]]}}, "parts": [{"showFeedbackIcon": true, "customMarkingAlgorithm": "", "gaps": [{"showFeedbackIcon": true, "mustBeReduced": false, "customMarkingAlgorithm": "", "correctAnswerFraction": false, "minValue": "{dec1}", "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "allowFractions": false, "showCorrectAnswer": true, "type": "numberentry", "mustBeReducedPC": 0, "scripts": {}, "maxValue": "{dec1}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "unitTests": [], "variableReplacements": []}, {"showFeedbackIcon": true, "mustBeReduced": false, "customMarkingAlgorithm": "", "correctAnswerFraction": false, "minValue": "{pow1}", "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "allowFractions": false, "showCorrectAnswer": true, "type": "numberentry", "mustBeReducedPC": 0, "scripts": {}, "maxValue": "{pow1}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "unitTests": [], "variableReplacements": []}], "sortAnswers": false, "extendBaseMarkingAlgorithm": true, "marks": 0, "showCorrectAnswer": true, "type": "gapfill", "scripts": {}, "prompt": "

{spacenumber(q1)} = [[0]]$\\times 10$ [[1]]

", "variableReplacementStrategy": "originalfirst", "unitTests": [], "variableReplacements": []}, {"showFeedbackIcon": true, "customMarkingAlgorithm": "", "gaps": [{"showFeedbackIcon": true, "mustBeReduced": false, "customMarkingAlgorithm": "", "correctAnswerFraction": false, "minValue": "{dec2}", "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "allowFractions": false, "showCorrectAnswer": true, "type": "numberentry", "mustBeReducedPC": 0, "scripts": {}, "maxValue": "{dec2}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "unitTests": [], "variableReplacements": []}, {"showFeedbackIcon": true, "mustBeReduced": false, "customMarkingAlgorithm": "", "correctAnswerFraction": false, "minValue": "{pow2}", "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "allowFractions": false, "showCorrectAnswer": true, "type": "numberentry", "mustBeReducedPC": 0, "scripts": {}, "maxValue": "{pow2}", "correctAnswerStyle": "plain", "variableReplacementStrategy": "originalfirst", "unitTests": [], "variableReplacements": []}], "sortAnswers": false, "extendBaseMarkingAlgorithm": true, "marks": 0, "showCorrectAnswer": true, "type": "gapfill", "scripts": {}, "prompt": "

{spacenumber(q2)} = [[0]]$\\times 10$ [[1]] 

", "variableReplacementStrategy": "originalfirst", "unitTests": [], "variableReplacements": []}], "ungrouped_variables": ["dec1", "pow1", "q1", "dec2", "pow2", "q2"], "variables": {"dec1": {"definition": "random(1.1..9.9#0.01)", "templateType": "anything", "name": "dec1", "group": "Ungrouped variables", "description": ""}, "pow2": {"definition": "random(4..8)", "templateType": "anything", "name": "pow2", "group": "Ungrouped variables", "description": ""}, "pow1": {"definition": "random(2..6)", "templateType": "anything", "name": "pow1", "group": "Ungrouped variables", "description": ""}, "q1": {"definition": "precround(dec1*10^pow1,0)", "templateType": "anything", "name": "q1", "group": "Ungrouped variables", "description": ""}, "q2": {"definition": "precround(dec2*10^pow2,0)", "templateType": "anything", "name": "q2", "group": "Ungrouped variables", "description": ""}, "dec2": {"definition": "random(1.1..9.9#0.001)", "templateType": "anything", "name": "dec2", "group": "Ungrouped variables", "description": ""}}, "rulesets": {}, "name": "Hannah's copy of Scientific notation: large numbers to scientific notation", "statement": "

Write the following numbers in scientific notation.

", "variable_groups": [], "advice": "", "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": ""}, "type": "question", "contributors": [{"name": "Hannah Bartholomew", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/530/"}]}]}], "contributors": [{"name": "Hannah Bartholomew", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/530/"}]}