// Numbas version: exam_results_page_options {"name": "Harry's copy of Significant figures", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Harry's copy of Significant figures", "rulesets": {}, "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"decimal": {"description": "", "templateType": "anything", "name": "decimal", "group": "Ungrouped variables", "definition": "precround(random(1.11..9.99#0.01)+random(0.0051..0.0091#0.0001),4)"}, "weight2": {"description": "

2

", "templateType": "anything", "name": "weight2", "group": "Ungrouped variables", "definition": "'0'+random(60..90#10)+'.'+random(10..90#10)"}, "weight1": {"description": "

weight11weight2

", "templateType": "anything", "name": "weight1", "group": "Ungrouped variables", "definition": "random(60..90#10)+'.'+random(1..9#1)"}, "integer": {"description": "", "templateType": "anything", "name": "integer", "group": "Ungrouped variables", "definition": "random(1000..9999)"}}, "metadata": {"description": "

Counting the number of significant figures and rounding integers and decimals.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "extensions": [], "statement": "

Round the following numbers to the indicated precision.

", "ungrouped_variables": ["weight1", "weight2", "integer", "decimal"], "tags": [], "advice": "

a) All three figures shown are significant

\n

b) The leading zero is not significant, the rest of the figures are significant.

\n

\n

When we are rounding we look at the first digit that we might discard. If it is $5$ or greater we round up. If it is less than $5$ we round down.

\n

\n

c) To round to two significant figures, we look at the third significant figure to decide whether to round up or down. 

\n

d) To round to three significant figures, we look at the four significant figure to decide whether to round up or down.

", "parts": [{"variableReplacements": [], "gaps": [{"variableReplacements": [], "correctAnswerFraction": false, "minValue": "3", "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "maxValue": "3", "type": "numberentry", "mustBeReduced": false, "scripts": {}, "showCorrectAnswer": true, "allowFractions": false, "correctAnswerStyle": "plain"}], "variableReplacementStrategy": "originalfirst", "prompt": "

I weigh myself and the digital scales read {weight1} kg. How many significant figures were displayed? [[0]]

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

I weigh myself and the digital scales read {weight2} kg. How many significant figures were displayed? [[0]]

", "type": "gapfill", "showFeedbackIcon": true, "scripts": {}, "marks": 0, "showCorrectAnswer": true}, {"variableReplacements": [], "gaps": [{"variableReplacements": [], "strictPrecision": false, "precisionPartialCredit": 0, "correctAnswerFraction": false, "precision": "2", "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "precisionType": "sigfig", "maxValue": "{integer}", "minValue": "{integer}", "type": "numberentry", "mustBeReduced": false, "scripts": {}, "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain"}], "variableReplacementStrategy": "originalfirst", "prompt": "

The number {integer} rounded to two significant figures is [[0]].

", "type": "gapfill", "showFeedbackIcon": true, "scripts": {}, "marks": 0, "showCorrectAnswer": true}, {"variableReplacements": [], "gaps": [{"variableReplacements": [], "strictPrecision": true, "precisionPartialCredit": 0, "correctAnswerFraction": false, "precision": "3", "allowFractions": false, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "precisionType": "sigfig", "maxValue": "{decimal}", "minValue": "{decimal}", "type": "numberentry", "mustBeReduced": false, "scripts": {}, "showCorrectAnswer": true, "showFeedbackIcon": true, "correctAnswerStyle": "plain"}], "variableReplacementStrategy": "originalfirst", "prompt": "

The number {decimal} rounded to three significant figures is [[0]].

", "type": "gapfill", "showFeedbackIcon": true, "scripts": {}, "marks": 0, "showCorrectAnswer": true}], "functions": {}, "preamble": {"css": "", "js": ""}, "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Harry Flynn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/976/"}]}