GeoGebra Example: Comparing Natural Numbers

GeoGebra Example: Comparing Natural Numbers
Loading the math board and drawing, please wait…
2022-12-01 11:01
This GeoGebra example demonstrates how to compare the magnitude of natural numbers using a place value system, allowing students to practice which number is larger or smaller through interactive exercises. The core mathematical concepts involved include number sense, the place value system for natural numbers, and basic comparison operations. In terms of construction, the example utilizes several GeoGebra commands and objects: Shuffle for randomizing question order, Element and Textfield for displaying text and questions, Polygon for graphical elements, and Append and Remove for dynamic object management. Key variables like questionCount and firstMoney track the state, while input boxes (e.g., aInput, InputBox1) and buttons (e.g., btnValidate, btnTryAgain) facilitate user interaction. This tool is designed for elementary school students in grades 5-6, providing an engaging way to master number comparison skills in a mathematical context.

GeoGebra Commands & Parameters

  1. Shuffle(Sequence[Random[3, 7], i, 1, 100]) → firstMoney, {4, 3, 5, 5, 4, 7, 4, 7, 6, 4, 7, 5, 7, 5, 4, 4, 6, 3, 4, 3, 4, 6, 7, 3, 5, 5, 6, 5, 7, 4, 7, 5, 4, 3, 3, 7, 6, 5, 4, 5, 4, 6, 6, 6, 7, 3, 4, 6, 5, 6, 6, 7, 6, 5, 3, 3, 7, 7, 3, 7, 5, 4, 3, 7, 7, 3, 4, 5, 5, 3, 6, 7, 7, 5, 6, 6, 6, 7, 7, 6, 3, 5, 4, 7, 7, 6, 6, 6, 6, 7, 4, 7, 6, 4, 5, 6, 3, 3, 6, 6}
  2. Element(firstMoney, Mod[questionCount, 100] + 1) → euro1
  3. Textfield(aInput) → InputBox1
  4. Textfield(bInput) → InputBox2
  5. Polygon(PtopLeftCornerFeedback, PtopRightCornerFeedback, PbottomRightCornerFeedback, PbottomLeftCornerFeedback) → rectangleCorrect, ptopleftcornerfeedback, ptoprightcornerfeedback, pbottomrightcornerfeedback, pbottomleftcornerfeedback
  6. Shuffle(Sequence[RandomElement[obst], i, 1, 100]) → randomNosForX, {"Melone", "Ananas", "Birne", "Melone", "Ananas", "Melone", "Apfel", "Birne", "Melone", "Birne", "Birne", "Melone", "Melone", "Apfel", "Birne", "Melone", "Melone", "Birne", "Apfel", "Birne", "Melone", "Ananas", "Ananas", "Apfel", "Melone", "Birne", "Melone", "Melone", "Melone", "Melone", "Birne", "Birne", "Melone", "Apfel", "Ananas", "Melone", "Ananas", "Melone", "Ananas", "Apfel", "Apfel", "Melone", "Apfel", "Apfel", "Ananas", "Ananas", "Ananas", "Apfel", "Apfel", "Apfel", "Apfel", "Apfel", "Ananas", "Ananas", "Apfel", "Melone", "Melone", "Melone", "Melone", "Birne", "Birne", "Ananas", "Melone", "Melone", "Ananas", "Ananas", "Birne", "Birne", "Ananas", "Birne", "Melone", "Birne", "Birne", "Birne", "Apfel", "Apfel", "Birne", "Apfel", "Apfel", "Melone", "Ananas", "Melone", "Apfel", "Apfel", "Melone", "Apfel", "Birne", "Ananas", "Birne", "Ananas", "Birne", "Apfel", "Apfel", "Apfel", "Apfel", "Ananas", "Birne", "Melone", "Ananas", "Melone"}
  7. Element(randomNosForX, Mod[questionCount, 100] + 1) → numX
  8. Shuffle(Sequence[RandomElement[obstAlt], i, 1, 100]) → randomNosForY, {"Traube", "Kirsche", "Zitrone", "Zitrone", "Kirsche", "Kirsche", "Traube", "Zitrone", "Kirsche", "Banane", "Traube", "Banane", "Traube", "Banane", "Traube", "Zitrone", "Zitrone", "Zitrone", "Banane", "Kirsche", "Traube", "Kirsche", "Banane", "Kirsche", "Kirsche", "Banane", "Zitrone", "Banane", "Zitrone", "Zitrone", "Banane", "Zitrone", "Zitrone", "Banane", "Kirsche", "Traube", "Kirsche", "Banane", "Banane", "Banane", "Banane", "Zitrone", "Traube", "Traube", "Traube", "Traube", "Banane", "Banane", "Zitrone", "Banane", "Traube", "Traube", "Traube", "Banane", "Kirsche", "Kirsche", "Banane", "Traube", "Banane", "Banane", "Banane", "Traube", "Traube", "Banane", "Traube", "Traube", "Zitrone", "Banane", "Zitrone", "Kirsche", "Kirsche", "Banane", "Traube", "Zitrone", "Banane", "Kirsche", "Kirsche", "Traube", "Traube", "Kirsche", "Kirsche", "Traube", "Zitrone", "Banane", "Traube", "Traube", "Zitrone", "Banane", "Traube", "Zitrone", "Zitrone", "Zitrone", "Banane", "Zitrone", "Kirsche", "Traube", "Traube", "Zitrone", "Zitrone", "Kirsche"}
  9. Element(randomNosForY, Mod[questionCount, 100] + 1) → numY
  10. Append(true, Sequence[If[randomNosForX(i) ≟ randomNosForX(i - 1), false, true], i, 2, 100]) → stayX
  11. Append(true, Sequence[If[randomNosForY(i) ≟ randomNosForY(i - 1), false, true], i, 2, 100]) → stayY
  12. Remove(Sequence[If[stayX(i), randomNosForX(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForXwithoutRepeat
  13. Remove(Sequence[If[stayY(i), randomNosForY(i), 0], i, 1, 100], Sequence[0, i, 1, 100]) → randomNosForYwithoutRepeat
  14. Element(randomNosForXwithoutRepeat, Mod[questionCount, Length[randomNosForXwithoutRepeat]] + 1) → numXwithoutRepeat
  15. Element(randomNosForYwithoutRepeat, Mod[questionCount, Length[randomNosForYwithoutRepeat]] + 1) → numYwithoutRepeat
  16. Shuffle(Sequence[RandomElement[obst], i, 1, 100]) → randomNosForEveryTimeObst, {"Melone", "Birne", "Melone", "Apfel", "Birne", "Birne", "Melone", "Birne", "Melone", "Melone", "Ananas", "Birne", "Melone", "Apfel", "Birne", "Ananas", "Birne", "Apfel", "Birne", "Birne", "Birne", "Apfel", "Melone", "Ananas", "Ananas", "Apfel", "Birne", "Apfel", "Melone", "Apfel", "Apfel", "Melone", "Melone", "Apfel", "Birne", "Melone", "Ananas", "Birne", "Ananas", "Apfel", "Birne", "Melone", "Melone", "Ananas", "Ananas", "Melone", "Apfel", "Apfel", "Birne", "Melone", "Apfel", "Melone", "Apfel", "Apfel", "Birne", "Melone", "Apfel", "Ananas", "Ananas", "Melone", "Birne", "Ananas", "Melone", "Apfel", "Apfel", "Ananas", "Melone", "Melone", "Ananas", "Ananas", "Birne", "Apfel", "Melone", "Ananas", "Ananas", "Birne", "Apfel", "Apfel", "Ananas", "Melone", "Ananas", "Melone", "Apfel", "Birne", "Melone", "Birne", "Melone", "Melone", "Ananas", "Ananas", "Birne", "Birne", "Birne", "Ananas", "Birne", "Melone", "Birne", "Ananas", "Ananas", "Melone"}
  17. Element(randomNosForEveryTimeObst, Mod[questionCount, 100] + 1) → numZ
  18. Shuffle(Sequence[Random[2, 7], i, 1, 100]) → secondMoney, {5, 6, 3, 5, 7, 3, 6, 3, 6, 3, 4, 5, 3, 4, 5, 5, 7, 3, 3, 2, 2, 3, 5, 2, 7, 4, 2, 5, 2, 7, 3, 3, 7, 7, 2, 2, 2, 5, 7, 7, 3, 7, 4, 6, 4, 4, 3, 2, 2, 2, 5, 3, 3, 7, 6, 2, 3, 7, 7, 2, 4, 3, 4, 5, 6, 7, 6, 6, 5, 4, 4, 6, 2, 6, 4, 3, 6, 2, 6, 6, 2, 6, 5, 4, 3, 6, 4, 2, 5, 2, 3, 4, 6, 5, 5, 2, 6, 6, 5, 3}

AI Drawing Prompt Reference

An interactive graphic for comparing natural numbers, featuring two input boxes, two buttons, and a rectangle area. The rectangle displays feedback, input boxes are for entering numbers, and buttons are for validation and retry. The graphic dynamically updates feedback with randomly generated numbers. Construction order: first draw the rectangle, then add input boxes and buttons, and finally generate random numbers to update feedback.
The prompt above was compiled from the original drawing commands and is for reference only.