// Numbas version: exam_results_page_options {"name": "Binary to Decimal Worksheet", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variables": {"b4": {"description": "", "templateType": "randrange", "definition": "random(0..1#1)", "name": "b4", "group": "Ungrouped variables"}, "b6": {"description": "", "templateType": "randrange", "definition": "random(0..1#1)", "name": "b6", "group": "Ungrouped variables"}, "b1": {"description": "", "templateType": "randrange", "definition": "random(0..1#1)", "name": "b1", "group": "Ungrouped variables"}, "b3": {"description": "", "templateType": "randrange", "definition": "random(0..1#1)", "name": "b3", "group": "Ungrouped variables"}, "b7": {"description": "", "templateType": "randrange", "definition": "random(0..1#1)", "name": "b7", "group": "Ungrouped variables"}, "b2": {"description": "", "templateType": "anything", "definition": "random(0..1 except b3)", "name": "b2", "group": "Ungrouped variables"}, "b8": {"description": "", "templateType": "randrange", "definition": "random(0..1#1)", "name": "b8", "group": "Ungrouped variables"}, "a": {"description": "", "templateType": "randrange", "definition": "random(1..20#1)", "name": "a", "group": "Ungrouped variables"}, "b5": {"description": "", "templateType": "anything", "definition": "random(0..1 except b6)", "name": "b5", "group": "Ungrouped variables"}}, "metadata": {"description": "

Converting Binary to Decimal

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "advice": "", "ungrouped_variables": ["a", "b1", "b2", "b3", "b4", "b5", "b6", "b7", "b8"], "preamble": {"css": "", "js": ""}, "extensions": [], "statement": "", "functions": {}, "tags": [], "name": "Binary to Decimal Worksheet", "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"maxValue": "{b6}+{b5}*2+{b4}*4+{b3}*8", "marks": "2", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "mustBeReduced": false, "extendBaseMarkingAlgorithm": true, "type": "numberentry", "showFeedbackIcon": true, "scripts": {}, "allowFractions": false, "minValue": "{b6}+{b5}*2+{b4}*4+{b3}*8", "customMarkingAlgorithm": "", "unitTests": [], "showCorrectAnswer": false, "variableReplacements": [], "prompt": "

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

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

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

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

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

"}], "rulesets": {}, "type": "question", "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/"}]}]}], "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/"}]}