// Numbas version: exam_results_page_options {"name": "Decimals (place value, addition, subtraction, multiplication)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "ungrouped_variables": ["pron", "place", "dec1", "dec2", "dec3", "dec4", "dec5", "dec6", "dec7", "dec8", "dec9", "dec10", "dec11", "poweroften"], "advice": "", "preamble": {"js": "", "css": ""}, "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

old question, way too many things in one question! I have made better questions out of each part now.

"}, "parts": [{"unitTests": [], "maxMarks": "1", "type": "1_n_2", "matrix": ["1", 0], "scripts": {}, "marks": 0, "stepsPenalty": "1", "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "displayColumns": 0, "steps": [{"scripts": {}, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "prompt": "

Say each digit individually after the decimal point.

\n

\n
\n

\n

It makes no sense to call 0.500, \"zero point five hundred\" since that sounds a lot bigger than \"zero point five\", or \"zero point fifty\", but these are all equal to the same number! Pronouncing decimals like this is misleading and doesn't help with your intuition. 

\n

\n
\n

\n

That is, $\\var{pron[0]}$ is read as {pron[1]}.

", "unitTests": [], "showFeedbackIcon": true, "marks": 0, "type": "information", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "customMarkingAlgorithm": ""}], "prompt": "

The decimal $\\var{pron[0]}$ can be pronounced as

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "displayType": "radiogroup", "shuffleChoices": true, "choices": ["

{pron[1]}

", "

{pron[2]}

"], "distractors": ["", "Please see the steps"], "minMarks": 0}, {"unitTests": [], "maxMarks": "1", "type": "1_n_2", "matrix": [0, 0, "1"], "scripts": {}, "marks": 0, "stepsPenalty": "1", "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "displayColumns": 0, "steps": [{"scripts": {}, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "prompt": "

The decimal 0.1 is also known as \"one tenth\" (notice you need ten of them to make a whole).

\n

The decimal 0.01 is also known as \"one hundredth\" (notice you need a hundred of them to make a whole).

\n

The decimal 0.001 is also known as \"one thousandth\" (notice you need a thousand of them to make a whole).

\n

\n
\n

\n

That is, the digit $9$ in the decimal $\\var{place[0]}$ represents {place[3]}.

", "unitTests": [], "showFeedbackIcon": true, "marks": 0, "type": "information", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "customMarkingAlgorithm": ""}], "prompt": "

The digit $9$ in the decimal $\\var{place[0]}$ represents  

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "displayType": "radiogroup", "shuffleChoices": true, "choices": ["

{place[1]}

", "

{place[2]}

", "

{place[3]}

"], "distractors": ["", "", ""], "minMarks": 0}, {"unitTests": [], "type": "gapfill", "scripts": {}, "marks": 0, "stepsPenalty": "2", "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "gaps": [{"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec1+dec2", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec1+dec2", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec3+dec4", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec3+dec4", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec5-dec6", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec5-dec6", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec3-dec4", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec3-dec4", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}], "steps": [{"scripts": {}, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "prompt": "

Line the decimals up so that the decimal points are above each other and fill in any blanks with zeroes if need be.

\n

\n
\n

\n

Perform the addition or subtraction as you would if there wasn't a decimal point there. If the decimals don't have the same number of digits put zeros on the end of the shorter one until they are the same length. For example, to evaluate $0.123+0.23$ our working could look like:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
0.123+
0.230
0.353
\n

\n

Recall, when you add numbers like this you work right to left so you can 'carry' if need be. For example, to evaluate $0.543+0.559$ we set up our working like this:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
0.543+
0.559
.
\n

We add the far right column (the thousandths column) and get 12. We carry the 1 and write down the 2 in the far right column:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
0.54l3+
0.559
.2
\n

Now we deal with the next column (the hundredths column), we had a 4 and a 5 but we carried a 1 so that counts too, to give a total of 10. We carry the 1 into the next column and write the 0 in the hundredths column:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
0.5l4l3+
0.559
.02
\n

Now we deal with the next column (the tenths column), we had a 5 and a 5, but we carried a 1 so we have a total of 11. We carry the 1 into the next column and write the 1 in the tenths column:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
0l.5l4l3+
0.559
.102
\n

Now we deal with the next column (the units column), here we have zeros and a 1, so we write the total in the units column to get our final answer of 1.102:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
0l.5l4l3+
0.559
1.102
\n

\n

\n

", "unitTests": [], "showFeedbackIcon": true, "marks": 0, "type": "information", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "customMarkingAlgorithm": ""}], "prompt": "

Evaluate the following (without the use of a calculator):

\n

$\\var{dec1}+\\var{dec2}=$[[0]]

\n

$\\var{dec3}+\\var{dec4}=$[[1]]

\n

$\\var{dec5}-\\var{dec6}=$[[2]]

\n

$\\var{dec3}-\\var{dec4}=$[[3]]

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}, {"unitTests": [], "type": "gapfill", "scripts": {}, "marks": 0, "stepsPenalty": "1.5", "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "gaps": [{"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec3*poweroften[0]*10", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec3*poweroften[0]*10", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec4*poweroften[1]", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec4*poweroften[1]", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec5/poweroften[2]*10", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec5/poweroften[2]*10", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec6/poweroften[3]", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec6/poweroften[3]", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}], "steps": [{"scripts": {}, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "prompt": "

Multiplying or dividing by a power of ten (a 1 followed by 0s) moves the decimal point. Multiplying moves the decimal point to make the number bigger (to the right). Dividing moves the decimal to make the number smaller (to the left). The number of 0s indicates the number of places you should move the decimal place.

\n

\n
\n

\n

For example:

\n\n

", "unitTests": [], "showFeedbackIcon": true, "marks": 0, "type": "information", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "customMarkingAlgorithm": ""}], "prompt": "

Evaluate the following:

\n

$\\var{dec3*10}\\times \\var{poweroften[0]}=$[[0]]

\n

$\\var{dec4}\\times\\var{poweroften[1]}=$[[1]]

\n

$\\var{dec5*10}\\div\\var{poweroften[2]}=$[[2]]

\n

$\\var{dec6}\\div\\var{poweroften[3]}=$[[3]]

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}, {"unitTests": [], "type": "gapfill", "scripts": {}, "marks": 0, "stepsPenalty": "1.5", "variableReplacements": [], "customMarkingAlgorithm": "", "showCorrectAnswer": true, "gaps": [{"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec10*dec11", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec10*dec11", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec7*dec8", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec7*dec8", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"unitTests": [], "mustBeReduced": false, "type": "numberentry", "scripts": {}, "marks": 1, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "correctAnswerFraction": false, "customMarkingAlgorithm": "", "showCorrectAnswer": true, "allowFractions": false, "minValue": "dec2*dec9", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "maxValue": "dec2*dec9", "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}], "steps": [{"scripts": {}, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "prompt": "

Remove the decimal points, do the multiplication of whole numbers, then put the decimal place in the answer so that the number of decimal places in the question and the answer are the same.

\n

\n
\n

\n

For example, in evaluating $0.03\\times 0.4$ we can do the multiplication $3\\times 4$, which is $12$, and then write our answer so it has three decimal places in it (there are two decimal places in $0.03$ and one decimal place in $0.4$, so there are a total of three decimal places needed in the answer). That is, $0.03\\times 0.4=0.012$.

\n

\n
\n

\n

Note in evaluating $0.5\\times 0.4$ we do $5\\times 4$ which gives 20, then we write the answer with two decimal places (since there are two decimal places in the question), this gives us $0.20$ which is often written as $0.2$.

\n

\n
\n

\n

When the decimals have more digits, for example $0.234\\times 0.45$ we would set up the multiplication as follows 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
234$\\times$
45
\n

and follow the usual algorithm for multiplying whole numbers. Doing so gives us the number 10530 but we have to write the answer so it has five decimal places (since the question has that many), so we have $0.234\\times 0.45=0.10530$ which we would normally write as $0.1053$.

\n

", "unitTests": [], "showFeedbackIcon": true, "marks": 0, "type": "information", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "customMarkingAlgorithm": ""}], "prompt": "

Evaluate the following:

\n

$\\var{dec10}\\times\\var{dec11}=$[[0]]

\n

$\\var{dec7}\\times\\var{dec8}=$[[1]]

\n

$\\var{dec2}\\times\\var{dec9}=$[[2]]

", "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "sortAnswers": false}], "tags": ["Decimals", "decimals"], "variable_groups": [], "statement": "", "name": "Decimals (place value, addition, subtraction, multiplication)", "variables": {"dec8": {"group": "Ungrouped variables", "name": "dec8", "templateType": "anything", "definition": "random(list(0.11..0.99#0.01))", "description": ""}, "dec10": {"group": "Ungrouped variables", "name": "dec10", "templateType": "anything", "definition": "random(list(0.1..0.9#0.1))", "description": ""}, "dec6": {"group": "Ungrouped variables", "name": "dec6", "templateType": "anything", "definition": "random(list(0.111..0.499#0.001))", "description": ""}, "dec5": {"group": "Ungrouped variables", "name": "dec5", "templateType": "anything", "definition": "random(list(0.500..0.999#0.001))", "description": ""}, "dec7": {"group": "Ungrouped variables", "name": "dec7", "templateType": "anything", "definition": "random(list(0.11..0.99#0.01))", "description": ""}, "pron": {"group": "Ungrouped variables", "name": "pron", "templateType": "anything", "definition": "random([0.12, \"zero point one two\", \"zero point twelve\"], [0.34, \"zero point three four\", \"zero point thirty four\"], [0.081, \"zero point zero eight one\", \"zero point zero eighty one\"], [0.50, \"zero point five zero\", \"zero point fifty\"], [0.77, \"zero point seven seven\", \"zero point seventy seven\"], [0.379, \"zero point three seven nine\", \"zero point three hundred and seventy nine\"])", "description": ""}, "dec1": {"group": "Ungrouped variables", "name": "dec1", "templateType": "anything", "definition": "random(list(0.111..0.999#0.001))", "description": ""}, "dec4": {"group": "Ungrouped variables", "name": "dec4", "templateType": "anything", "definition": "random(list(0.011..0.099#0.0001))", "description": ""}, "place": {"group": "Ungrouped variables", "name": "place", "templateType": "anything", "definition": "random([random(0..8)*0.1+random(0..8)*0.01+0.009, \"9 tenths\", \"9 hundredths\", \"9 thousandths\" ],[random(0..8)*0.1+random(0..8)*0.001+0.09, \"9 tenths\", \"9 thousandths\", \"9 hundredths\"],[random(0..8)*0.01+random(0..8)*0.001+0.9, \"9 thousandths\", \"9 hundredths\", \"9 tenths\"])", "description": ""}, "dec3": {"group": "Ungrouped variables", "name": "dec3", "templateType": "anything", "definition": "random(list(0.111..0.999#0.001))", "description": ""}, "dec2": {"group": "Ungrouped variables", "name": "dec2", "templateType": "anything", "definition": "random(list(0.111..0.999#0.001))", "description": ""}, "poweroften": {"group": "Ungrouped variables", "name": "poweroften", "templateType": "anything", "definition": "shuffle([10,100,1000,10000])", "description": ""}, "dec11": {"group": "Ungrouped variables", "name": "dec11", "templateType": "anything", "definition": "random(list(0.1..0.9#0.1))", "description": ""}, "dec9": {"group": "Ungrouped variables", "name": "dec9", "templateType": "anything", "definition": "random(list(0.11..0.99#0.01))", "description": ""}}, "variablesTest": {"condition": "", "maxRuns": 100}, "extensions": [], "functions": {}, "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/"}]}