// Numbas version: finer_feedback_settings {"name": "Simon's copy of Q4 Scientific notation to decimal", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "statement": "

Answer the following.

", "preamble": {"css": "", "js": ""}, "tags": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "ungrouped_variables": ["num1", "num2", "num3", "num4", "po", "ans1", "ans2", "ans3", "ans4", "ans5", "po1", "po2", "ans21", "ans22", "num21", "pow", "pow1", "pow2", "pow3", "a1", "a2", "a3", "a4", "a5", "a11", "a12", "a13", "a14", "a15", "advicedir0", "advicedir1"], "rulesets": {}, "parts": [{"prompt": "

Write each of the following as a whole number or decimal:

\n

i) $\\var{num1} \\times 10^\\var{po[0]}$

\n

[[0]]

\n

ii) $\\var{num2} \\times 10^\\var{po1}$

\n

[[1]]

\n

iii) $\\var{num3[0]} \\times 10^\\var{po[2]}$

\n

[[2]]

\n

iv) $\\var{num4} \\times 10^\\var{po2}$

\n

[[3]]

\n

v) $\\var{num3[1]} \\times 10^\\var{po[4]}$

\n

[[4]]

", "scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{ans1}+0.00001", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{ans1}-0.00001", "allowFractions": false}, {"minValue": "{ans2}-0.00001", "correctAnswerFraction": false, "mustBeReduced": false, "mustBeReducedPC": 0, "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "correctAnswerStyle": "plain", "precisionType": "dp", "type": "numberentry", "scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "unitTests": [], "showPrecisionHint": false, "extendBaseMarkingAlgorithm": true, "maxValue": "{ans2}+0.00001", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "precisionPartialCredit": 0, "precision": "7", "marks": 1, "allowFractions": false, "strictPrecision": false, "showFeedbackIcon": true}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{ans3}+0.00001", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{ans3}-0.00001", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{ans4}+0.00001", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{ans4}-0.00001", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{ans5}+0.00001", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{ans5}-0.00001", "allowFractions": false}], "showFeedbackIcon": true, "sortAnswers": false, "marks": 0, "type": "gapfill"}, {"prompt": "

Write each of the following in Scientific Notation:

\n

i) $\\var{a1}$           

\n

[[0]]$\\times$ 10^ [[1]]

\n

ii) $\\var{a2}$   

\n

[[2]]$\\times$ 10^[[3]]

\n

iii) $\\var{a3}$   

\n

[[4]]$\\times$ 10^[[5]]

\n

iv) $\\var{a4}$     

\n

[[6]]$\\times$ 10^[[7]]

\n

v) $\\var{a5}$    

\n

[[8]]$\\times$ 10^[[9]]

", "scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "unitTests": [], "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{num21[0]}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{num21[0]}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{pow[0]}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{pow[0]}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{num21[1]}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{num21[1]}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{pow1}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{pow1}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{num21[2]}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{num21[2]}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{pow2}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{pow2}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{num21[3]}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{num21[3]}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{pow3}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{pow3}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{num21[4]}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{num21[4]}", "allowFractions": false}, {"scripts": {}, "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "unitTests": [], "extendBaseMarkingAlgorithm": true, "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{pow[4]}", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "minValue": "{pow[4]}", "allowFractions": false}], "showFeedbackIcon": true, "sortAnswers": false, "marks": 0, "type": "gapfill"}], "advice": "

Part 1

\n

Move the decimal point \"the power number\" of times to the right for positive power and to the left for negative power:

\n

$\\var{num1} \\times 10^\\var{po[0]} = \\var{ans1}$ (move the decimal point $\\var{po[0]}$ places to the $\\var{advicedir0}$)

\n

$\\var{num2} \\times 10^\\var{po1} = \\var{ans2}$ (move the decimal point $\\var{po[1]}$ places to the $\\var{advicedir1}$)

\n

Part 2

\n

Count the number of times the decimal point has to be moved to get only one number to the left of the decimal point, this count becomes the power on the $\\times 10$.

\n

If the decimal point is moved to the left the power number is positive and if it is moved to the right the power is negative:

\n

$\\var{a11} = \\var{num21[0]} \\times 10^\\var{pow[0]}$

\n

", "functions": {}, "metadata": {"description": "

Scientific Notation

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"a13": {"name": "a13", "group": "Ungrouped variables", "definition": "(precround(a3,10))", "templateType": "anything", "description": ""}, "po": {"name": "po", "group": "Ungrouped variables", "definition": "repeat(random(1..5),6)", "templateType": "anything", "description": ""}, "num21": {"name": "num21", "group": "Ungrouped variables", "definition": "shuffle(2.001..8.999#0.001)[0..5]", "templateType": "anything", "description": ""}, "num1": {"name": "num1", "group": "Ungrouped variables", "definition": "random(7.1..8.9#0.1 except 8)", "templateType": "anything", "description": ""}, "po1": {"name": "po1", "group": "Ungrouped variables", "definition": "-1*po[1]", "templateType": "anything", "description": ""}, "a14": {"name": "a14", "group": "Ungrouped variables", "definition": "(precround(a4,10))", "templateType": "anything", "description": ""}, "ans1": {"name": "ans1", "group": "Ungrouped variables", "definition": "num1*10^po[0]", "templateType": "anything", "description": ""}, "pow2": {"name": "pow2", "group": "Ungrouped variables", "definition": "-1*pow[2]", "templateType": "anything", "description": ""}, "a15": {"name": "a15", "group": "Ungrouped variables", "definition": "(precround(a5,10))", "templateType": "anything", "description": ""}, "ans4": {"name": "ans4", "group": "Ungrouped variables", "definition": "num4*10^-po[3]", "templateType": "anything", "description": ""}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "num21[1]*(10^pow1)", "templateType": "anything", "description": ""}, "a3": {"name": "a3", "group": "Ungrouped variables", "definition": "num21[2]*(10^pow2)", "templateType": "anything", "description": ""}, "a4": {"name": "a4", "group": "Ungrouped variables", "definition": "num21[3]*10^pow3", "templateType": "anything", "description": ""}, "advicedir1": {"name": "advicedir1", "group": "Ungrouped variables", "definition": "switch(po1>0,\"right, filling in with 0s if necessary\",po1<0,\"left\")", "templateType": "anything", "description": ""}, "num3": {"name": "num3", "group": "Ungrouped variables", "definition": "shuffle(7.001..8.009#0.001)[0..2]", "templateType": "anything", "description": ""}, "num4": {"name": "num4", "group": "Ungrouped variables", "definition": "random(5.25..7.75#0.25 except 6 except 7)", "templateType": "anything", "description": ""}, "pow": {"name": "pow", "group": "Ungrouped variables", "definition": "repeat(random(1..6),5)", "templateType": "anything", "description": ""}, "a11": {"name": "a11", "group": "Ungrouped variables", "definition": "(precround(a1,10))", "templateType": "anything", "description": ""}, "ans21": {"name": "ans21", "group": "Ungrouped variables", "definition": "1", "templateType": "anything", "description": ""}, "po2": {"name": "po2", "group": "Ungrouped variables", "definition": "-1*po[3]", "templateType": "anything", "description": ""}, "ans2": {"name": "ans2", "group": "Ungrouped variables", "definition": "num2*10^-po[1]", "templateType": "anything", "description": ""}, "a12": {"name": "a12", "group": "Ungrouped variables", "definition": "(precround(a2,10))", "templateType": "anything", "description": ""}, "a5": {"name": "a5", "group": "Ungrouped variables", "definition": "num21[4]*10^pow[4]", "templateType": "anything", "description": ""}, "pow3": {"name": "pow3", "group": "Ungrouped variables", "definition": "-1*pow[3]", "templateType": "anything", "description": ""}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "num21[0]*10^pow[0]", "templateType": "anything", "description": ""}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "random(3..9)", "templateType": "anything", "description": ""}, "pow1": {"name": "pow1", "group": "Ungrouped variables", "definition": "-1*pow[1]", "templateType": "anything", "description": ""}, "advicedir0": {"name": "advicedir0", "group": "Ungrouped variables", "definition": "switch(po[0]>0,\"right, filling in with 0s if necessary\",po[0]<0,\"left\")", "templateType": "anything", "description": ""}, "ans22": {"name": "ans22", "group": "Ungrouped variables", "definition": "2", "templateType": "anything", "description": ""}, "ans3": {"name": "ans3", "group": "Ungrouped variables", "definition": "num3[0]*10^po[2]", "templateType": "anything", "description": ""}, "ans5": {"name": "ans5", "group": "Ungrouped variables", "definition": "num3[1]*10^po[4]", "templateType": "anything", "description": ""}}, "name": "Simon's copy of Q4 Scientific notation to decimal", "variable_groups": [], "type": "question", "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}