眼睛颜色统计练习:读取表格与图示数据

眼睛颜色统计练习:读取表格与图示数据
几何画板及绘图内容加载中,请稍等……
2022-06-27 21:52
本范例以“眼睛颜色”为情境,演示学生如何从统计表格和图示中读取、比较并解释不同颜色人数或频数。核心概念包括数据收集、频数、统计图表、分类变量与简单概率统计中的读图能力。构造上利用 Point、Segment、Polygon 绘制图示或条形区域,用 Textfield、Join、RotateText 生成题目与答案文本,借助 Shuffle、Element、Append、Remove、Sequence 管理多组练习、随机选项和答案列表,并通过 OrthogonalLine、Intersect 辅助定位或校验图形关系;对象如 exNum、listeSol、sol1 至 sol4、validate、showanswer、attemptCount 等支持自动判分、提示、重做与新题。适合小学高年级至初中起始阶段(5-6年级)的统计与概率入门练习、课堂互动或课后巩固。

GeoGebra 命令及参数

  1. Join({{0}, Shuffle[Sequence[1, maxExNum, 1]]}) → listeExVal
  2. Textfield(aInput) → InputBox1
  3. Textfield(bInput) → InputBox2
  4. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  5. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForX, {1, 3, 1, 6, 6, 8, 10, 3, 9, 10, 5, 9, 3, 3, 6, 6, 1, 4, 2, 8, 3, 1, 0, 5, 5, 4, 6, 3, 6, 7, 9, 4, 0, 3, 6, 7, 5, 9, 9, 0, 9, 10, 7, 10, 4, 10, 10, 7, 7, 9, 10, 5, 8, 10, 9, 8, 1, 0, 10, 10, 10, 7, 9, 9, 5, 5, 2, 8, 9, 4, 6, 7, 0, 1, 3, 3, 0, 5, 3, 0, 2, 8, 10, 2, 5, 5, 4, 9, 3, 8, 0, 4, 5, 4, 8, 6, 2, 9, 6, 0}
  6. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  7. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {4, 9, 4, 0, 8, 4, 2, 10, 9, 3, 2, 4, 1, 8, 10, 4, 4, 7, 0, 0, 8, 1, 4, 7, 5, 0, 2, 8, 6, 3, 8, 4, 1, 3, 3, 4, 8, 4, 7, 3, 8, 1, 10, 2, 2, 6, 5, 0, 2, 10, 7, 9, 6, 7, 3, 9, 0, 0, 0, 5, 1, 0, 0, 8, 5, 7, 9, 0, 3, 4, 3, 4, 1, 10, 1, 2, 3, 0, 8, 8, 0, 5, 7, 8, 1, 0, 1, 7, 3, 4, 2, 2, 8, 7, 5, 2, 10, 7, 1, 1}
  8. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  9. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  10. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  11. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  12. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  13. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  14. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  15. Sequence((j, 0), j, -1, 3) → l2
  16. Sequence((-2, i), i, 1, 6) → l1
  17. Point(l1) → A
  18. Point(l1) → B
  19. Point(l2) → E
  20. Segment((-2, 0), B) → f
  21. Segment((-2, 0), E) → g
  22. Polygon((-1.3, 0), (-1.1, 0), (-1.1, 3), (-1.3, 3)) → v1, h, i, j, k
  23. Polygon((-0.9, 0), (-0.7, 0), (-0.7, 5), (-0.9, 5)) → v2, l, m, n, p
  24. Polygon((-0.3152017796441485, 0), (-0.11520177964414854, 0), (-0.11520177964414854, 4), (-0.3152017796441485, 4)) → v3, q, r, s, t
  25. Polygon((0.1, 0), (0.3, 0), (0.3, 2), (0.1, 2)) → v4, a, b, c, d
  26. Polygon((0.7, 0), (0.9, 0), (0.9, 2), (0.7, 2)) → v5, e, f_1, g_1, h_1
  27. Polygon((1.1, 0), (1.3, 0), (1.3, 1), (1.1, 1)) → v6, i_1, j_1, k_1, l_1
  28. Polygon((1.7, 0), (1.9, 0), (1.9, 2), (1.7, 2)) → v7, m_1, n_1, p_1, q_1
  29. Polygon((2.1, 0), (2.3, 0), (2.3, 1), (2.1, 1)) → v8, r_1, s_1, t_1, a_1
  30. RotateText(Text20, 90°) → Text22
  31. OrthogonalLine(J, gl2) → b_1
  32. OrthogonalLine(I, gl2) → c_1
  33. OrthogonalLine(H, gl2) → d_1
  34. OrthogonalLine(G, gl2) → e_1
  35. OrthogonalLine(F, gl2) → f_2
  36. Intersect(gl2, b_1) → K
  37. Intersect(gl2, c_1) → L
  38. Intersect(gl2, d_1) → M
  39. Intersect(gl2, e_1) → N
  40. Intersect(gl2, f_2) → O
  41. Segment(J, K) → g_2
  42. Segment(I, L) → h_2
  43. Segment(H, M) → i_2
  44. Segment(G, N) → j_2
  45. Segment(F, O) → k_2

AI 绘图提示语参考

绘制一个用于眼色统计教学的交互式条形图:横轴标注八种眼色类别,纵轴刻度 0‑10,八个矩形条形高度由随机生成的频数决定,条形之间留有间隙;在图表下方放置一个矩形反馈区域,旁边设两个文本输入框供学生填写答案;左侧绘制垂直网格线并通过正交线与横轴交点标记刻度;顶部添加旋转 90° 的提示文字;整体支持多题随机切换、答题验证、提示与重试功能。
以上提示语为根据原始绘图命令整理而来,仅供参考。