// 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": {"showfrontpage": false, "preventleave": false, "allowregen": true}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "tags": [], "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.

"}, "statement": "

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

", "ungrouped_variables": ["significand", "exponent"], "advice": "", "variables": {"exponent": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(-100..100 except 0)", "name": "exponent", "description": ""}, "significand": {"group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..10#0.001 except 10)*random(-1,1)", "name": "significand", "description": ""}}, "functions": {}, "parts": [{"prompt": "

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

\n

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