// Numbas version: exam_results_page_options {"name": "steve's copy of EXAM 1 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": [{"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", "language": "javascript", "parameters": [["n", "number"]]}}, "ungrouped_variables": ["dec1", "pow1", "q1", "dec2", "pow2", "q2"], "name": "steve's copy of EXAM 1 Scientific notation: large numbers to scientific notation", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "", "rulesets": {}, "parts": [{"prompt": "

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

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{dec1}", "minValue": "{dec1}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry"}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{pow1}", "minValue": "{pow1}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "

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

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{dec2}", "minValue": "{dec2}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry"}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{pow2}", "minValue": "{pow2}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": "0.5", "type": "numberentry"}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "

Write the following numbers in scientific notation.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"q1": {"definition": "precround(dec1*10^pow1,0)", "templateType": "anything", "group": "Ungrouped variables", "name": "q1", "description": ""}, "q2": {"definition": "precround(dec2*10^pow2,0)", "templateType": "anything", "group": "Ungrouped variables", "name": "q2", "description": ""}, "pow2": {"definition": "random(4..8)", "templateType": "anything", "group": "Ungrouped variables", "name": "pow2", "description": ""}, "pow1": {"definition": "random(2..6)", "templateType": "anything", "group": "Ungrouped variables", "name": "pow1", "description": ""}, "dec1": {"definition": "random(1.1..9.9#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "dec1", "description": ""}, "dec2": {"definition": "random(1.1..9.9#0.001)", "templateType": "anything", "group": "Ungrouped variables", "name": "dec2", "description": ""}}, "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}]}], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}