// Numbas version: finer_feedback_settings {"name": "Numbers III: Basic Operations of Decimals", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "aa", "bb", "cc", "dd", "ee", "ff", "gg", "hh"], "name": "Numbers III: Basic Operations of Decimals", "tags": [], "advice": "

Operations of decimals inculdes addition, subtraction, multiplication and division. These basic calculations depend on decimal place and decimals are added or subtracted based on decimal places. Decimal places are calculated from right to left and help with all operations.

\n

1. For addition of decimals: Line up the decimals, fill in any needed zero, and add the columns.

\n

2.For subtraction of decimals:  Line up the decimals, fill in any needed zero, and subtract the columns.

\n
3. For multiplication of decimals: Multiply the numbers, then count the number of decimal place  
\n
\n
\n
\n

4. For division of decimals:

\n

a)If the divisor (the number we are dividing by) is not a whole number, move the decimal point to right to make it a whole number and move the decimal point in dividend (the number we are dividing by the divisor) the same number of places.

\n

b)Divide as usual. Keep dividing until the answer terminates or repeats.

\n

c)Put the decimal point directly above the decimal point in the dividend.

\n

 
For more help. check this video: 

\n

\n

             

\n
\n
\n
\n
\n
\n
", "rulesets": {}, "parts": [{"stepsPenalty": 0, "prompt": "

Solve the following:

\n

$\\var{a} + \\var{b}$ = [[0]]

\n

$\\var{c} + \\var{d}$ = [[1]]

\n

$\\var{f} + \\var{g}$ = [[2]]

\n

$\\var{h} + \\var{j}$ = [[3]]

\n

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "a+b", "minValue": "a+b", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "c+d", "minValue": "c+d", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "f+g", "minValue": "f+g", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "h+j", "minValue": "h+j", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

To add decimals, follow these steps:

\n\n
\n

Example: Add 1.452 to 1.

\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\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\n\n\n\n
Line the decimals up:  1.452
  +1.3
    
\"Pad\" with zeros:  1.452
  +1.300
    
Add:  1.452
  +1.300
   2.752
\n

\n
\n
\n
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "

Solve the following:

\n

$\\var{k} - \\var{l}$ = [[0]]

\n

$\\var{m} - \\var{n}$ = [[1]]

\n

$\\var{o} - \\var{p}$ = [[2]]

\n

$\\var{q} - \\var{r}$ = [[3]]

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "k-l", "minValue": "k-l", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "m-n", "minValue": "m-n", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "o-p", "minValue": "o-p", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "q-r", "minValue": "q-r", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

To subtract decimals, follow these steps:

\n\n
\n

Example: Subtract 0.03 from 1.1

\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\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\n\n\n\n
Line the decimals up:  1.1
  0.03 
    
\"Pad\" with zeros:  1.10
  0.03
    
Subtract:  1.10
  0.03
   1.07
\n
\n
\n
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "

Solve the following:

\n

$\\var{s} \\times \\var{t}$ = [[0]]

\n

$\\var{u} \\times \\var{v}$ = [[1]]

\n

$\\var{w} \\times \\var{x}$ = [[2]]

\n

$\\var{y} \\times \\var{z}$ = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "s*t", "minValue": "s*t", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "u*v", "minValue": "u*v", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "w*x", "minValue": "w*x", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "y*z", "minValue": "y*z", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

To multiply decimals, follow these steps:

\n\n

In other words, just count up how many numbers are after the decimal point in both numbers you are multiplying, then the answer should have that many numbers after its decimal point.

\n

 

\n
\n

Example: Multiply 0.03 by 1.1

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n
start with:
\n
 0.03 × 1.1
\n
multiply without decimal points:
\n
 3 × 11 = 33
\n
0.03 has 2 decimal places,
and 1.1 has 1 decimal place,
so the answer has 3 decimal places:
\n
 0.033
\n
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}, {"stepsPenalty": 0, "prompt": "

Solve the following:

\n

$\\var{aa} \\div \\var{bb}$ = [[0]]

\n

$\\var{cc} \\div \\var{dd}$ = [[1]]

\n

$\\var{ee} \\div \\var{ff}$ = [[2]]

\n

$\\var{gg} \\div \\var{hh}$ = [[3]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "aa/bb", "minValue": "aa/bb", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "cc/dd", "minValue": "cc/dd", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "ee/ff", "minValue": "ee/ff", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "gg/hh", "minValue": "gg/hh", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": true, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

To divide decimal numbers:

\n
    \n
  1. If the divisor (the number we are dividing by) is not a whole number, move the decimal point to right to make it a whole number and move the decimal point in dividend (the number we are dividing by the divisor) the same number of places.

  2. \n
  3. Divide as usual. Keep dividing until the answer terminates or repeats.

  4. \n
  5. Put the decimal point directly above the decimal point in the dividend.
  6. \n
\n

Example: Divide 6.4 by 0.4

\n

We are not dividing by a whole number, so we need to move the decimal point so we are dividing by a whole number:

\n
\n
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
move 1
6.4$\\rightarrow$64
0.4$\\rightarrow$4
move 1
\n
\n
\n

6.4/0.4 is exactly the same as 64/4,
as we moved the decimal point of both numbers.

\n

Now we can calculate:

\n

64 / 4 = 16

\n

So the answer is:

\n

6.4 / 0.4 = 16

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "marks": 0, "scripts": {}, "showCorrectAnswer": true, "type": "gapfill"}], "extensions": [], "statement": "

These short questions will help you with addition, subtraction, multiplication and division of decimals.

\n

In the following questions, solve the given operation on decimals:

\n

(For further guidance please use this video: https://www.youtube.com/watch?v=9zaj5CldQzs.)

\n

Note the following key terms: Divisor (the number we are dividing by); Dividend (the number we are dividing by the divisor); Numerator (top part of fraction); Denominator (Bottom part of fraction).

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"aa": {"definition": "random(3..20)*bb //random number divisible by bb", "templateType": "anything", "group": "Ungrouped variables", "name": "aa", "description": ""}, "cc": {"definition": "random(3..20)*dd //random number divisible by dd", "templateType": "anything", "group": "Ungrouped variables", "name": "cc", "description": ""}, "gg": {"definition": "random(3..20)*hh //random number divisible by hh", "templateType": "anything", "group": "Ungrouped variables", "name": "gg", "description": ""}, "ee": {"definition": "random(3..20)*ff //random number divisible by ff", "templateType": "anything", "group": "Ungrouped variables", "name": "ee", "description": ""}, "bb": {"definition": "random(0..5#0.1 except 0) //random one decimal number", "templateType": "anything", "group": "Ungrouped variables", "name": "bb", "description": ""}, "dd": {"definition": "random(0..20#0.01 except 0) //random two decimal number", "templateType": "anything", "group": "Ungrouped variables", "name": "dd", "description": ""}, "hh": {"definition": "random(0..1#0.001 except 0) //random one decimal number", "templateType": "anything", "group": "Ungrouped variables", "name": "hh", "description": ""}, "ff": {"definition": "random(0..20#0.001 except 0) //random one decimal number", "templateType": "anything", "group": "Ungrouped variables", "name": "ff", "description": ""}, "a": {"definition": "random(0..1#0.001 except 0) //random decimal between 0 and 1", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(0..5#0.001 except 0) //random 2 digit decimal between 0 and 5", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "random(0..1#0.001 except 0) //random decimal between 0 and 1", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(0..5#0.001 except 0) //random 3 digit decimal between 0 and 5", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "g": {"definition": "random(0..20#0.001 except 0)\n", "templateType": "anything", "group": "Ungrouped variables", "name": "g", "description": ""}, "f": {"definition": "random(0..20#0.01 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "f", "description": ""}, "h": {"definition": "random(10..50#0.001 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "h", "description": ""}, "k": {"definition": "random(0..1#0.001 except 0) //random decimal between 0 and 1", "templateType": "anything", "group": "Ungrouped variables", "name": "k", "description": ""}, "j": {"definition": "random(10..50#0.01 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "j", "description": ""}, "m": {"definition": "random(0..5#0.001 except 0) //random 2 digit decimal between 0 and 5", "templateType": "anything", "group": "Ungrouped variables", "name": "m", "description": ""}, "l": {"definition": "random(0..k#0.001 except [0,k]) //random decimal between 0 and 1", "templateType": "anything", "group": "Ungrouped variables", "name": "l", "description": ""}, "o": {"definition": "random(0..20#0.01 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "o", "description": ""}, "n": {"definition": "random(0..m#0.001 except [0,m]) //random 3 digit decimal between 0 and 5", "templateType": "anything", "group": "Ungrouped variables", "name": "n", "description": ""}, "q": {"definition": "random(10..50#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "q", "description": ""}, "p": {"definition": "random(0..o#0.001 except [0,o])", "templateType": "anything", "group": "Ungrouped variables", "name": "p", "description": ""}, "s": {"definition": "random(0..20#0.1 except 0) //random one decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "s", "description": ""}, "r": {"definition": "random(10..q#0.001 except q)", "templateType": "anything", "group": "Ungrouped variables", "name": "r", "description": ""}, "u": {"definition": "random(0..20#0.1 except 0) //random one decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "u", "description": ""}, "t": {"definition": "random(0..20#0.1 except 0) //random one decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}, "w": {"definition": "random(0..20#0.01 except 0) //random two decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "w", "description": ""}, "v": {"definition": "random(0..20#0.01 except 0) //random two decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "v", "description": ""}, "y": {"definition": "random(0..20#0.01 except 0) //random two decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "y", "description": ""}, "x": {"definition": "random(0..20#0.01 except 0) //random two decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "x", "description": ""}, "z": {"definition": "random(0..20#0.001 except 0) //random three decimal value between 0 and 20", "templateType": "anything", "group": "Ungrouped variables", "name": "z", "description": ""}}, "metadata": {"description": "

This test will help you with addition, subtraction, multiplication and division of decimals.

\n

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}]}]}], "contributors": [{"name": "Nasir Firoz Khan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/909/"}]}