Statistical Mean Verification Exercise

Statistical Mean Verification Exercise
Loading the math board and drawing, please wait…
2022-08-08 17:04
An interactive statistics practice where students verify their calculations of statistical measures (arithmetic mean, mode, median). The example generates random data sequences using GeoGebra commands like Shuffle and Element, then allows students to input the three statistical measures and instantly validates their answers using Textfield and validate commands. Key mathematical concepts covered: calculating arithmetic mean, identifying mode, finding median, and sorting data. Construction highlights: dynamic data list management with Append and Remove commands, data distribution visualization using Polygon, color-coded feedback (Blue for correct, Red for incorrect). Suitable for Grade 5-6 students to practice identifying and calculating statistical characteristics, developing data analysis and verification skills.

GeoGebra Commands & Parameters

  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, {9, 6, 8, 6, 4, 10, 8, 4, 7, 3, 3, 6, 6, 5, 6, 10, 4, 10, 3, 10, 2, 0, 7, 5, 1, 0, 5, 4, 3, 4, 7, 7, 7, 7, 10, 5, 1, 2, 2, 10, 5, 1, 1, 7, 0, 9, 8, 7, 0, 5, 10, 8, 2, 1, 5, 0, 5, 1, 0, 9, 1, 7, 6, 7, 5, 2, 7, 1, 3, 4, 0, 6, 7, 6, 0, 0, 8, 7, 4, 1, 7, 9, 6, 5, 0, 8, 6, 6, 9, 0, 6, 10, 0, 5, 10, 1, 1, 5, 0, 10}
  6. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  7. Shuffle(Sequence[Random[0, 10], i, 1, 100]) → randomNosForY, {8, 7, 7, 7, 7, 0, 0, 8, 10, 9, 10, 1, 2, 7, 7, 6, 2, 4, 2, 2, 3, 9, 7, 7, 10, 8, 3, 1, 8, 1, 10, 10, 4, 6, 0, 6, 10, 6, 2, 4, 6, 6, 9, 10, 1, 5, 1, 2, 1, 9, 6, 7, 8, 9, 4, 3, 5, 0, 7, 9, 0, 7, 0, 0, 4, 9, 8, 8, 9, 8, 7, 7, 10, 5, 9, 9, 4, 3, 2, 5, 6, 8, 4, 1, 3, 10, 3, 4, 4, 3, 6, 8, 8, 5, 6, 3, 7, 6, 1, 8}
  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. Polygon(A, B, E, F) → v1, a, b, e, f_1
  16. Polygon(G, H, I, J) → v2, g, h, i, j

AI Drawing Prompt Reference

Create a practice-style statistics graphic with two adjacent colored rectangular feedback panels made from four corner points each. Use blue to indicate the correct area and red for the incorrect area, with the four corners labeled only by their positions (top-left, top-right, bottom-right, bottom-left) so the panels align cleanly. Place three input text boxes for the student’s answers to arithmetic mean, median, and mode. In the central area, include a polygon outline that represents the distribution of the generated data points, laid out consistently within the exercise layout so the feedback panels and the data visualization are visually coordinated.
The prompt above was compiled from the original drawing commands and is for reference only.