// Numbas version: exam_results_page_options {"name": "Hannah's copy of Scientific notation: scientific notation to large numbers", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "rulesets": {}, "functions": {"spacenumber": {"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] : \"\");", "type": "string", "parameters": [["n", "number"]], "language": "javascript"}}, "name": "Hannah's copy of Scientific notation: scientific notation to large numbers", "statement": "

Write the following numbers in decimal notation.

", "parts": [{"type": "gapfill", "prompt": "

$\\var{dec1}\\times 10^\\var{pow1}$ = [[0]]

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

$\\var{dec2}\\times 10^\\var{pow2}$ = [[0]]

", "showFeedbackIcon": true, "gaps": [{"type": "numberentry", "correctAnswerFraction": false, "scripts": {}, "marks": 1, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "minValue": "{q2}", "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "allowFractions": false, "showFeedbackIcon": true, "maxValue": "{q2}", "showCorrectAnswer": true, "variableReplacements": []}], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "marks": 0, "scripts": {}}], "preamble": {"css": "", "js": ""}, "ungrouped_variables": ["dec1", "pow1", "q1", "dec2", "pow2", "q2"], "extensions": [], "advice": "", "tags": [], "variables": {"dec2": {"name": "dec2", "description": "", "templateType": "anything", "definition": "random(1.1..9.9#0.001)", "group": "Ungrouped variables"}, "q1": {"name": "q1", "description": "", "templateType": "anything", "definition": "precround(dec1*10^pow1,0)", "group": "Ungrouped variables"}, "dec1": {"name": "dec1", "description": "", "templateType": "anything", "definition": "random(1.1..9.9#0.01)", "group": "Ungrouped variables"}, "q2": {"name": "q2", "description": "", "templateType": "anything", "definition": "precround(dec2*10^pow2,0)", "group": "Ungrouped variables"}, "pow1": {"name": "pow1", "description": "", "templateType": "anything", "definition": "random(2..6)", "group": "Ungrouped variables"}, "pow2": {"name": "pow2", "description": "", "templateType": "anything", "definition": "random(4..8)", "group": "Ungrouped variables"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "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/"}]}