// Numbas version: exam_results_page_options {"name": "Pete's copy of Binary to Decimal Worksheet", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"showCorrectAnswer": false, "extendBaseMarkingAlgorithm": true, "allowFractions": false, "showFeedbackIcon": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b6}+{b5}*2+{b4}*4+{b3}*8", "variableReplacementStrategy": "originalfirst", "marks": "2", "correctAnswerStyle": "plain", "unitTests": [], "prompt": "

Convert the number $\\var{b3}\\var{b4}\\var{b5}\\var{b6}$ to decimal.

", "mustBeReduced": false, "customMarkingAlgorithm": "", "type": "numberentry", "scripts": {}, "variableReplacements": [], "correctAnswerFraction": false, "minValue": "{b6}+{b5}*2+{b4}*4+{b3}*8"}, {"showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "allowFractions": false, "showFeedbackIcon": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b5}*1+{b4}*2+{b3}*4+{b2}*8+{b1}*16", "variableReplacementStrategy": "originalfirst", "marks": "2", "correctAnswerStyle": "plain", "unitTests": [], "prompt": "

Convert the number $\\var{b1}\\var{b2}\\var{b3}\\var{b4}\\var{b5}$ to decimal.

", "mustBeReduced": false, "customMarkingAlgorithm": "", "type": "numberentry", "scripts": {}, "variableReplacements": [], "correctAnswerFraction": false, "minValue": "{b5}*1+{b4}*2+{b3}*4+{b2}*8+{b1}*16"}, {"showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "allowFractions": false, "showFeedbackIcon": true, "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "maxValue": "{b8}*1+{b7}*2+{b6}*4+{b5}*8+{b4}*16+{b3}*32+{b2}*64+{b1}*128", "variableReplacementStrategy": "originalfirst", "marks": "2", "correctAnswerStyle": "plain", "unitTests": [], "prompt": "

Convert the number $\\var{b1}\\var{b2}\\var{b3}\\var{b4}\\var{b5}\\var{b6}\\var{b7}\\var{b8}$ to decimal.

", "mustBeReduced": false, "customMarkingAlgorithm": "", "type": "numberentry", "scripts": {}, "variableReplacements": [], "correctAnswerFraction": false, "minValue": "{b8}*1+{b7}*2+{b6}*4+{b5}*8+{b4}*16+{b3}*32+{b2}*64+{b1}*128"}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Converting Binary to Decimal

\n

rebelmaths

"}, "advice": "", "statement": "", "variables": {"b7": {"definition": "random(0..1#1)", "templateType": "randrange", "name": "b7", "group": "Ungrouped variables", "description": ""}, "b4": {"definition": "random(0..1#1)", "templateType": "randrange", "name": "b4", "group": "Ungrouped variables", "description": ""}, "b8": {"definition": "random(0..1#1)", "templateType": "randrange", "name": "b8", "group": "Ungrouped variables", "description": ""}, "b1": {"definition": "random(0..1#1)", "templateType": "randrange", "name": "b1", "group": "Ungrouped variables", "description": ""}, "b3": {"definition": "random(0..1#1)", "templateType": "randrange", "name": "b3", "group": "Ungrouped variables", "description": ""}, "b2": {"definition": "random(0..1 except b3)", "templateType": "anything", "name": "b2", "group": "Ungrouped variables", "description": ""}, "b6": {"definition": "random(0..1#1)", "templateType": "randrange", "name": "b6", "group": "Ungrouped variables", "description": ""}, "b5": {"definition": "random(0..1 except b6)", "templateType": "anything", "name": "b5", "group": "Ungrouped variables", "description": ""}, "a": {"definition": "random(1..20#1)", "templateType": "randrange", "name": "a", "group": "Ungrouped variables", "description": ""}}, "functions": {}, "tags": [], "rulesets": {}, "ungrouped_variables": ["a", "b1", "b2", "b3", "b4", "b5", "b6", "b7", "b8"], "variablesTest": {"maxRuns": 100, "condition": ""}, "variable_groups": [], "preamble": {"css": "", "js": ""}, "type": "question", "name": "Pete's copy of Binary to Decimal Worksheet", "extensions": [], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}, {"name": "David Copeland", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3334/"}, {"name": "Pete Dwyer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3440/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}, {"name": "David Copeland", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3334/"}, {"name": "Pete Dwyer", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3440/"}]}