Integer Comparison and Ordering on Number Line

Integer Comparison and Ordering on Number Line
Loading the math board and drawing, please wait…
2024-11-20 22:49
This is an interactive practice for comparing and ordering integers. Students need to compare and arrange randomly generated integers on a number line, understanding the magnitude relationships between positive and negative numbers. Core mathematical concepts include: comparing and ordering integers, geometric representation on number lines, and interpreting integers in real-world contexts. Construction highlights: using Sequence command to generate random integer lists, Textfield and InputBox for student input, If and Unique commands for answer validation, with btnValidate button and correctCount counter for feedback. Suitable for Grade 5-6 students,可用于课堂练习或课后巩固,提升数感与逻辑推理能力。

GeoGebra Commands & Parameters

  1. Join(Sequence[Shuffle[{1, 2}], k, 1, 200]) → CaseList
  2. Join({{1, 1, 2}, Join[Sequence[Shuffle[{1, 2, 2}], k, 1, ceil(200 / 3)]]}) → AnzahlInputList
  3. Sequence(RandomElement[{1, 2, 3, 4}], k, 1, 200) → Pos1List, {2, 4, 4, 1, 1, 2, 2, 4, 1, 4, 2, 3, 2, 1, 4, 3, 4, 3, 3, 3, 2, 1, 3, 2, 2, 4, 4, 4, 2, 4, 4, 2, 2, 3, 4, 2, 3, 2, 4, 4, 4, 1, 3, 1, 1, 3, 1, 4, 2, 1, 1, 2, 4, 2, 4, 4, 1, 3, 3, 2, 2, 3, 1, 3, 3, 3, 3, 4, 3, 1, 3, 3, 3, 1, 4, 4, 2, 1, 3, 1, 4, 4, 1, 2, 4, 2, 2, 4, 4, 3, 3, 2, 4, 4, 1, 4, 2, 2, 1, 3, 3, 4, 1, 4, 2, 3, 2, 4, 1, 4, 2, 2, 1, 1, 3, 2, 3, 1, 3, 1, 2, 2, 1, 1, 2, 4, 4, 2, 4, 3, 3, 2, 4, 1, 2, 1, 4, 2, 2, 3, 4, 3, 2, 3, 1, 3, 3, 3, 4, 2, 3, 2, 1, 1, 4, 3, 4, 4, 3, 2, 3, 4, 2, 2, 3, 3, 1, 3, 3, 1, 2, 1, 2, 3, 1, 2, 2, 3, 1, 1, 1, 2, 2, 2, 4, 4, 1, 3, 2, 3, 3, 2, 4, 1, 1, 3, 1, 2, 1, 1}
  4. Sequence(RandomElement[Remove[{1, 2, 3, 4}, {Pos1List(k), If[k > 1, Pos1List(k - 1), NaN]}]], k, 1, 200) → Pos2List, {1, 3, 3, 2, 3, 3, 3, 3, 2, 2, 1, 1, 1, 3, 2, 2, 1, 2, 1, 4, 1, 4, 2, 1, 4, 3, 1, 3, 3, 3, 3, 3, 4, 4, 1, 1, 1, 4, 1, 3, 1, 2, 4, 4, 3, 2, 2, 3, 3, 4, 4, 4, 3, 3, 3, 2, 3, 2, 4, 1, 1, 4, 2, 4, 2, 4, 2, 2, 1, 2, 4, 2, 1, 4, 3, 1, 1, 3, 2, 2, 3, 1, 3, 4, 1, 1, 3, 3, 3, 1, 2, 4, 3, 2, 3, 2, 3, 3, 4, 2, 2, 2, 3, 2, 1, 1, 1, 1, 3, 3, 3, 3, 3, 4, 2, 1, 4, 2, 2, 4, 4, 4, 3, 4, 3, 1, 2, 1, 3, 1, 2, 1, 1, 2, 4, 4, 3, 3, 1, 1, 2, 2, 1, 4, 4, 4, 2, 1, 1, 1, 4, 4, 4, 3, 2, 1, 1, 2, 2, 1, 4, 2, 1, 4, 1, 2, 4, 4, 1, 2, 3, 3, 4, 1, 4, 3, 3, 4, 2, 2, 2, 4, 3, 4, 1, 2, 3, 2, 4, 4, 1, 1, 1, 3, 2, 4, 4, 4, 4, 2}
  5. Sequence(RandomElement[-100…-10], k, 1, 200) → Number1List, {-77, -39, -77, -16, -72, -31, -33, -62, -20, -62, -42, -29, -17, -54, -69, -25, -12, -79, -28, -25, -77, -32, -41, -52, -56, -22, -34, -11, -29, -14, -98, -29, -38, -91, -99, -57, -41, -39, -16, -74, -84, -65, -14, -22, -81, -42, -53, -61, -37, -18, -77, -54, -10, -18, -10, -100, -57, -80, -71, -21, -83, -14, -37, -80, -40, -65, -87, -81, -14, -14, -46, -60, -17, -99, -43, -31, -97, -35, -48, -99, -96, -26, -22, -60, -35, -98, -59, -80, -38, -64, -57, -53, -19, -72, -10, -98, -11, -42, -73, -22, -26, -20, -97, -63, -14, -35, -32, -27, -13, -76, -40, -79, -93, -47, -24, -41, -20, -77, -10, -12, -82, -39, -37, -77, -96, -32, -100, -21, -42, -21, -16, -59, -91, -50, -48, -70, -64, -78, -76, -94, -14, -49, -64, -65, -34, -13, -74, -22, -42, -80, -29, -23, -78, -63, -83, -46, -98, -10, -78, -67, -34, -61, -14, -88, -52, -73, -54, -65, -97, -78, -79, -77, -43, -82, -69, -10, -29, -67, -17, -58, -34, -37, -73, -29, -27, -33, -81, -76, -29, -57, -79, -49, -47, -28, -43, -67, -46, -51, -75, -60}
  6. Sequence(RandomElement[(Number1List(k) + 1)…-1], k, 1, 200) → Number2List, {-7, -3, -44, -4, -16, -17, -7, -32, -10, -45, -4, -15, -13, -15, -5, -6, -2, -21, -4, -4, -35, -18, -40, -37, -22, -15, -27, -7, -1, -5, -97, -16, -5, -82, -34, -48, -14, -33, -1, -71, -16, -12, -13, -4, -66, -9, -3, -16, -15, -7, -37, -1, -8, -15, -8, -42, -42, -79, -50, -16, -44, -8, -7, -30, -9, -7, -45, -78, -7, -11, -16, -26, -11, -96, -38, -29, -80, -26, -30, -48, -40, -14, -6, -28, -1, -83, -38, -25, -30, -53, -10, -25, -4, -8, -8, -56, -6, -35, -8, -7, -10, -11, -86, -1, -5, -24, -19, -22, -12, -55, -2, -27, -25, -10, -14, -34, -1, -22, -7, -4, -60, -18, -1, -49, -27, -17, -59, -11, -29, -3, -11, -55, -48, -14, -20, -11, -43, -57, -20, -61, -10, -16, -3, -51, -12, -5, -58, -3, -1, -46, -2, -3, -11, -46, -6, -22, -67, -6, -4, -31, -14, -30, -9, -5, -31, -46, -4, -24, -85, -64, -55, -11, -18, -62, -64, -1, -18, -31, -11, -52, -8, -24, -54, -21, -6, -26, -33, -26, -2, -46, -7, -11, -16, -19, -17, -42, -27, -36, -40, -56}
  7. Sequence(RandomElement[(Number2List(k) + 1)…97], k, 1, 200) → Number3List, {-3, 44, 31, 88, -10, -11, 79, -12, 97, 19, 18, 49, 29, -7, 60, -3, 11, 37, 56, -1, 31, 93, -34, -27, 52, 22, 74, 95, 41, 68, -29, 79, -2, 17, 94, -46, 58, 47, 86, -30, 61, 12, 60, 97, 18, 76, 92, 35, 1, 38, 35, 66, 75, -12, 7, -13, 97, -9, 22, 73, 84, 13, 46, -28, 64, 55, 77, -11, 36, 9, 93, 56, 67, -31, -1, 71, -57, 10, 44, 52, 77, 26, 40, 52, 44, -52, -18, -5, 59, 93, 61, 41, 37, 18, 56, 4, 22, -15, 16, 93, 77, 56, 44, 0, -4, -6, 44, 48, 16, 28, 58, 82, 59, 5, 15, 96, 10, 14, 60, 44, 69, 18, 88, 64, 21, 67, -49, -7, 92, 2, 68, 83, 51, -5, 93, 11, 20, 20, 90, 52, 81, 41, 8, 14, 7, 23, -31, 94, 84, 97, 0, 88, 61, 31, 34, 45, -3, 87, 90, -10, 6, -6, 91, 39, 32, 61, -3, 11, -35, 16, -32, 94, -6, 77, 6, 82, 7, 66, 93, 49, 60, 7, 62, 7, 92, 27, -14, 19, 30, -34, 10, 94, 86, 20, 57, 34, 56, 48, 76, -20}
  8. Sequence(RandomElement[(Number3List(k) + 1)…100], k, 1, 200) → Number4List, {28, 66, 60, 97, 85, 41, 89, 32, 100, 37, 98, 71, 50, 73, 62, 13, 30, 61, 91, 73, 70, 100, 15, 84, 94, 29, 96, 100, 62, 84, 57, 84, 87, 72, 95, -22, 100, 97, 89, -3, 87, 70, 66, 99, 44, 87, 96, 85, 32, 82, 56, 70, 82, 78, 83, 93, 99, 21, 45, 76, 99, 39, 83, 80, 94, 57, 100, 98, 90, 72, 96, 74, 81, 23, 77, 72, -9, 42, 46, 78, 81, 64, 53, 56, 82, -21, -13, 26, 80, 95, 100, 65, 67, 28, 85, 52, 30, 97, 59, 94, 98, 99, 86, 24, 61, 22, 69, 84, 85, 34, 73, 98, 100, 16, 28, 100, 50, 61, 96, 90, 87, 48, 89, 87, 32, 91, 91, 10, 100, 56, 86, 98, 62, 63, 98, 75, 49, 98, 97, 83, 95, 88, 100, 90, 62, 37, -17, 97, 89, 99, 6, 92, 82, 73, 39, 53, 78, 100, 98, 80, 30, 76, 93, 95, 56, 86, 56, 97, 65, 61, 4, 97, -1, 88, 28, 83, 11, 96, 94, 77, 88, 54, 96, 65, 97, 87, 37, 85, 82, -12, 84, 99, 87, 88, 67, 82, 58, 100, 81, 31}
  9. If(Case ≟ 1, Number1List(counter), Number4List(counter)) → number1
  10. If(Case ≟ 1, Number2List(counter), Number3List(counter)) → number2
  11. If(Case ≟ 1, Number3List(counter), Number2List(counter)) → number3
  12. If(Case ≟ 1, Number4List(counter), Number1List(counter)) → number4
  13. If(AnzahlInput ≟ 1, Pos1List(counter), Pos2List(counter)) → pos2
  14. Unique({pos1, pos2}) → PosList
  15. If(Case ≟ 1, If[1 ∈ PosList, input1, number1] < If[2 ∈ PosList, input2, number2] < If[3 ∈ PosList, input3, number3] < If[4 ∈ PosList, input4, number4], If[1 ∈ PosList, input1, number1] > If[2 ∈ PosList, input2, number2] > If[3 ∈ PosList, input3, number3] > If[4 ∈ PosList, input4, number4]) → correct1
  16. Textfield(input1) → InputBox1
  17. Textfield(input2) → InputBox2
  18. Textfield(input3) → InputBox3
  19. Textfield(input4) → InputBox4
  20. Sequence(Random[1, 10], i, 1, 10) → randomNumbers, {6, 10, 6, 4, 8, 8, 1, 7, 1, 8}
  21. Element(randomNumbers, Mod[questionCount, Length[randomNumbers]] + 1) → randomNumber
  22. Textfield(input) → inputBox
  23. Text(txtN1, PosN1, false, true, 0, -1) → txtNumber1
  24. Text(txtN2, PosN2, false, true, 0, -1) → txtNumber2
  25. Text(txtN3, PosN3, false, true, 0, -1) → txtNumber3
  26. Text(txtN4, PosN4, false, true, 0, -1) → txtNumber4
  27. If(Case ≟ 1, If[1 ∈ PosList, input1, number1] < If[2 ∈ PosList, input2, number2], If[1 ∈ PosList, input1, number1] > If[2 ∈ PosList, input2, number2]) → Ineq1
  28. If(Case ≟ 1, If[2 ∈ PosList, input2, number2] < If[3 ∈ PosList, input3, number3], If[2 ∈ PosList, input2, number2] > If[3 ∈ PosList, input3, number3]) → Ineq2
  29. If(Case ≟ 1, If[3 ∈ PosList, input3, number3] < If[4 ∈ PosList, input4, number4], If[3 ∈ PosList, input3, number3] > If[4 ∈ PosList, input4, number4]) → Ineq3
  30. If(PosList ≟ {1, 2}, 1, 6, PosList ≟ {1, 3}, 2, PosList ≟ {1, 4}, 3, PosList ≟ {2, 3}, 4, PosList ≟ {2, 4}, 5) → Case2Input

AI Drawing Prompt Reference

Create a number-line integer ordering practice. Randomly generate four groups of integer values (including negative numbers and possibly zero) and randomly choose one value from each group to form four candidates. Display four input boxes labeled for the 1st through 4th numbers, and associate each box with its corresponding candidate based on a randomly selected ordering case. Include a comparison-check area that guides the user to write an inequality chain comparing the four integers either in increasing (small to large) or decreasing (large to small) order along the number line. Construct in this sequence: generate the candidates, select the active case, place four input boxes, then link each input to its candidate for the inequality comparison task.
The prompt above was compiled from the original drawing commands and is for reference only.