// 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

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Digit$\\var{hundredsF}$$\\var{tensF}$$\\var{units}$
Face Value[[0]][[1]][[2]]
", "gaps": [{"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "hundredsF", "notationStyles": ["plain", "en", "si-en"], "maxValue": "hundredsF", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "tensF", "notationStyles": ["plain", "en", "si-en"], "maxValue": "tensF", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "units", "notationStyles": ["plain", "en", "si-en"], "maxValue": "units", "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"}, {"prompt": "

Please enter the place value of the following digits from the base $\\var{b}$ number $\\var{int}$ in the gaps below.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Digit$\\var{hundredsF}$$\\var{tensF}$$\\var{units}$
Place Value[[0]][[1]][[2]]
", "gaps": [{"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "b^2", "notationStyles": ["plain", "en", "si-en"], "maxValue": "b^2", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "b", "notationStyles": ["plain", "en", "si-en"], "maxValue": "b", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "1", "notationStyles": ["plain", "en", "si-en"], "maxValue": "1", "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"}, {"prompt": "

Please enter the actual value of the following digits from the base $\\var{b}$ number $\\var{int}$ in the gaps below.

\n

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Digit$\\var{hundredsF}$$\\var{tensF}$$\\var{units}$
Actual Value[[0]][[1]][[2]]
", "gaps": [{"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "hundredsA", "notationStyles": ["plain", "en", "si-en"], "maxValue": "hundredsA", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "tensA", "notationStyles": ["plain", "en", "si-en"], "maxValue": "tensA", "type": "numberentry", "variableReplacements": [], "showFeedbackIcon": true, "mustBeReduced": false, "scripts": {}, "correctAnswerStyle": "plain", "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst"}, {"correctAnswerFraction": false, "allowFractions": false, "mustBeReducedPC": 0, "marks": 1, "minValue": "units", "notationStyles": ["plain", "en", "si-en"], "maxValue": "units", "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"}, {"prompt": "

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.

\n

For example, the face value of $2$ in the base $5$ number $1234_{\\text{five}}$ is just $2$.

\n

b) 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.

\n

Place values are always powers of the base. Recall in base $10$ we have a thousands column, a hundreds column, a tens column and a units/ones column. The place value for something in the thousands column is $1000=10^3$, the place value for something in the hundreds column is $100=10^2$, the place value for something in the tens column is $10=10^1$ and the place value for something in the units/ones column is $1=10^0$. However, in base $5$, for example,  

\n\n

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.

\n

For 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 system we only have ten digits ($0$ to $9$). We call this the base $10$ system. The place value of numbers are based on the powers of 10.

\n

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/"}]}