从文本到数学:运算顺序与括号规则练习

从文本到数学:运算顺序与括号规则练习
几何画板及绘图内容加载中,请稍等……
2021-08-18 19:27
① 该范例演示如何将自然语言描述的算术题自动转换为可交互的运算顺序练习,随机生成含括号、乘除加减的算式并让学生在文本框中作答。② 核心数学概念涵盖运算优先级、括号规则(点乘除优于加减)、整数与小数的混合运算。③ 作图要点:使用 Sequence 生成题目序列,Element/Zip/Join 组合题目元素,If 判断答案正确性,Textfield 接收学生输入,RandomElement 与 IndexOf 实现随机抽题,Translate 实现界面元素的动态平移。④ 适用于小学五至六年级(或初中预备)的运算顺序教学、自主练习与形成性评价。

GeoGebra 命令及参数

  1. Sequence(Random[1, 9], m, 1, 100) → ListeNachKomma3, {8, 4, 1, 7, 6, 2, 4, 2, 5, 8, 2, 1, 9, 8, 9, 7, 8, 9, 5, 7, 5, 6, 6, 9, 1, 4, 2, 8, 7, 2, 8, 5, 8, 4, 1, 5, 7, 2, 4, 7, 4, 8, 8, 5, 7, 2, 8, 7, 1, 9, 3, 3, 2, 4, 6, 9, 8, 3, 8, 8, 2, 3, 6, 6, 6, 6, 1, 2, 1, 7, 9, 8, 1, 1, 8, 9, 6, 5, 3, 5, 6, 3, 9, 4, 8, 8, 3, 9, 5, 2, 2, 3, 6, 7, 4, 1, 7, 5, 4, 9}
  2. Element(ListeNachKomma3, Mod[questionCount, 100]) → b32
  3. Sequence(Random[0, 30], m, 1, 100) → ListeVorKomma1, {23, 10, 27, 29, 23, 28, 24, 5, 12, 6, 11, 1, 11, 3, 2, 6, 16, 1, 6, 16, 5, 8, 25, 15, 27, 24, 17, 26, 25, 6, 24, 8, 6, 23, 23, 24, 21, 16, 11, 9, 16, 27, 0, 4, 2, 30, 16, 16, 28, 0, 3, 22, 2, 26, 13, 25, 23, 1, 6, 23, 12, 4, 29, 2, 12, 13, 1, 28, 29, 24, 14, 11, 20, 26, 27, 5, 2, 1, 28, 30, 20, 6, 20, 14, 12, 16, 23, 10, 9, 19, 21, 15, 24, 16, 1, 23, 0, 14, 18, 10}
  4. Element(ListeVorKomma1, Mod[questionCount, 100]) → b21
  5. Zip(m + Random[2, 20], m, ListeVorKomma1) → ListeVorKomma2
  6. Element(ListeVorKomma2, Mod[questionCount, 100]) → b11
  7. Sequence(Random[1, 9], m, 1, 100) → ListeNachKomma2, {3, 3, 7, 4, 9, 5, 3, 7, 2, 2, 5, 6, 9, 6, 6, 2, 2, 1, 2, 7, 7, 6, 7, 2, 7, 4, 2, 7, 4, 8, 8, 7, 3, 2, 6, 9, 8, 7, 5, 9, 4, 6, 8, 6, 1, 4, 4, 2, 7, 9, 5, 9, 2, 6, 6, 4, 3, 5, 7, 4, 1, 6, 6, 6, 9, 7, 1, 1, 4, 3, 8, 9, 2, 9, 2, 9, 9, 5, 1, 6, 9, 5, 3, 8, 6, 2, 7, 2, 8, 1, 8, 3, 2, 1, 9, 4, 7, 1, 7, 9}
  8. Element(ListeNachKomma2, Mod[questionCount, 100]) → b22
  9. Element(ListeNachKomma2, Mod[questionCount, 100]) → b12
  10. Sequence(Random[0, 30], m, 1, 100) → ListeVorKomma3, {13, 13, 20, 9, 14, 4, 29, 20, 30, 7, 0, 28, 2, 12, 22, 20, 16, 15, 1, 15, 24, 27, 21, 7, 16, 14, 25, 2, 29, 17, 6, 11, 7, 30, 17, 4, 26, 4, 30, 28, 9, 6, 14, 14, 0, 6, 15, 13, 3, 9, 6, 26, 18, 17, 24, 25, 0, 28, 15, 17, 15, 11, 14, 19, 5, 11, 4, 28, 11, 3, 0, 13, 26, 29, 6, 20, 14, 21, 1, 19, 16, 25, 30, 27, 22, 24, 28, 21, 11, 26, 25, 13, 3, 30, 11, 21, 29, 8, 28, 30}
  11. Element(ListeVorKomma3, Mod[questionCount, 100]) → b31
  12. Sequence(Random[2, 9], m, 1, 100) → ListeFaktor, {2, 5, 6, 4, 5, 5, 9, 6, 7, 3, 9, 7, 3, 9, 6, 6, 3, 8, 9, 5, 7, 9, 9, 8, 9, 4, 7, 5, 7, 7, 5, 6, 4, 7, 3, 2, 9, 9, 2, 4, 4, 4, 9, 2, 2, 7, 5, 9, 9, 9, 7, 4, 3, 9, 9, 9, 3, 7, 4, 2, 7, 3, 7, 3, 4, 2, 4, 3, 6, 4, 3, 5, 7, 3, 6, 4, 2, 8, 7, 6, 5, 2, 2, 3, 4, 8, 8, 8, 9, 4, 7, 3, 4, 2, 7, 3, 9, 2, 2, 8}
  13. Sequence(Random[1, 9], m, 1, 100) → ListeNachKomma1, {8, 8, 4, 1, 5, 1, 3, 1, 1, 9, 2, 4, 6, 4, 6, 6, 5, 1, 8, 6, 4, 4, 2, 8, 6, 2, 7, 9, 9, 9, 5, 4, 1, 2, 3, 8, 8, 5, 9, 3, 4, 3, 9, 8, 3, 3, 7, 5, 2, 4, 1, 2, 2, 2, 3, 6, 3, 9, 9, 4, 7, 5, 7, 2, 2, 4, 9, 2, 7, 4, 5, 8, 7, 5, 6, 8, 4, 2, 8, 5, 9, 6, 4, 5, 7, 3, 5, 9, 4, 5, 1, 9, 9, 5, 6, 6, 7, 5, 7, 5}
  14. Element(ListeNachKomma1, Mod[questionCount, 100]) → d22
  15. Element(ListeVorKomma1, Mod[questionCount, 100]) → d21
  16. Element(ListeFaktor, Mod[questionCount, 100]) → d3
  17. Element(ListeNachKomma2, Mod[questionCount, 100]) → d12
  18. Element(ListeVorKomma2, Mod[questionCount, 100]) → d11
  19. Element(ListeNachKomma2, Mod[questionCount, 100]) → f12
  20. Element(ListeVorKomma2, Mod[questionCount, 100]) → f11
  21. Element(ListeVorKomma1, Mod[questionCount, 100]) → f21
  22. Element(ListeNachKomma1, Mod[questionCount, 100]) → f22
  23. Element(ListeFaktor, Mod[questionCount, 100]) → f3
  24. Element(ListeNachKomma1, Mod[questionCount, 100]) → c12
  25. Element(ListeVorKomma1, Mod[questionCount, 100]) → c11
  26. Element(ListeNachKomma1, Mod[questionCount, 100]) → e12
  27. Element(ListeVorKomma1, Mod[questionCount, 100]) → e11
  28. Element(ListeNachKomma1, Mod[questionCount, 100]) → a12
  29. Element(ListeVorKomma1, Mod[questionCount, 100]) → a11
  30. Element(ListeNachKomma2, Mod[questionCount, 100]) → c22
  31. Element(ListeVorKomma2, Mod[questionCount, 100]) → c21
  32. Element(ListeNachKomma2, Mod[questionCount, 100]) → e22
  33. Element(ListeVorKomma2, Mod[questionCount, 100]) → e21
  34. Element(ListeNachKomma2, Mod[questionCount, 100]) → a22
  35. Element(ListeVorKomma2, Mod[questionCount, 100]) → a21
  36. Element(ListeFaktor, Mod[questionCount, 100]) → c3
  37. Element(ListeFaktor, Mod[questionCount, 100]) → e3
  38. Element(ListeFaktor, Mod[questionCount, 100]) → a3
  39. Join(Sequence[Shuffle[{1, 2, 3, 4, 5, 6}], i, 1, 20]) → Layout
  40. Element(Layout, questionCount) → layout
  41. If(layout ≟ 1, TextACorrect, If[layout ≟ 2, TextBCorrect, If[layout ≟ 3, TextCCorrect, If[layout ≟ 4, TextDCorrect, If[layout ≟ 5, TextECorrect, If[layout ≟ 6, TextFCorrect]]]]]) → TextCorrect
  42. If(layout ≟ 1, TextAWrong1, If[layout ≟ 2, TextBWrong1, If[layout ≟ 3, TextCWrong1, If[layout ≟ 4, TextDWrong1, If[layout ≟ 5, TextEWrong1, If[layout ≟ 6, TextFWrong1]]]]]) → TextWrong1
  43. If(layout ≟ 1, TextAWrong2, If[layout ≟ 2, TextBWrong2, If[layout ≟ 3, TextCWrong2, If[layout ≟ 4, TextDWrong2, If[layout ≟ 5, TextEWrong2, If[layout ≟ 6, TextFWrong2]]]]]) → TextWrong2
  44. Textfield(aInput) → InputBox1
  45. Textfield(bInput) → InputBox2
  46. If(l1, F1, If[l2, F2, If[l3, F3]]) → PtopLeftCornerFeedback
  47. If(l1, F11, If[l2, F21, If[l3, F31]]) → PbottomRightCornerFeedback
  48. If(l1, F11, If[l2, F21, If[l3, F31]]) → F
  49. If(layout ≟ 1, a11, If[layout ≟ 2, b11, If[layout ≟ 3, c11, If[layout ≟ 4, d11, If[layout ≟ 5, e11, If[layout ≟ 6, f11]]]]]) → t11
  50. If(layout ≟ 1, a12, If[layout ≟ 2, b12, If[layout ≟ 3, c12, If[layout ≟ 4, d12, If[layout ≟ 5, e12, If[layout ≟ 6, f12]]]]]) → t12
  51. RandomElement(LText \ {L1}) → L2, "\textsf{(45,5 - 28,1) : 5"
  52. RandomElement(LText \ {L1, L2}) → L3, "\textsf{45,5 - 28,1 : 5"
  53. Element(LFaktoren, c3 - 1) → TextFaktorC3
  54. Element(LFaktoren, f3 - 1) → TextFaktorF3
  55. IndexOf(TextCorrect, angabe) → a
  56. Element({Pos1, Pos2, Pos3}, IndexOf[TextCorrect, angabe]) → PosSol
  57. Translate(rectangleCorrect, PosSol - F) → rectangleSolution

AI 绘图提示语参考

这是一个用于练习运算顺序的交互式图形界面。界面包含一个问题列表,每个问题由运算符、数字和括号组成。学生可以在输入框中输入计算结果。界面下方有反馈区域,根据学生的答案判断正确与否,并显示相应的提示信息。问题列表中的问题随机生成,包含加、减、乘、除和括号,以练习运算优先级。
以上提示语为根据原始绘图命令整理而来,仅供参考。