Course Test · School: elementary and middle

Grades 3–5: multiplication, fractions and decimals: RatMath answers

The same twenty exercises, answered with RatMath Core and the Shelf libraries only. The code below was run when this page was built; its output is shown as printed, and compared with the independent answer.

Agrees 20

Libraries used here: core, numtheory. In this code each library is in scope under its own name (linalg.det, stats.tTest), and Core's names (R, Rational, …) are in scope directly.

  1. 1.Multi-digit multiplicationAgrees
    47×3647 \times 36
    Independent answer
    1692
    RatMath code
    R`47 * 36`
    Output
    1692
  2. 2.Long divisionAgrees
    1008÷241008 \div 24
    Independent answer
    42
    RatMath code
    R`1008 / 24`
    Output
    42
  3. 3.Division with remainderAgrees
    Divide 345 by 7. Give the quotient and the remainder.
    Independent answer
    49 remainder 2.
    RatMath code
    R`345`.divmod(R`7`)
    Output
    [49, 2]
  4. 4.Equivalent fractionsAgrees
    Fill in the box: 34=□20\dfrac34 = \dfrac{\square}{20}.
    Independent answer
    15.
    RatMath code
    R`3/4 * 20`
    Output
    15
  5. 5.Comparing fractionsAgrees
    Which is larger, 58\tfrac58 or 35\tfrac35?
    Independent answer
    58\tfrac58, because 58=2540>2440=35\tfrac58 = \tfrac{25}{40} > \tfrac{24}{40} = \tfrac35.
    RatMath code
    R`5/8`.greaterThan(R`3/5`)
    Output
    true
  6. 6.Adding unlike fractionsAgrees
    23+34\dfrac23 + \dfrac34. Write the answer as a mixed number.
    Independent answer
    812+912=1712=1512\tfrac{8}{12} + \tfrac{9}{12} = \tfrac{17}{12} = 1\tfrac{5}{12}.
    RatMath code
    R`2/3 + 3/4`.toMixedString()
    Output
    1..5/12
    RatMath writes the mixed number 15121\tfrac{5}{12} as 1..5/12, its own notation for mixed numbers.
  7. 7.Subtracting mixed numbersAgrees
    314−1563\tfrac14 - 1\tfrac56
    Independent answer
    15121\tfrac{5}{12}
    RatMath code
    R`3..1/4 - 1..5/6`.toMixedString()
    Output
    1..5/12
  8. 8.Fraction of a numberAgrees
    What is 35\tfrac35 of 15?
    Independent answer
    9.
    RatMath code
    R`3/5 * 15`
    Output
    9
  9. 9.Multiplying fractionsAgrees
    23×45\dfrac23 \times \dfrac45
    Independent answer
    815\tfrac{8}{15}
    RatMath code
    R`2/3 * 4/5`
    Output
    8/15
  10. 10.Dividing by a unit fractionAgrees
    How many one-third cups of flour are in 4 cups?
    Independent answer
    4÷13=124 \div \tfrac13 = 12.
    RatMath code
    R`4 / (1/3)`
    Output
    12
  11. 11.Measurement conversionAgrees
    A trail is 3.5 km long. How many metres is that?
    Independent answer
    3500 m.
    RatMath code
    units.Q("3.5 km").to("m")
    Output
    3500 m
  12. 12.Adding decimalsAgrees
    3.45+12.73.45 + 12.7
    Independent answer
    16.15
    RatMath code
    R`3.45 + 12.7`.toDecimal()
    Output
    16.15
  13. 13.Multiplying decimalsAgrees
    2.4×0.352.4 \times 0.35
    Independent answer
    0.84
    RatMath code
    R`2.4 * 0.35`.toDecimal()
    Output
    0.84
  14. 14.Dividing decimalsAgrees
    7.2÷0.087.2 \div 0.08
    Independent answer
    90 (720÷8720 \div 8).
    RatMath code
    R`7.2 / 0.08`
    Output
    90
  15. 15.Decimals as fractionsAgrees
    Write 0.375 as a fraction in lowest terms.
    Independent answer
    3751000=38\tfrac{375}{1000} = \tfrac38.
    RatMath code
    R`0.375`
    Output
    3/8
  16. 16.Order of operationsAgrees
    3+4×(6−2)2÷83 + 4 \times (6 - 2)^2 \div 8
    Independent answer
    3+4×16÷8=3+8=113 + 4 \times 16 \div 8 = 3 + 8 = 11.
    RatMath code
    R`3 + 4 * (6 - 2)^2 / 8`
    Output
    11
  17. 17.Prime or compositeAgrees
    Is 51 prime or composite?
    Independent answer
    Composite: 51=3×1751 = 3 \times 17.
    RatMath code
    [numtheory.isPrime(51n), numtheory.factorInteger(51n)]
    Output
    [false, [{ prime: 3n, exponent: 1 }, { prime: 17n, exponent: 1 }]]
  18. 18.FactorsAgrees
    List all the factors of 36.
    Independent answer
    1, 2, 3, 4, 6, 9, 12, 18, 36.
    RatMath code
    numtheory.divisors(36n)
    Output
    [1n, 2n, 3n, 4n, 6n, 9n, 12n, 18n, 36n]
  19. 19.Area and perimeterAgrees
    A rectangular garden is 7127\tfrac12 feet by 4 feet. Find its area and its perimeter.
    Independent answer
    Area 30 ft230\ \text{ft}^2; perimeter 2(712+4)=232(7\tfrac12 + 4) = 23 ft.
    RatMath code
    const L = units.Q("7..1/2 ft"), W = units.Q("4 ft");
    [L.multiply(W), L.add(W).multiply(R`2`)]
    Output
    [30 ft^2, 23 ft]
  20. 20.VolumeAgrees
    A box is 5 cm long, 3 cm wide and 4 cm tall. What is its volume?
    Independent answer
    60 cm360\ \text{cm}^3.
    RatMath code
    units.Q("5 cm").multiply(units.Q("3 cm")).multiply(units.Q("4 cm"))
    Output
    60 cm^3