// Numbas version: exam_results_page_options {"name": "Ask for significand and exponent of a number in scientific notation separately", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"significand": {"name": "significand", "description": "", "definition": "random(1..10#0.001 except 10)*random(-1,1)", "templateType": "anything", "group": "Ungrouped variables"}, "exponent": {"name": "exponent", "description": "", "definition": "random(-100..100 except 0)", "templateType": "anything", "group": "Ungrouped variables"}}, "statement": "

This question shows how to ask for a number in scientific notation, by asking for the significand and exponent separately.

", "variable_groups": [], "name": "Ask for significand and exponent of a number in scientific notation separately", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

This question shows how to ask for a number in scientific notation, by asking for the significand and exponent separately and using a custom marking algorithm in the gap-fill part to put the two pieces together.

\n

Answers not in standard form, i.e. with a significand not in $[1,10)$, are accepted but given partial marks.

"}, "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"sortAnswers": false, "extendBaseMarkingAlgorithm": false, "scripts": {}, "variableReplacementStrategy": "originalfirst", "marks": 0, "useCustomName": false, "type": "gapfill", "showCorrectAnswer": true, "prompt": "

Write $\\var{significand} \\times 10^\\var{exponent}$.

\n

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