整数连线匹配:在数轴上比较与排序

整数连线匹配:在数轴上比较与排序
几何画板及绘图内容加载中,请稍等……
2024-02-06 17:28
该范例通过“把选项正确配对(Ordne zu!)”的互动方式,让学习者在数轴上观察不同整数的相对位置,从而完成比较与排序任务。核心数学概念包括:整数的大小比较、利用数轴理解“更大/更小”、以及在情境含义中解释正数与负数。作图与交互要点:使用 Polygon 构造界面/图形区域或容器,并通过 PointIn 判断点是否落入允许区域(allowedRect 与 allowedRect1~4);用 Textfield 与 Text 呈现可输入/显示的题目与提示;用 Shuffle 与 Sequence 生成/打乱待配对元素;用 Element 引用动态元素;用 Append/Remove 动态维护候选集合;用 CountIf 统计匹配次数或满足条件的数量;并用 Length 控制数据规模与流程;同时利用 Max 与 If 进行逻辑判断与结果显示。适合5-6年级(Schulstufe 5-6)的整数教学,也可用于课堂练习、作业或数感训练。

GeoGebra 命令及参数

  1. Polygon(allowedRect4, allowedRect3, allowedRect2, allowedRect1) → allowedRect, a_1, b, c, d
  2. Max(widthsOptionsR) → widthR
  3. Max(heightsOptionsR) → heightR
  4. Max(heightR, Max[heightsOptionsL]) → heightL
  5. Max(widthsOptionsL) → widthL
  6. If(isShuffleOptionsLechts, Shuffle[1…numOptionsR], 1…numOptionsR) → indizesOptionsRechts
  7. If(isShuffleOptionsLinks, Shuffle[1…numOptionsL], 1…numOptionsL) → indizesOptionsLinks
  8. Textfield(input1) → InputBox1
  9. Textfield(input2) → InputBox2
  10. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, rectangleCorrectS3, rectangleCorrectS4, rectangleCorrectS2, rectangleCorrectS1
  11. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {0, 2, 0, 5, 1, 2, 9, 6, 3, 5, 4, 0, 3, 6, 3, 1, 7, 3, 3, 9, 6, 5, 3, 6, 3, 4, 4, 7, 10, 3, 9, 9, 6, 1, 9, 8, 9, 3, 4, 10, 2, 2, 9, 8, 7, 9, 6, 9, 6, 5, 10, 5, 4, 9, 1, 1, 3, 9, 1, 9, 6, 2, 3, 9, 7, 2, 10, 9, 5, 3, 3, 8, 0, 7, 4, 0, 10, 8, 5, 10, 9, 4, 2, 1, 6, 7, 2, 10, 10, 10, 0, 5, 6, 5, 8, 8, 10, 0, 3, 0}
  12. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  13. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {8, 8, 8, 5, 2, 7, 7, 6, 0, 10, 10, 2, 10, 3, 6, 7, 10, 4, 10, 4, 3, 6, 1, 2, 4, 8, 8, 9, 3, 9, 7, 9, 4, 0, 0, 3, 1, 5, 8, 0, 3, 3, 4, 0, 2, 6, 6, 2, 2, 4, 0, 0, 6, 2, 6, 6, 8, 9, 5, 4, 8, 9, 1, 6, 10, 6, 1, 5, 7, 0, 5, 10, 9, 6, 7, 2, 1, 10, 7, 7, 10, 2, 7, 7, 2, 2, 6, 8, 6, 7, 4, 2, 7, 8, 0, 4, 2, 6, 5, 9}
  14. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  15. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  16. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  17. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  18. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  19. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  20. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  21. Sequence(1) → positionsOptionsRechts
  22. Sequence(Element[optionsRAll, indizesOptionsRechts(i)], i, 1, numOptionsR) → optionsRActual
  23. Length(optionsRActual) → a
  24. Sequence(Element[optionsLAll, indizesOptionsLinks(i)], i, 1, numOptionsL) → optionsLActual
  25. Sequence(allOptionsL(indizesOptionsLinks(i)), i, 1, numOptionsL) → optionsL
  26. Sequence(allOptionsR(indizesOptionsLinks(i)), i, 1, numOptionsL) → optionsR
  27. Polygon((-10, -2), (10, -2), (10, 10), (-10, 10)) → q1, q_1, r_1, s_1, t_1
  28. Text(optionsLActual(6), CenterOptionL6, true, true, 0, 0) → opL6
  29. Text(optionsLActual(1), CenterOptionL1, true, true, 0, 0) → opL1
  30. Text(optionsLActual(2), CenterOptionL2, true, true, 0, 0) → opL2
  31. Text(optionsLActual(3), CenterOptionL3, true, true, 0, 0) → opL3
  32. Text(optionsLActual(4), CenterOptionL4, true, true, 0, 0) → opL4
  33. Text(optionsLActual(5), CenterOptionL5, true, true, 0, 0) → opL5
  34. PointIn(allowedRect) → CenterOptionR1
  35. Text(optionsRActual(1), CenterOptionR1, true, true, 0, 0) → opR1
  36. 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
  37. PointIn(allowedRect) → CenterOptionR2
  38. Text(optionsRActual(2), CenterOptionR2, true, true, 0, 0) → opR2
  39. 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
  40. PointIn(allowedRect) → CenterOptionR3
  41. Text(optionsRActual(3), CenterOptionR3, true, true, 0, 0) → opR3
  42. 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
  43. PointIn(allowedRect) → CenterOptionR4
  44. Text(optionsRActual(4), CenterOptionR4, true, true, 0, 0) → opR4
  45. 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
  46. PointIn(allowedRect) → CenterOptionR5
  47. Text(optionsRActual(5), CenterOptionR5, true, true, 0, 0) → opR5
  48. 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
  49. PointIn(allowedRect) → CenterOptionR6
  50. Text(optionsRActual(6), CenterOptionR6, true, true, 0, 0) → opR6
  51. Polygon(CenterOptionR6, CenterOptionR6 - (widthR / 2, heightR / 2), CenterOptionR6 + (widthR / 2, ((-heightR)) / 2), CenterOptionR6 + (widthR / 2, heightR / 2), CenterOptionR6 - (widthR / 2, ((-heightR)) / 2), CenterOptionR6 - (widthR / 2, heightR / 2)) → rectRMove6, centeroptionr6, b_1, c_1, d_1, e_1, f_2
  52. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR1] ≟ 4, 1, CountIf[P ∈ answerRectLarger6(1), P, verticesR1] ≟ 4, 6, -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
  53. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR2] ≟ 4, 1, CountIf[P ∈ answerRectLarger6(1), P, verticesR2] ≟ 4, 6, -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
  54. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR3] ≟ 4, 1, CountIf[P ∈ answerRectLarger6(1), P, verticesR3] ≟ 4, 6, -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
  55. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR4] ≟ 4, 1, CountIf[P ∈ answerRectLarger6(1), P, verticesR4] ≟ 4, 6, -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
  56. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR5] ≟ 4, 1, CountIf[P ∈ answerRectLarger6(1), P, verticesR5] ≟ 4, 6, -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
  57. If(CountIf[P ∈ answerRectLarger1(1), P, verticesR6] ≟ 4, 1, CountIf[P ∈ answerRectLarger6(1), P, verticesR6] ≟ 4, 6, -1, CountIf[P ∈ answerRectLarger2(1), P, verticesR6] ≟ 4, 2, CountIf[P ∈ answerRectLarger3(1), P, verticesR6] ≟ 4, 3, CountIf[P ∈ answerRectLarger4(1), P, verticesR6] ≟ 4, 4, CountIf[P ∈ answerRectLarger5(1), P, verticesR6] ≟ 4, 5) → indexAnswerR6
  58. CountIf(ind ≠ -1, ind, indizesAnswerR) → numAnswersDraggedToLeft
  59. If(correct, "\vphantom{✘}✓ Richtig", If[correctpartially, "\vphantom{✓}✘ Teilweise richtig", "\vphantom{✓}✘ Falsch"]) → correctTextTemp
  60. Text((("\Large\textsf{" * correctTextTemp) * "}"), PStartCorrectText, true, true, 1, 0) → correctText

AI 绘图提示语参考

在一条水平线上创建一个数轴,标出从-10到10的整数。在数轴上方设置多个矩形框,每个框内随机显示一个0到10的整数。下方设置多个选项框,同样包含随机0到10的整数。用户需要将下方的选项框拖拽到上方数轴对应的整数位置上,完成整数比较和排序的任务。
以上提示语为根据原始绘图命令整理而来,仅供参考。