// Numbas version: exam_results_page_options {"name": "Face, Place and Actual Value (3 digit integers in base random(2..9))", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"prompt": "
Please enter the face value of the following digits from the base $\\var{b}$ number $\\var{int}$ in the gaps below.
\n\nDigit | \n$\\var{hundredsF}$ | \n$\\var{tensF}$ | \n$\\var{units}$ | \n
Face Value | \n[[0]] | \n[[1]] | \n[[2]] | \n
Please enter the place value of the following digits from the base $\\var{b}$ number $\\var{int}$ in the gaps below.
\n\nDigit | \n$\\var{hundredsF}$ | \n$\\var{tensF}$ | \n$\\var{units}$ | \n
Place Value | \n[[0]] | \n[[1]] | \n[[2]] | \n
Please enter the actual value of the following digits from the base $\\var{b}$ number $\\var{int}$ in the gaps below.
\n\nDigit | \n$\\var{hundredsF}$ | \n$\\var{tensF}$ | \n$\\var{units}$ | \n
Actual Value | \n[[0]] | \n[[1]] | \n[[2]] | \n
Hence the base $\\var{b}$ number $\\var{int}$ is equal to [[0]] in base 10.
", "gaps": [{"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "valueinbase10", "notationStyles": ["plain", "en", "si-en"], "maxValue": "valueinbase10", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}], "showFeedbackIcon": true, "marks": 0, "type": "gapfill", "showCorrectAnswer": true, "variableReplacements": [], "scripts": {}, "variableReplacementStrategy": "originalfirst"}], "preamble": {"css": "", "js": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"int": {"name": "int", "description": "", "definition": "latex(join(listOfDigits,'')+'_\\\\var\\{btext\\}')", "group": "Ungrouped variables", "templateType": "anything"}, "units": {"name": "units", "description": "", "definition": "listOfDigits[2]", "group": "Ungrouped variables", "templateType": "anything"}, "tensA": {"name": "tensA", "description": "", "definition": "tensF*b", "group": "Ungrouped variables", "templateType": "anything"}, "tensF": {"name": "tensF", "description": "", "definition": "listOfDigits[1]", "group": "Ungrouped variables", "templateType": "anything"}, "hundredsA": {"name": "hundredsA", "description": "", "definition": "hundredsF*b^2", "group": "Ungrouped variables", "templateType": "anything"}, "btext": {"name": "btext", "description": "", "definition": "switch(b=2,'two', b=3, 'three', b=4, 'four', b=5, 'five', b=6, 'six', b=7,'seven', b=8, 'eight','nine')", "group": "Ungrouped variables", "templateType": "anything"}, "valueinbase10": {"name": "valueinbase10", "description": "", "definition": "hundredsA+tensA+units", "group": "Ungrouped variables", "templateType": "anything"}, "b": {"name": "b", "description": "", "definition": "random(2..9)", "group": "Ungrouped variables", "templateType": "anything"}, "otherDigits": {"name": "otherDigits", "description": "don't want repeated digits unless we really need to (binary)
", "definition": "if(b=2,shuffle(0..b-1)[0..2],shuffle(0..b-1 except hundredsF)[0..2])", "group": "try this", "templateType": "anything"}, "listOfDigits": {"name": "listOfDigits", "description": "", "definition": "[hundredsF]+otherDigits", "group": "try this", "templateType": "anything"}, "hundredsF": {"name": "hundredsF", "description": "", "definition": "random(1..b-1)", "group": "try this", "templateType": "anything"}}, "advice": "a) The face value of a digit is simply the digit itself. It is all about what the digit looks like.
\nFor example, the face value of $2$ in the base $5$ number $1234_{\\text{five}}$ is just $2$.
\nb) The place value of a digit is the 'value' of the 'column' it is written in. It is all about where the digit is. Place values are always powers of the base.
\nPlace values are always powers of the base. Recall in base $10$ we have a
c) The actual value of a digit is the face value times the place value. It is all about what that digit actually adds/brings to the number, what it is actually worth or what it actually represents.
\nFor example, the actual value of the digit $2$ in the number $1234_{\\text{five}}$ is $2\\times 5^2=50$ (the $2$ in $1234_{\\text{five}}$ actually stands for $50$).
", "extensions": [], "functions": {}, "metadata": {"description": "Integers in bases from 2 to 9 and converting them to base 10.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "variable_groups": [{"name": "try this", "variables": ["hundredsF", "otherDigits", "listOfDigits"]}], "tags": [], "ungrouped_variables": ["b", "int", "hundredsA", "tensF", "tensA", "units", "valueinbase10", "btext"], "name": "Face, Place and Actual Value (3 digit integers in base random(2..9))", "rulesets": {}, "statement": "In our usual number
In the base $\\var{b}$ system we only have $\\var{b}$ digits ($0$ to $\\var{b-1}$) and the place values are based on powers of $\\var{b}$.
", "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}