Rounding Numbers Practice

Rounding Numbers Practice
Loading the math board and drawing, please wait…
2022-05-19 09:07
In collections Runden von Zahlen
This example provides an interactive exercise to help students master the skill of rounding numbers. The core mathematical concept involved is rounding. Using GeoGebra commands such as Shuffle, Sequence, and Polygon, students can generate and sort random numbers for rounding practice. Suitable for students in grades 5-6.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[Random[1, 8], i, 1, 100]) → randomNos1, {6, 4, 2, 2, 2, 6, 8, 4, 2, 8, 8, 1, 4, 3, 6, 6, 8, 5, 7, 5, 3, 5, 1, 1, 7, 6, 1, 6, 7, 4, 1, 1, 7, 7, 2, 8, 8, 6, 3, 4, 6, 2, 8, 3, 8, 6, 4, 1, 7, 2, 8, 2, 2, 8, 8, 3, 5, 2, 5, 8, 8, 8, 3, 4, 7, 2, 8, 2, 4, 7, 6, 8, 6, 1, 3, 5, 6, 7, 2, 7, 1, 8, 3, 6, 7, 3, 3, 4, 2, 5, 7, 4, 7, 2, 6, 5, 1, 8, 3, 5}
  2. Sequence(Shuffle[{1, 2, 3, 4, 5, 6, 7, 8} \ {randomNos1(i)}], i, 1, 100) → randomNos2, {{7, 8, 5, 3, 2, 1, 4}, {5, 2, 3, 6, 8, 7, 1}, {3, 4, 1, 6, 5, 7, 8}, {1, 6, 4, 8, 3, 7, 5}, {7, 8, 6, 1, 3, 4, 5}, {4, 1, 2, 5, 8, 3, 7}, {2, 3, 4, 6, 5, 1, 7}, {3, 2, 7, 6, 5, 8, 1}, {1, 6, 3, 4, 5, 8, 7}, {2, 6, 4, 7, 5, 1, 3}, {4, 5, 2, 3, 6, 7, 1}, {5, 4, 6, 2, 7, 3, 8}, {3, 8, 2, 7, 5, 1, 6}, {8, 7, 2, 4, 5, 6, 1}, {8, 5, 4, 7, 1, 3, 2}, {8, 5, 4, 2, 7, 1, 3}, {6, 2, 1, 3, 5, 4, 7}, {3, 8, 7, 6, 4, 1, 2}, {8, 6, 2, 3, 5, 1, 4}, {3, 8, 6, 7, 2, 4,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, 2, 5, 7, 4}, {7, 5, 1, 3, 4, 8, 6}, {1, 8, 7, 3, 2, 6, 5}, {5, 6, 2, 4, 1, 8, 3}, {8, 2, 7, 3, 4, 1, 5}, {6, 5, 7, 4, 2, 3, 1}, {5, 7, 3, 4, 8, 1, 2}, {7, 6, 8, 4, 3, 2, 5}, {6, 1, 8, 7, 4, 2, 5}, {3, 4, 1, 7, 6, 2, 8}, {3, 2, 7, 5, 1, 4, 8}, {3, 5, 6, 2, 4, 1, 8}, {4, 1, 5, 7, 3, 8, 6}, {8, 1, 4, 5, 6, 3, 2}, {8, 7, 6, 2, 3, 4, 5}, {7, 6, 2, 5, 3, 1, 4}, {6, 8, 1, 4, 2, 5, 7}, {1, 3, 7, 4, 8, 2, 5}, {5, 1, 3, 6, 2, 4, 8}, {4, 1, 2, 6, 5, 8, 7}, {1, 2, 5, 4, 8, 6, 7}, {7, 1, 6, 3, 5, 8, 2}, {7, 4, 3, 5, 1, 8, 6}, {2, 8, 3, 7, 4, 6, 1}, {2, 6, 4, 3, 5, 1, 8}, {5, 8, 6, 3, 2, 1, 7}, {5, 3, 8, 1, 4, 6, 2}, {1, 4, 5, 3, 6, 8, 7}, {5, 3, 2, 8, 7, 1, 4}, {8, 3, 4, 1, 7, 6, 2}, {8, 6, 2, 7, 4, 5, 3}, {5, 1, 4, 3, 6, 2, 7}, {4, 1, 8, 6, 5, 2, 7}, {6, 3, 4, 8, 1, 7, 2}}
  3. Polygon(allowedRect4, allowedRect3, allowedRect2, allowedRect1) → allowedRect, a_1, b, c, d
  4. Max(widthsOptionsR) → widthR
  5. Max(heightsOptionsR) → heightR
  6. Max(heightR, Max[heightsOptionsL]) → heightL
  7. Max(widthsOptionsL) → widthL
  8. If(isShuffleOptionsLechts, Shuffle[1…numOptionsR], 1…numOptionsR) → indizesOptionsRechts
  9. If(isShuffleOptionsLinks, Shuffle[1…numOptionsL], 1…numOptionsL) → indizesOptionsLinks
  10. Textfield(input1) → InputBox1
  11. Textfield(input2) → InputBox2
  12. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1
  13. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {5, 7, 6, 3, 10, 6, 2, 1, 4, 3, 6, 3, 4, 0, 3, 10, 5, 7, 3, 7, 6, 5, 8, 6, 4, 5, 10, 6, 3, 9, 6, 9, 9, 2, 7, 8, 7, 6, 2, 8, 9, 6, 9, 2, 7, 2, 0, 2, 3, 10, 7, 3, 2, 0, 1, 0, 4, 4, 5, 0, 3, 1, 9, 3, 7, 5, 0, 7, 8, 10, 7, 8, 10, 5, 1, 9, 9, 7, 4, 10, 6, 7, 9, 6, 7, 8, 9, 7, 2, 4, 5, 1, 10, 0, 2, 6, 8, 5, 0, 4}
  14. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  15. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {0, 8, 0, 1, 7, 1, 2, 5, 10, 7, 8, 3, 7, 7, 8, 3, 2, 8, 10, 7, 3, 3, 3, 1, 6, 9, 0, 6, 0, 8, 3, 7, 6, 0, 0, 9, 3, 3, 4, 5, 4, 8, 10, 1, 1, 9, 7, 4, 8, 8, 2, 3, 7, 0, 9, 3, 6, 9, 9, 8, 3, 9, 1, 4, 0, 2, 7, 7, 3, 8, 9, 8, 2, 0, 3, 7, 5, 3, 6, 0, 3, 1, 2, 8, 5, 8, 6, 1, 4, 5, 4, 8, 1, 5, 4, 1, 5, 7, 1, 1}
  16. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  17. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  18. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  19. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  20. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  21. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  22. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  23. Sequence(1) → positionsOptionsRechts
  24. Sequence(Element[optionsRAll, indizesOptionsRechts(i)], i, 1, numOptionsR) → optionsRActual
  25. Length(optionsRActual) → a
  26. Sequence(Element[optionsLAll, indizesOptionsLinks(i)], i, 1, numOptionsL) → optionsLActual
  27. Sequence(allOptionsL(indizesOptionsLinks(i)), i, 1, numOptionsL) → optionsL
  28. Sequence(allOptionsR(indizesOptionsLinks(i)), i, 1, numOptionsL) → optionsR
  29. Shuffle(Sequence[Shuffle[{1, 2, 3, 4, 5}], i, 1, 100]) → randomInd, {{4, 3, 1, 5, 2}, {3, 5, 4, 1, 2}, {4, 1, 5, 2, 3}, {2, 4, 1, 5, 3}, {4, 5, 2, 1, 3}, {3, 5, 2, 4, 1}, {1, 5, 4, 2, 3}, {5, 4, 3, 1, 2}, {4, 2, 5, 3, 1}, {2, 5, 1, 4, 3}, {4, 3, 1, 2, 5}, {4, 3, 1, 5, 2}, {5, 1, 3, 2, 4}, {5, 1, 2, 3, 4}, {2, 1, 4, 5, 3}, {5, 1, 2, 4, 3}, {3, 5, 4, 2, 1}, {5, 4, 3, 1, 2}, {1, 5, 3, 2, 4}, {2, 4, 1, 3, 5}, {3, 5, 2, 4, 1}, {4, 2, 3, 1, 5}, {1, 5, 4, 2, 3}, {4, 5, 3, 2, 1}, {2, 1, 5, 3, 4}, {2, 4, 1, 3, 5}, {2, 4, 5, 3, 1}, {2, 4, 1, 3, 5}, {1, 2, 4, 3, 5}, {2, 5, 3, 4, 1}, {1, 3, 4, 5, 2}, {2, 1,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 2, 3, 5}, {1, 5, 2, 3, 4}, {4, 2, 3, 1, 5}, {3, 2, 5, 1, 4}, {3, 2, 5, 1, 4}}
  30. Text(optionsLActual(1), CenterOptionL1, true, true, 0, 0) → opL1
  31. Text(optionsLActual(2), CenterOptionL2, true, true, 0, 0) → opL2
  32. Text(optionsLActual(3), CenterOptionL3, true, true, 0, 0) → opL3
  33. Text(optionsLActual(4), CenterOptionL4, true, true, 0, 0) → opL4
  34. Text(optionsLActual(5), CenterOptionL5, true, true, 0, 0) → opL5
  35. PointIn(allowedRect) → CenterOptionR1
  36. Text(optionsRActual(1), CenterOptionR1, true, true, 0, 0) → opR1
  37. Polygon(CenterOptionR1, CenterOptionR1 - (widthR / 2, heightR / 2), CenterOptionR1 + (widthR / 2, ((-heightR)) / 2), CenterOptionR1 + (widthR / 2, heightR / 2), CenterOptionR1 - (widthR / 2, ((-heightR)) / 2), CenterOptionR1 - (widthR / 2, heightR / 2)) → rectRMove1, centeroptionr1, f, g, h, i, j
  38. PointIn(allowedRect) → CenterOptionR2
  39. Text(optionsRActual(2), CenterOptionR2, true, true, 0, 0) → opR2
  40. Polygon(CenterOptionR2, CenterOptionR2 - (widthR / 2, heightR / 2), CenterOptionR2 + (widthR / 2, ((-heightR)) / 2), CenterOptionR2 + (widthR / 2, heightR / 2), CenterOptionR2 - (widthR / 2, ((-heightR)) / 2), CenterOptionR2 - (widthR / 2, heightR / 2)) → rectRMove2, centeroptionr2, k, l, m, n, p
  41. PointIn(allowedRect) → CenterOptionR3
  42. Text(optionsRActual(3), CenterOptionR3, true, true, 0, 0) → opR3
  43. Polygon(CenterOptionR3, CenterOptionR3 - (widthR / 2, heightR / 2), CenterOptionR3 + (widthR / 2, ((-heightR)) / 2), CenterOptionR3 + (widthR / 2, heightR / 2), CenterOptionR3 - (widthR / 2, ((-heightR)) / 2), CenterOptionR3 - (widthR / 2, heightR / 2)) → rectRMove3, centeroptionr3, q, r, s, t, e
  44. PointIn(allowedRect) → CenterOptionR4
  45. Text(optionsRActual(4), CenterOptionR4, true, true, 0, 0) → opR4
  46. Polygon(CenterOptionR4, CenterOptionR4 - (widthR / 2, heightR / 2), CenterOptionR4 + (widthR / 2, ((-heightR)) / 2), CenterOptionR4 + (widthR / 2, heightR / 2), CenterOptionR4 - (widthR / 2, ((-heightR)) / 2), CenterOptionR4 - (widthR / 2, heightR / 2)) → rectRMove4, centeroptionr4, f_1, g_1, h_1, i_1, j_1
  47. PointIn(allowedRect) → CenterOptionR5
  48. Text(optionsRActual(5), CenterOptionR5, true, true, 0, 0) → opR5
  49. Polygon(CenterOptionR5, CenterOptionR5 - (widthR / 2, heightR / 2), CenterOptionR5 + (widthR / 2, ((-heightR)) / 2), CenterOptionR5 + (widthR / 2, heightR / 2), CenterOptionR5 - (widthR / 2, ((-heightR)) / 2), CenterOptionR5 - (widthR / 2, heightR / 2)) → rectRMove5, centeroptionr5, k_1, l_1, m_1, n_1, p_1
  50. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR1] ≟ 4, 1, -1, CountIf[P ∈ answerRectLarger2(1), P, verticesR1] ≟ 4, 2, CountIf[P ∈ answerRectLarger3(1), P, verticesR1] ≟ 4, 3, CountIf[P ∈ answerRectLarger4(1), P, verticesR1] ≟ 4, 4, CountIf[P ∈ answerRectLarger5(1), P, verticesR1] ≟ 4, 5) → indexAnswerR1
  51. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR2] ≟ 4, 1, -1, CountIf[P ∈ answerRectLarger2(1), P, verticesR2] ≟ 4, 2, CountIf[P ∈ answerRectLarger3(1), P, verticesR2] ≟ 4, 3, CountIf[P ∈ answerRectLarger4(1), P, verticesR2] ≟ 4, 4, CountIf[P ∈ answerRectLarger5(1), P, verticesR2] ≟ 4, 5) → indexAnswerR2
  52. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR3] ≟ 4, 1, -1, CountIf[P ∈ answerRectLarger2(1), P, verticesR3] ≟ 4, 2, CountIf[P ∈ answerRectLarger3(1), P, verticesR3] ≟ 4, 3, CountIf[P ∈ answerRectLarger4(1), P, verticesR3] ≟ 4, 4, CountIf[P ∈ answerRectLarger5(1), P, verticesR3] ≟ 4, 5) → indexAnswerR3
  53. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR4] ≟ 4, 1, -1, CountIf[P ∈ answerRectLarger2(1), P, verticesR4] ≟ 4, 2, CountIf[P ∈ answerRectLarger3(1), P, verticesR4] ≟ 4, 3, CountIf[P ∈ answerRectLarger4(1), P, verticesR4] ≟ 4, 4, CountIf[P ∈ answerRectLarger5(1), P, verticesR4] ≟ 4, 5) → indexAnswerR4
  54. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR5] ≟ 4, 1, -1, CountIf[P ∈ answerRectLarger2(1), P, verticesR5] ≟ 4, 2, CountIf[P ∈ answerRectLarger3(1), P, verticesR5] ≟ 4, 3, CountIf[P ∈ answerRectLarger4(1), P, verticesR5] ≟ 4, 4, CountIf[P ∈ answerRectLarger5(1), P, verticesR5] ≟ 4, 5) → indexAnswerR5
  55. CountIf(ind ≠ -1, ind, indizesAnswerR) → numAnswersDraggedToLeft

AI Drawing Prompt Reference

Create an interactive rounding practice interface. On the left, show five fixed numeric options as text. On the right, place five equally sized rectangular options with text inside a draggable area; the rectangles can be moved by the user. Provide two input boxes at the top for students to enter rounded answers. Below, include a feedback rectangle that indicates whether the answer is correct or incorrect. The layout is organized with the left options fixed and the right options randomly arranged and movable.
The prompt above was compiled from the original drawing commands and is for reference only.