// Numbas version: exam_results_page_options {"name": "Scientific notation 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"pow2": {"group": "Ungrouped variables", "templateType": "anything", "name": "pow2", "definition": "random(4..8)", "description": ""}, "pow3": {"group": "Ungrouped variables", "templateType": "anything", "name": "pow3", "definition": "random(-6..-3)", "description": ""}, "dec1": {"group": "Ungrouped variables", "templateType": "anything", "name": "dec1", "definition": "random(1.1..9.9#0.01)", "description": ""}, "q3": {"group": "Ungrouped variables", "templateType": "anything", "name": "q3", "definition": "precround(dec3*10^pow3,8)", "description": ""}, "pow1": {"group": "Ungrouped variables", "templateType": "anything", "name": "pow1", "definition": "random(2..6)", "description": ""}, "q1": {"group": "Ungrouped variables", "templateType": "anything", "name": "q1", "definition": "precround(dec1*10^pow1,0)", "description": ""}, "q2": {"group": "Ungrouped variables", "templateType": "anything", "name": "q2", "definition": "precround(dec2*10^pow2,0)", "description": ""}, "dec3": {"group": "Ungrouped variables", "templateType": "anything", "name": "dec3", "definition": "random(1.1..9.9#0.01)", "description": ""}, "dec2": {"group": "Ungrouped variables", "templateType": "anything", "name": "dec2", "definition": "random(1.1..9.9#0.001)", "description": ""}}, "rulesets": {}, "variable_groups": [], "extensions": [], "name": "Scientific notation 1", "statement": "

Write the following numbers using Scientific Notation, i.e. in the form $a \\times 10^b$:

", "ungrouped_variables": ["dec1", "pow1", "q1", "dec2", "pow2", "q2", "dec3", "q3", "pow3"], "parts": [{"customMarkingAlgorithm": "", "marks": 0, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "type": "gapfill", "extendBaseMarkingAlgorithm": true, "prompt": "

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

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

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

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

{q3} = [[0]]$\\times 10$ [[1]]

", "showCorrectAnswer": true, "variableReplacements": [], "scripts": {}, "gaps": [{"customMarkingAlgorithm": "", "minValue": "{dec3}", "correctAnswerFraction": false, "marks": 1, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "type": "numberentry", "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "maxValue": "{dec3}", "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "showCorrectAnswer": true, "variableReplacements": [], "scripts": {}, "mustBeReduced": false, "unitTests": []}, {"customMarkingAlgorithm": "", "minValue": "{pow3}", "correctAnswerFraction": false, "marks": 1, "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "type": "numberentry", "correctAnswerStyle": "plain", "mustBeReducedPC": 0, "maxValue": "{pow3}", "extendBaseMarkingAlgorithm": true, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "showCorrectAnswer": true, "variableReplacements": [], "scripts": {}, "mustBeReduced": false, "unitTests": []}], "unitTests": [], "sortAnswers": false}], "tags": [], "advice": "", "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] : \"\");", "parameters": [["n", "number"]], "language": "javascript"}}, "preamble": {"css": "", "js": ""}, "type": "question", "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}, {"name": "Gareth Woods", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/978/"}]}]}], "contributors": [{"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}, {"name": "Gareth Woods", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/978/"}]}