// Numbas version: exam_results_page_options {"name": "Powers of ten practice", "metadata": {"description": "", "licence": "None specified"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", ""], "questions": [{"name": "Powers of ten practice_easy_1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "preamble": {"css": "", "js": ""}, "tags": [], "advice": "

The best way to approach this sort of calculation is to follow the following rules; 

\n

1) Remember that 10x $\\times$ 10y = 10(x+y)

\n

2) Remember that 10x $\\div$ 10y =10(x-y)

\n

so you can answer this question by collecting the exponents, then following the above rules, which will give you the exponent for your final answer; 

\n

\\[(\\var{randomiser1})-(\\var{randomiser2})=\\var{log_result}\\]

\n

....which leads to a final answer of; 

\n

\\[=10^{\\var{log_result}}\\]

", "variables": {"num1": {"group": "Ungrouped variables", "name": "num1", "description": "", "templateType": "anything", "definition": "10^randomiser1"}, "num2": {"group": "Ungrouped variables", "name": "num2", "description": "", "templateType": "anything", "definition": "10^randomiser2"}, "randomiser1": {"group": "Ungrouped variables", "name": "randomiser1", "description": "", "templateType": "anything", "definition": "random(1..20)"}, "randomiser3": {"group": "Ungrouped variables", "name": "randomiser3", "description": "", "templateType": "anything", "definition": "random(0..40)"}, "log_result": {"group": "Ungrouped variables", "name": "log_result", "description": "", "templateType": "anything", "definition": "log(result)"}, "exponent_result": {"group": "Ungrouped variables", "name": "exponent_result", "description": "", "templateType": "anything", "definition": "result/(10^log_result)"}, "num3": {"group": "Ungrouped variables", "name": "num3", "description": "", "templateType": "anything", "definition": "10^randomiser3"}, "num4": {"group": "Ungrouped variables", "name": "num4", "description": "", "templateType": "anything", "definition": "10^randomiser4"}, "result": {"group": "Ungrouped variables", "name": "result", "description": "", "templateType": "anything", "definition": "(num1)/(num2)"}, "randomiser4": {"group": "Ungrouped variables", "name": "randomiser4", "description": "", "templateType": "anything", "definition": "random(1..18)"}, "randomiser2": {"group": "Ungrouped variables", "name": "randomiser2", "description": "", "templateType": "anything", "definition": "random(2..34)"}}, "ungrouped_variables": ["randomiser1", "num1", "randomiser2", "num2", "randomiser3", "num3", "randomiser4", "num4", "result", "log_result", "exponent_result"], "parts": [{"variableReplacements": [], "customMarkingAlgorithm": "", "unitTests": [], "gaps": [{"variableReplacements": [], "customMarkingAlgorithm": "", "mustBeReducedPC": 0, "allowFractions": false, "correctAnswerStyle": "plain", "maxValue": "{log_result}", "type": "numberentry", "unitTests": [], "scripts": {}, "minValue": "{log_result}", "marks": 1, "extendBaseMarkingAlgorithm": true, "mustBeReduced": false, "correctAnswerFraction": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"]}], "type": "gapfill", "scripts": {}, "marks": 0, "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "showFeedbackIcon": true, "prompt": "

The result of; 

\n

$\\frac{10^{\\var{randomiser1}}}{10^{\\var{randomiser2}}}$ 

\n

is;

\n

10[[0]]

", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "", "variable_groups": [], "functions": {}, "type": "question"}, {"name": "Powers of ten practice 2a", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}], "statement": "", "variable_groups": [], "preamble": {"js": "", "css": ""}, "functions": {}, "parts": [{"variableReplacements": [], "extendBaseMarkingAlgorithm": true, "unitTests": [], "customMarkingAlgorithm": "", "sortAnswers": false, "scripts": {}, "showCorrectAnswer": true, "gaps": [{"variableReplacements": [], "maxValue": "{log_result}", "correctAnswerStyle": "plain", "allowFractions": false, "customMarkingAlgorithm": "", "unitTests": [], "scripts": {}, "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "correctAnswerFraction": false, "marks": 1, "showFeedbackIcon": true, "type": "numberentry", "minValue": "{log_result}"}], "prompt": "

The result of; 

\n

$\\frac{10^{\\var{randomiser1}}\\times10^{\\var{randomiser3}}}{10^{\\var{randomiser2}}\\times10^{\\var{randomiser4}}}$ 

\n

is;

\n

10[[0]]

", "variableReplacementStrategy": "originalfirst", "marks": 0, "showFeedbackIcon": true, "type": "gapfill"}], "tags": [], "ungrouped_variables": ["randomiser1", "num1", "randomiser2", "num2", "randomiser3", "num3", "randomiser4", "num4", "result", "log_result", "exponent_result"], "variables": {"num3": {"description": "", "name": "num3", "definition": "10^randomiser3", "templateType": "anything", "group": "Ungrouped variables"}, "num4": {"description": "", "name": "num4", "definition": "10^randomiser4", "templateType": "anything", "group": "Ungrouped variables"}, "num2": {"description": "", "name": "num2", "definition": "10^randomiser2", "templateType": "anything", "group": "Ungrouped variables"}, "exponent_result": {"description": "", "name": "exponent_result", "definition": "result/(10^log_result)", "templateType": "anything", "group": "Ungrouped variables"}, "randomiser3": {"description": "", "name": "randomiser3", "definition": "random(0..40)", "templateType": "anything", "group": "Ungrouped variables"}, "log_result": {"description": "", "name": "log_result", "definition": "log(result)", "templateType": "anything", "group": "Ungrouped variables"}, "randomiser4": {"description": "", "name": "randomiser4", "definition": "random(1..18)", "templateType": "anything", "group": "Ungrouped variables"}, "randomiser2": {"description": "", "name": "randomiser2", "definition": "random(2..34)", "templateType": "anything", "group": "Ungrouped variables"}, "result": {"description": "", "name": "result", "definition": "(num1*num3)/(num2*num4)", "templateType": "anything", "group": "Ungrouped variables"}, "randomiser1": {"description": "", "name": "randomiser1", "definition": "random(1..20)", "templateType": "anything", "group": "Ungrouped variables"}, "num1": {"description": "", "name": "num1", "definition": "10^randomiser1", "templateType": "anything", "group": "Ungrouped variables"}}, "advice": "

The best way to approach this sort of calculation is to follow the following rules; 

\n

1) Remember that 10x $\\times$ 10y = 10(x+y)

\n

2) Remember that 10x $\\div$ 10y =10(x-y)

\n

so you can answer this question by collecting the exponents, then following the above rules, which will give you the exponent for your final answer; 

\n

\\[(\\var{randomiser1}+\\var{randomiser3})-(\\var{randomiser2}+\\var{randomiser4})=\\var{log_result}\\]

\n

....which leads to a final answer of; 

\n

\\[=10^{\\var{log_result}}\\]

", "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "rulesets": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "type": "question"}, {"name": "Powers of ten practice_2b", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}], "variablesTest": {"maxRuns": 100, "condition": ""}, "statement": "", "ungrouped_variables": ["randomiser1", "num1", "randomiser2", "num2", "randomiser3", "num3", "randomiser4", "num4", "result", "log_result", "exponent_result", "randomiser5"], "tags": [], "parts": [{"showCorrectAnswer": true, "variableReplacements": [], "type": "gapfill", "extendBaseMarkingAlgorithm": true, "customMarkingAlgorithm": "", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "gaps": [{"showCorrectAnswer": true, "minValue": "{log_result}", "variableReplacements": [], "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "correctAnswerStyle": "plain", "correctAnswerFraction": false, "type": "numberentry", "customMarkingAlgorithm": "", "showFeedbackIcon": true, "maxValue": "{log_result}", "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "marks": 1, "scripts": {}, "unitTests": [], "mustBeReducedPC": 0}], "marks": 0, "prompt": "

The result of; 

\n

$\\frac{(10^{\\var{randomiser1}}\\times10^{\\var{randomiser3}})^\\var{randomiser5}}{10^{\\var{randomiser2}}\\times10^{\\var{randomiser4}}}$ 

\n

is;

\n

10[[0]]

", "scripts": {}, "sortAnswers": false, "unitTests": []}], "variable_groups": [], "metadata": {"licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International", "description": ""}, "preamble": {"css": "", "js": ""}, "variables": {"num2": {"name": "num2", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "10^randomiser2"}, "randomiser1": {"name": "randomiser1", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(1..20)"}, "result": {"name": "result", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "((num1*num3)^randomiser5)/(num2*num4)"}, "randomiser4": {"name": "randomiser4", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(1..18)"}, "num1": {"name": "num1", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "10^randomiser1"}, "randomiser3": {"name": "randomiser3", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(0..40)"}, "log_result": {"name": "log_result", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "log(result)"}, "randomiser5": {"name": "randomiser5", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(-2,-1,2,3)"}, "randomiser2": {"name": "randomiser2", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "random(2..34)"}, "exponent_result": {"name": "exponent_result", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "result/(10^log_result)"}, "num3": {"name": "num3", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "10^randomiser3"}, "num4": {"name": "num4", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "10^randomiser4"}}, "rulesets": {}, "advice": "

The best way to approach this sort of calculation is to follow the following rules; 

\n

1) 10x $\\times$ 10y = 10(x+y)

\n

2) 10x $\\div$ 10y =10(x-y)

\n

3) (10x)y = 10(x$\\times$y)

\n

so you can answer this question by collecting the exponents, then following the above rules, which will give you the exponent for your final answer; 

\n

\\[((\\var{randomiser1}+\\var{randomiser3})\\times \\var{randomiser5})-(\\var{randomiser2}+\\var{randomiser4})=\\var{log_result}\\]

\n

....which leads to a final answer of; 

\n

\\[=10^{\\var{log_result}}\\]

", "functions": {}, "type": "question"}, {"name": "Powers of ten practice_3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}], "tags": [], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "statement": "", "advice": "

A good way to start is to reorganise the calculation as follows; 

\n

\\[\\frac{\\var{coeff1}\\times\\var{coeff2}}{\\var{coeff3}\\times\\var{coeff4}}\\times\\frac{10^{\\var{randomiser1}}\\times10^{\\var{randomiser2}}}{10^{\\var{randomiser3}}\\times{10^{\\var{randomiser4}}}} \\]

\n

Then you can calculate the result of the first term above; 

\n

\\[\\frac{\\var{coeff1}\\times\\var{coeff2}}{\\var{coeff3}\\times\\var{coeff4}} = \\var{coeff_result_crude}\\]

\n

and follow these rules to determine the power of ten required in the second term; 

\n

1) Remember that 10x $\\times$ 10y = 10(x+y)

\n

2) Remember that 10x $\\div$ 10y =10(x-y)

\n

collecting the exponents and following the above rules will give you the exponent of ten required in your final answer; 

\n

\\[(\\var{randomiser1}+\\var{randomiser2})-(\\var{randomiser3}+\\var{randomiser4})=\\var{log_result_crude}\\]

\n

....which leads to a final answer of; 

\n

\\[\\var{coeff_result_crude}\\times10^{\\var{log_result_crude}}\\]

\n

You should display your final answer in \"standard form\", which means that you have one digit before the decimal place as follows; 

\n

\\[\\var{coeff_result}\\times10^{\\var{log_result}}\\]

\n

but in an examination, it would not be necessary for an answer to be in standard form to be marked correct (provided the value is correct).  

\n

", "rulesets": {}, "variables": {"num3": {"name": "num3", "group": "Ungrouped variables", "definition": "10^randomiser3", "description": "", "templateType": "anything"}, "randomiser2": {"name": "randomiser2", "group": "Ungrouped variables", "definition": "random(2..34)", "description": "", "templateType": "anything"}, "coeff_result": {"name": "coeff_result", "group": "Ungrouped variables", "definition": "siground(result/(10^log_result),3)", "description": "", "templateType": "anything"}, "num4": {"name": "num4", "group": "Ungrouped variables", "definition": "10^randomiser4", "description": "", "templateType": "anything"}, "result": {"name": "result", "group": "Ungrouped variables", "definition": "(coeff1*coeff2)/(coeff3*coeff4)*((num1*num2)/(num3*num4))", "description": "", "templateType": "anything"}, "coeff_result_crude": {"name": "coeff_result_crude", "group": "Ungrouped variables", "definition": "siground((coeff1*coeff2)/(coeff3*coeff4),3)", "description": "", "templateType": "anything"}, "randomiser3": {"name": "randomiser3", "group": "Ungrouped variables", "definition": "random(0..40)", "description": "", "templateType": "anything"}, "coeff1": {"name": "coeff1", "group": "Ungrouped variables", "definition": "random(1..1000)/100", "description": "", "templateType": "anything"}, "coeff3": {"name": "coeff3", "group": "Ungrouped variables", "definition": "random(1..1000)/100", "description": "", "templateType": "anything"}, "num1": {"name": "num1", "group": "Ungrouped variables", "definition": "10^randomiser1", "description": "", "templateType": "anything"}, "coeff2": {"name": "coeff2", "group": "Ungrouped variables", "definition": "random(1..1000)/100", "description": "", "templateType": "anything"}, "log_result": {"name": "log_result", "group": "Ungrouped variables", "definition": "floor(log(result))", "description": "", "templateType": "anything"}, "num2": {"name": "num2", "group": "Ungrouped variables", "definition": "10^randomiser2", "description": "", "templateType": "anything"}, "coeff4": {"name": "coeff4", "group": "Ungrouped variables", "definition": "random(1..1000)/100", "description": "", "templateType": "anything"}, "log_result_crude": {"name": "log_result_crude", "group": "Ungrouped variables", "definition": "(randomiser1+randomiser2)-(randomiser3+randomiser4)", "description": "", "templateType": "anything"}, "randomiser1": {"name": "randomiser1", "group": "Ungrouped variables", "definition": "random(1..20)", "description": "", "templateType": "anything"}, "randomiser4": {"name": "randomiser4", "group": "Ungrouped variables", "definition": "random(1..18)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["randomiser1", "num1", "randomiser2", "num2", "randomiser3", "num3", "randomiser4", "num4", "result", "log_result", "coeff_result", "coeff1", "coeff2", "coeff3", "coeff4", "coeff_result_crude", "log_result_crude"], "variable_groups": [{"name": "Unnamed group", "variables": []}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "student_significand (The significand as the student entered it):\n parsenumber(studentanswer[0],\"en\")\n\nsignificand_size (If student's significand is written a*10^n, 1<=a<10, this is n):\n floor(log(abs(student_significand)))\n\nstudent_exponent (The exponent as the student wrote it):\n parsenumber(studentanswer[1],\"en\")\n\nnumbers_ok:\n assert(not isnan(student_significand),\n fail(\"Your significand is not a valid number.\")\n );\n assert(not isnan(student_exponent),\n fail(\"Your exponent is not a valid number.\")\n )\n\nadjusted_exponent (The exponent of the student's number, taking into account the size of their significand): \n student_exponent + significand_size\n\nadjusted_significand (The student's significand, scaled into the range 1..10):\n student_significand/(10^significand_size)\n\nsignificand_correct (Is the adjusted significand correct?):\n feedback(\"\");\n let(result,mark_part(gaps[0][\"path\"],string(adjusted_significand)),\n result[\"credit\"]=1\n )\n\nexponent_correct (Is the adjusted exponent correct?):\n feedback(\"Feedback:\");\n let(result,mark_part(gaps[1][\"path\"],string(adjusted_exponent)),\n result[\"credit\"]=1\n )\n\ncorrect:\n correctif(significand_correct and exponent_correct)\n\nmark:\n apply(significand_correct);\n apply(exponent_correct);\n apply(numbers_ok);\n apply(correct)\n\nsubmit_gaps:\n map(\n try(\n submit_part(gaps[gap_number][\"path\"],answer),\n err,\n fail(translate(\"part.gapfill.error marking gap\",[\"name\": gaps[gap_number][\"name\"], \"message\": err]))\n ),\n [gap_number,answer],\n zip(0..1,studentAnswer)\n )\n\ninterpreted_answer: [adjusted_significand, adjusted_exponent]", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The result of; 

\n

$\\frac{\\var{coeff1} \\times 10^{\\var{randomiser1}}\\times\\var{coeff2} \\times 10^{\\var{randomiser2}}}{\\var{coeff3} \\times 10^{\\var{randomiser3}}\\times\\var{coeff4} \\times 10^{\\var{randomiser4}}}$ 

\n

is;

\n

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

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{coeff_result}-{coeff_result}/50", "maxValue": "{coeff_result}+{coeff_result}/50", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{log_result}", "maxValue": "{log_result}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "contributors": [{"name": "Nick Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2416/"}], "extensions": [], "custom_part_types": [], "resources": []}