Number Sense Level 2: Compare Integers on a Number Line

Number Sense Level 2: Compare Integers on a Number Line
Loading the math board and drawing, please wait…
2024-05-23 18:25
This GeoGebra example trains number sense by randomly generating integers and prompting learners to compare their sizes and locate them on a number line. It focuses on core concepts of comparing and ordering whole numbers (integers) using a number line, and interpreting integers in real contexts represented by their sign and position (negative, zero, positive). The construction uses RandomElement to pick values and manages sets such as numbers/minNums/maxNums and candidates like randomNos. Geometric elements are built with Vector, Segment, Join, and Polygon to display the number line and positions, while If is used to branch behavior for positive/negative cases. Text adds labels and feedback, and objects such as numDif, numZero, numPos, showrect/showsolution, countCorrect/correct organize the problem presentation and answer checking. Suitable for grades 5–6 and classroom or practice sessions emphasizing integer understanding.

GeoGebra Commands & Parameters

  1. RandomElement(maxNums) → maxNum
  2. Vector(A + (0.5, 0), B) → u
  3. Segment((10, b), (10, (-b))) → g
  4. Join({{100}, Shuffle[Sequence[Random[5, 95], i, 1, 100]]}) → randomNos
  5. RandomElement(minNums) → minNum
  6. RandomElement(numbers) → num
  7. Polygon((Max[0, If[numPos ≥ numZero > numPos - 0.5, numZero, numPos - 0.5]], -0.3), (Min[10, If[numPos < numZero ≤ numPos + 0.5, numZero, numPos + 0.5]], -0.3), (Min[10, If[numPos < numZero ≤ numPos + 0.5, numZero, numPos + 0.5]], 0.3), (Max[0, If[numPos ≥ numZero > numPos - 0.5, numZero, numPos - 0.5]], 0.3)) → q1, h, i, j, k
  8. Segment((0, 0), (0.1, 0)) → P0
  9. Segment((0.1, 0), (0.2, 0)) → P1
  10. Segment((0.2, 0), (0.3, 0)) → P2
  11. Segment((0.3, 0), (0.4, 0)) → P3
  12. Segment((0.4, 0), (0.5, 0)) → P4
  13. Segment((0.5, 0), (0.6, 0)) → P5
  14. Segment((0.6, 0), (0.7, 0)) → P6
  15. Segment((0.7, 0), (0.8, 0)) → P7
  16. Segment((0.8, 0), (0.9, 0)) → P8
  17. Segment((0.9, 0), (1, 0)) → P9
  18. Segment((1, 0), (1.1, 0)) → P10
  19. Segment((1.1, 0), (1.2, 0)) → P11
  20. Segment((1.2, 0), (1.3, 0)) → P12
  21. Segment((1.3, 0), (1.4, 0)) → P13
  22. Segment((1.4, 0), (1.5, 0)) → P14
  23. Segment((1.5, 0), (1.6, 0)) → P15
  24. Segment((1.6, 0), (1.7, 0)) → P16
  25. Segment((1.7, 0), (1.8, 0)) → P17
  26. Segment((1.8, 0), (1.9, 0)) → P18
  27. Segment((1.9, 0), (2, 0)) → P19
  28. Segment((2, 0), (2.1, 0)) → P20
  29. Segment((2.1, 0), (2.2, 0)) → P21
  30. Segment((2.2, 0), (2.3, 0)) → P22
  31. Segment((2.3, 0), (2.4, 0)) → P23
  32. Segment((2.4, 0), (2.5, 0)) → P24
  33. Segment((2.5, 0), (2.6, 0)) → P25
  34. Segment((2.6, 0), (2.7, 0)) → P26
  35. Segment((2.7, 0), (2.8, 0)) → P27
  36. Segment((2.8, 0), (2.9, 0)) → P28
  37. Segment((2.9, 0), (3, 0)) → P29
  38. Segment((3, 0), (3.1, 0)) → P30
  39. Segment((3.1, 0), (3.2, 0)) → P31
  40. Segment((3.2, 0), (3.3, 0)) → P32
  41. Segment((3.3, 0), (3.4, 0)) → P33
  42. Segment((3.4, 0), (3.5, 0)) → P34
  43. Segment((3.5, 0), (3.6, 0)) → P35
  44. Segment((3.6, 0), (3.7, 0)) → P36
  45. Segment((3.7, 0), (3.8, 0)) → P37
  46. Segment((3.8, 0), (3.9, 0)) → P38
  47. Segment((3.9, 0), (4, 0)) → P39
  48. Segment((4, 0), (4.1, 0)) → P40
  49. Segment((4.1, 0), (4.2, 0)) → P41
  50. Segment((4.2, 0), (4.3, 0)) → P42
  51. Segment((4.3, 0), (4.4, 0)) → P43
  52. Segment((4.4, 0), (4.5, 0)) → P44
  53. Segment((4.5, 0), (4.6, 0)) → P45
  54. Segment((4.6, 0), (4.7, 0)) → P46
  55. Segment((4.7, 0), (4.8, 0)) → P47
  56. Segment((4.9, 0), (5, 0)) → P49
  57. Segment((5, 0), (5.1, 0)) → P50
  58. Segment((5.1, 0), (5.2, 0)) → P51
  59. Segment((5.2, 0), (5.3, 0)) → P52
  60. Segment((5.3, 0), (5.4, 0)) → P53
  61. Segment((5.4, 0), (5.5, 0)) → P54
  62. Segment((5.5, 0), (5.6, 0)) → P55
  63. Segment((5.6, 0), (5.7, 0)) → P56
  64. Segment((5.7, 0), (5.8, 0)) → P57
  65. Segment((5.8, 0), (5.9, 0)) → P58
  66. Segment((5.9, 0), (6, 0)) → P59
  67. Segment((6, 0), (6.1, 0)) → P60
  68. Segment((6.1, 0), (6.2, 0)) → P61
  69. Segment((6.2, 0), (6.3, 0)) → P62
  70. Segment((6.3, 0), (6.4, 0)) → P63
  71. Segment((6.4, 0), (6.5, 0)) → P64
  72. Segment((6.5, 0), (6.6, 0)) → P65
  73. Segment((6.6, 0), (6.7, 0)) → P66
  74. Segment((6.7, 0), (6.8, 0)) → P67
  75. Segment((6.8, 0), (6.9, 0)) → P68
  76. Segment((6.9, 0), (7, 0)) → P69
  77. Segment((7, 0), (7.1, 0)) → P70
  78. Segment((7.1, 0), (7.2, 0)) → P71
  79. Segment((7.2, 0), (7.3, 0)) → P72
  80. Segment((7.3, 0), (7.4, 0)) → P73
  81. Segment((7.4, 0), (7.5, 0)) → P74
  82. Segment((7.5, 0), (7.6, 0)) → P75
  83. Segment((7.6, 0), (7.7, 0)) → P76
  84. Segment((7.7, 0), (7.8, 0)) → P77
  85. Segment((7.8, 0), (7.9, 0)) → P78
  86. Segment((7.9, 0), (8, 0)) → P79
  87. Segment((8, 0), (8.1, 0)) → P80
  88. Segment((8.1, 0), (8.2, 0)) → P81
  89. Segment((8.2, 0), (8.3, 0)) → P82
  90. Segment((8.3, 0), (8.4, 0)) → P83
  91. Segment((8.4, 0), (8.5, 0)) → P84
  92. Segment((8.5, 0), (8.6, 0)) → P85
  93. Segment((8.6, 0), (8.7, 0)) → P86
  94. Segment((8.7, 0), (8.8, 0)) → P87
  95. Segment((8.8, 0), (8.9, 0)) → P88
  96. Segment((8.9, 0), (9, 0)) → P89
  97. Segment((9, 0), (9.1, 0)) → P90
  98. Segment((9.1, 0), (9.2, 0)) → P91
  99. Segment((9.2, 0), (9.3, 0)) → P92
  100. Segment((9.3, 0), (9.4, 0)) → P93
  101. Segment((9.4, 0), (9.5, 0)) → P94
  102. Segment((9.5, 0), (9.6, 0)) → P95
  103. Segment((9.6, 0), (9.7, 0)) → P96
  104. Segment((9.7, 0), (9.8, 0)) → P97
  105. Segment((9.8, 0), (9.9, 0)) → P98
  106. Segment((9.9, 0), (10, 0)) → P99
  107. Segment((10, 0), (10.1, 0)) → P100
  108. Segment((4.8, 0), (4.9, 0)) → P48
  109. If(floor(barometer / 2) + 1 ≥ 10, 10, floor(barometer / 2) + 1) → colorIndex
  110. Polygon((-1, -7), (17, -7), (17, 4), (-1, 4)) → canvas, l, m, n, p
  111. Vector(B - (0.5, 0), A) → u1
  112. Segment((0, b), (0, (-b))) → g1
  113. Segment((numZero, a), (numZero, (-a))) → f
  114. Vector((numPos, -0.4), (numPos, 0)) → v
  115. Text("\textsf{\(" + num + "\)}", (numPos + 0.05, -0.75), true, true, 0, 0) → text6

AI Drawing Prompt Reference

Draw a number line from -10 to 10 with a short line every unit. Randomly generate an integer and mark it on the number line with its label. Generate another integer, compare its size with the first one, and mark it on the number line. Use differently colored rectangles to represent positive, zero, and negative numbers based on their signs. Draw a horizontal line below the number line to show the comparison result.
The prompt above was compiled from the original drawing commands and is for reference only.