眼睛颜色统计练习:读取表格与图示数据
几何画板及绘图内容加载中,请稍等……
本范例以“眼睛颜色”为情境,演示学生如何从统计表格和图示中读取、比较并解释不同颜色人数或频数。核心概念包括数据收集、频数、统计图表、分类变量与简单概率统计中的读图能力。构造上利用 Point、Segment、Polygon 绘制图示或条形区域,用 Textfield、Join、RotateText 生成题目与答案文本,借助 Shuffle、Element、Append、Remove、Sequence 管理多组练习、随机选项和答案列表,并通过 OrthogonalLine、Intersect 辅助定位或校验图形关系;对象如 exNum、listeSol、sol1 至 sol4、validate、showanswer、attemptCount 等支持自动判分、提示、重做与新题。适合小学高年级至初中起始阶段(5-6年级)的统计与概率入门练习、课堂互动或课后巩固。
GeoGebra 命令及参数
Join({{0}, Shuffle[Sequence[1, maxExNum, 1]]}) → listeExValTextfield(aInput) → InputBox1Textfield(bInput) → InputBox2Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedbackShuffle(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}Element(randomNosForX, Mod[questionCount, 100] + 1) → numXShuffle(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}Element(randomNosForY, Mod[questionCount, 100] + 1) → numYAppend(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayXAppend(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayYRemove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeatRemove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeatElement(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeatElement(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeatSequence((j, 0), j, -1, 3) → l2Sequence((-2, i), i, 1, 6) → l1Point(l1) → APoint(l1) → BPoint(l2) → ESegment((-2, 0), B) → fSegment((-2, 0), E) → gPolygon((-1.3, 0), (-1.1, 0), (-1.1, 3), (-1.3, 3)) → v1, h, i, j, kPolygon((-0.9, 0), (-0.7, 0), (-0.7, 5), (-0.9, 5)) → v2, l, m, n, pPolygon((-0.3152017796441485, 0), (-0.11520177964414854, 0), (-0.11520177964414854, 4), (-0.3152017796441485, 4)) → v3, q, r, s, tPolygon((0.1, 0), (0.3, 0), (0.3, 2), (0.1, 2)) → v4, a, b, c, dPolygon((0.7, 0), (0.9, 0), (0.9, 2), (0.7, 2)) → v5, e, f_1, g_1, h_1Polygon((1.1, 0), (1.3, 0), (1.3, 1), (1.1, 1)) → v6, i_1, j_1, k_1, l_1Polygon((1.7, 0), (1.9, 0), (1.9, 2), (1.7, 2)) → v7, m_1, n_1, p_1, q_1Polygon((2.1, 0), (2.3, 0), (2.3, 1), (2.1, 1)) → v8, r_1, s_1, t_1, a_1RotateText(Text20, 90°) → Text22OrthogonalLine(J, gl2) → b_1OrthogonalLine(I, gl2) → c_1OrthogonalLine(H, gl2) → d_1OrthogonalLine(G, gl2) → e_1OrthogonalLine(F, gl2) → f_2Intersect(gl2, b_1) → KIntersect(gl2, c_1) → LIntersect(gl2, d_1) → MIntersect(gl2, e_1) → NIntersect(gl2, f_2) → OSegment(J, K) → g_2Segment(I, L) → h_2Segment(H, M) → i_2Segment(G, N) → j_2Segment(F, O) → k_2
AI 绘图提示语参考
绘制一个用于眼色统计教学的交互式条形图:横轴标注八种眼色类别,纵轴刻度 0‑10,八个矩形条形高度由随机生成的频数决定,条形之间留有间隙;在图表下方放置一个矩形反馈区域,旁边设两个文本输入框供学生填写答案;左侧绘制垂直网格线并通过正交线与横轴交点标记刻度;顶部添加旋转 90° 的提示文字;整体支持多题随机切换、答题验证、提示与重试功能。
以上提示语为根据原始绘图命令整理而来,仅供参考。