Order of Operations Simplification Practice

Order of Operations Simplification Practice
Loading the math board and drawing, please wait…
2022-06-20 14:32
In collections Rechnen mit 0 und 1
This GeoGebra applet dynamically generates random arithmetic simplification problems and asks students to decide whether the given simplification is correct. The core mathematical concept is the order of operations (PEMDAS/BODMAS): parentheses first, then exponents, multiplication and division left‑to‑right, addition and subtraction left‑to‑right. Construction relies on commands such as Sequence, Shuffle, Element to randomize question selection; If and RemoveUndefined to display correct or incorrect answers; and Corner, RoundBox to lay out the question box, hint box and solution text. Designed for grades 5‑6, the worksheet can be used for individual practice, group competition, or classroom demonstration of arithmetic reasoning.

GeoGebra Commands & Parameters

  1. Sequence(Random[1, 6], i, 1, 100) → randomNumbersVariant, {4, 3, 5, 3, 1, 3, 6, 4, 1, 3, 1, 2, 4, 1, 4, 2, 3, 6, 6, 4, 6, 6, 5, 1, 3, 4, 4, 6, 6, 5, 3, 6, 1, 4, 3, 3, 5, 3, 4, 5, 6, 3, 6, 4, 4, 5, 2, 1, 1, 2, 4, 6, 5, 6, 3, 4, 3, 1, 6, 5, 3, 2, 2, 3, 2, 3, 2, 1, 1, 6, 2, 2, 4, 2, 3, 2, 2, 1, 3, 3, 4, 6, 1, 6, 3, 1, 1, 6, 3, 2, 3, 5, 3, 3, 1, 3, 4, 6, 4, 3}
  2. Element(randomNumbersVariant, Mod[questionCount, Length[randomNumbersVariant]] + 1) → randomVariant
  3. Sequence(Random[2, 50], i, 1, 100) → randomNumbersD, {33, 5, 44, 49, 39, 44, 24, 20, 24, 21, 18, 17, 23, 18, 39, 17, 32, 10, 28, 30, 16, 3, 49, 16, 22, 14, 45, 27, 19, 14, 45, 4, 13, 24, 2, 13, 12, 43, 39, 44, 10, 34, 17, 29, 33, 8, 39, 18, 27, 47, 31, 20, 32, 30, 23, 8, 31, 32, 29, 10, 13, 27, 37, 4, 32, 49, 49, 45, 45, 24, 44, 34, 4, 15, 33, 17, 24, 23, 7, 17, 27, 17, 35, 17, 2, 48, 48, 45, 36, 36, 28, 46, 37, 6, 47, 12, 39, 8, 22, 28}
  4. Sequence(Random[2, 50], i, 1, 100) → randomNumbersC, {3, 43, 8, 42, 19, 7, 35, 19, 21, 39, 13, 46, 31, 24, 34, 46, 37, 49, 21, 38, 10, 45, 47, 36, 28, 48, 29, 46, 45, 35, 47, 22, 23, 36, 26, 42, 38, 26, 43, 7, 39, 16, 9, 48, 21, 8, 18, 20, 37, 48, 8, 33, 31, 5, 14, 40, 19, 13, 9, 33, 46, 2, 40, 40, 5, 32, 5, 18, 5, 36, 25, 39, 15, 30, 30, 34, 21, 50, 29, 46, 11, 26, 43, 2, 10, 17, 10, 4, 39, 8, 43, 37, 19, 26, 41, 45, 37, 10, 43, 6}
  5. Sequence(Random[2, 50], i, 1, 100) → randomNumbersB, {33, 7, 3, 49, 9, 44, 34, 40, 47, 22, 45, 40, 19, 6, 44, 30, 48, 35, 18, 39, 37, 49, 3, 27, 50, 26, 47, 23, 44, 20, 18, 8, 28, 36, 20, 26, 43, 18, 7, 29, 46, 12, 41, 31, 49, 48, 31, 24, 45, 40, 49, 37, 15, 24, 50, 14, 12, 50, 21, 17, 31, 15, 46, 43, 17, 19, 6, 49, 39, 38, 36, 42, 37, 13, 44, 7, 21, 48, 4, 9, 16, 26, 40, 34, 17, 24, 37, 39, 22, 8, 39, 45, 34, 44, 3, 4, 18, 39, 28, 26}
  6. Sequence(Random[2, 50], i, 1, 100) → randomNumbersA, {32, 49, 44, 36, 2, 29, 5, 47, 7, 23, 28, 50, 29, 2, 4, 29, 8, 40, 17, 3, 29, 19, 14, 42, 16, 12, 48, 36, 5, 34, 32, 28, 46, 33, 34, 47, 18, 11, 24, 40, 17, 6, 22, 37, 28, 32, 43, 22, 25, 19, 23, 32, 19, 24, 33, 29, 45, 26, 19, 4, 8, 45, 6, 39, 45, 21, 20, 47, 35, 10, 50, 42, 11, 30, 23, 11, 49, 27, 28, 15, 49, 27, 30, 35, 15, 31, 38, 37, 45, 46, 29, 30, 12, 48, 5, 30, 44, 29, 4, 49}
  7. Element(randomNumbersA, Mod[questionCount, Length[randomNumbersA]] + 1) → randomA
  8. If(randomVariant ≟ 5, Random[2, randomA - 1], If[randomVariant ≟ 4 ∧ Length[PrimeFactors[Element[randomNumbersB, Mod[questionCount, Length[randomNumbersB]] + 1]]] ≟ 1, Element[randomNumbersB, Mod[questionCount, Length[randomNumbersB]] + 1] + 1, Element[randomNumbersB, Mod[questionCount, Length[randomNumbersB]] + 1]]) → randomB
  9. If(randomVariant ≟ 1 ∨ randomVariant ≟ 2, Random[2, If[randomA + randomB - 1 < 50, randomA + randomB - 1, 50]], If[randomVariant ≟ 4, Element[Reverse[DivisorsList[randomB]], 2], Element[randomNumbersC, Mod[questionCount, Length[randomNumbersC]] + 1]]) → randomC
  10. If(randomVariant ≟ 1, Random[2, If[randomA + randomB - randomC - 1 < 50, randomA + randomB - randomC - 1, 50]], If[randomVariant ≟ 3, Random[2, If[(randomA * randomB) + randomC - 1 < 50, (randomA * randomB) + randomC - 1, 50]], Element[randomNumbersD, Mod[questionCount, Length[randomNumbersD]] + 1]]) → randomD
  11. If(showanswer, "\bold{Lösung: }", "") → LoesungText
  12. Corner(HinweisText, 2) → CornerHint2
  13. Corner(HinweisText, 3) → CornerHint3
  14. Corner(Angabe, 1) → CornerAngabe
  15. Corner(HinweisText, 1) → CornerHint1
  16. If(tries ≠ 3, y(CornerHint3) - y(CornerHint2) - 0.15, y(Corner[SolutionText, 3]) - y(Corner[SolutionText, 2]) - 0.15) → heighthint
  17. RemoveUndefined({richtig1, If[RO > 1, richtig2], If[RO > 2, richtig3], If[RO > 3, richtig4], If[RO > 4, richtig5]}) → ListeRichtig
  18. RemoveUndefined({If[MCO ≟ 5 ∧ RO < 5 ∨ MCO ≟ 4 ∧ RO < 4 ∨ MCO ≟ 3 ∧ RO < 3, falsch1], If[MCO ≟ 5 ∧ RO < 4 ∨ MCO ≟ 4 ∧ RO < 3 ∨ MCO ≟ 3 ∧ RO < 2, falsch2], If[MCO ≟ 5 ∧ RO < 3 ∨ MCO ≟ 4 ∧ RO < 2, falsch3], If[MCO ≟ 5 ∧ RO < 2, falsch4]}) → ListeFalsch
  19. Union(ListeRichtig, ListeFalsch) → ListeAlle
  20. Shuffle(ListeAlle) → Reihenfolge, {"\textsf{32 + 33 : 11 \cdot 33}", "\textsf{32 + 33 + 33}", "\textsf{32 + 33 : 11 + 33}", "\textsf{32 : 33 : 11 + 33}"}
  21. If(Reihenfolge(1) ∈ ListeRichtig, (("\math{" * Reihenfolge(1)) * "}\\\\"), "") → Loesungstext1
  22. If(Reihenfolge(2) ∈ ListeRichtig, (("\math{" * Reihenfolge(2)) * "}\\\\"), "") → Loesungstext2
  23. If(Reihenfolge(3) ∈ ListeRichtig, (("\math{" * Reihenfolge(3)) * "}\\\\"), "") → Loesungstext3
  24. If(Reihenfolge(4) ∈ ListeRichtig, (("\math{" * Reihenfolge(4)) * "}\\\\"), "") → Loesungstext4
  25. If(Reihenfolge(5) ∈ ListeRichtig, (("\math{" * Reihenfolge(5)) * "}\\\\"), "") → Loesungstext5
  26. Corner(Optionstext5, 3) → Corner53
  27. Corner(Optionstext5, 1) → Corner51
  28. Corner(Optionstext5, 2) → Corner52
  29. Corner(Optionstext4, 1) → Corner41
  30. Corner(Optionstext4, 2) → Corner42
  31. Corner(Optionstext3, 1) → Corner31
  32. Corner(Optionstext3, 2) → Corner32
  33. Corner(Optionstext2, 1) → Corner21
  34. Corner(Optionstext2, 2) → Corner22
  35. Corner(Optionstext1, 2) → Corner12
  36. Corner(Optionstext1, 1) → Corner11
  37. Max({x(Corner12) - x(Corner11), x(Corner22) - x(Corner21), x(Corner32) - x(Corner31), x(Corner42) - x(Corner41), x(Corner52) - x(Corner51)}) → maxwidth
  38. Corner(Optionstext4, 3) → Corner43
  39. Corner(Optionstext3, 3) → Corner33
  40. Corner(Optionstext2, 3) → Corner23
  41. Corner(Optionstext1, 3) → Corner13
  42. If(step < 3, Erklaerung2, "\\\textsf{ \large{\bold{. . .}}}") → ShowErkl2
  43. If(MCO ≥ 4, If[Reihenfolge(4) ∈ ListeRichtig ∧ option4 ≟ true ∨ Reihenfolge(4) ∈ ListeFalsch ∧ option4 ≟ false, true, false], true) → correct4
  44. If(correct4, 1, 0) → point4
  45. If(MCO ≟ 5, If[Reihenfolge(5) ∈ ListeRichtig ∧ option5 ≟ true ∨ Reihenfolge(5) ∈ ListeFalsch ∧ option5 ≟ false, true, false], true) → correct5
  46. If(correct5, 1, 0) → point5
  47. If(Reihenfolge(3) ∈ ListeRichtig ∧ option3 ≟ true ∨ Reihenfolge(3) ∈ ListeFalsch ∧ option3 ≟ false, true, false) → correct3
  48. If(correct3, 1, 0) → point3
  49. If(Reihenfolge(2) ∈ ListeRichtig ∧ option2 ≟ true ∨ Reihenfolge(2) ∈ ListeFalsch ∧ option2 ≟ false, true, false) → correct2
  50. If(correct2, 1, 0) → point2
  51. If(Reihenfolge(1) ∈ ListeRichtig ∧ option1 ≟ true ∨ Reihenfolge(1) ∈ ListeFalsch ∧ option1 ≟ false, true, false) → correct1
  52. If(correct1, 1, 0) → point1
  53. If(option1 ∨ option2 ∨ option3 ∨ option4 ∨ option5, (point1 + point2 + point3 + point4 + point5) / 5, 0) → score
  54. CountIf(x ≟ true, {option1, option2, option3, option4, option5}) → angekreuzt
  55. RoundBox(radius, Box1, height1, width) → box14, box11, box15, box12, box13
  56. RoundBox(radius, Box2, height2, width) → box24, box21, box25, box22, box23
  57. RoundBox(radius, Box3, height3, width) → box34, box31, box35, box32, box33
  58. RoundBox(radius, Box4, height4, width) → box44, box41, box45, box42, box43
  59. RoundBox(radius, Box5, height5, width) → box54, box51, box55, box52, box53
  60. If(step ≟ 3, "", step ≟ 1, ("\\\\" * Erklaerung3), "\\\textsf{ \large{\bold{. . .}}}") → ShowErkl3
  61. CountIf(x ≟ true, {correct1 ∧ option1, correct2 ∧ option2, correct3 ∧ option3, correct4 ∧ option4, correct5 ∧ option5}) → richtig
  62. If(richtig > 0 ∧ (¬correct), "✘ Teilweise richtig", correct, "✓ Richtig", "✘ Falsch") → CheckText
  63. If(tries ≠ 3, x(CornerHint2) - x(CornerHint1) - 0.15, x(Corner[SolutionText, 2]) - x(Corner[SolutionText, 1]) - 0.15) → widthhint
  64. RoundBox(radius, PosBoxHint, heighthint, widthhint) → boxh1, boxh2, boxh5, boxh3, boxh4
  65. Corner(Angabe, 4) → CornerAngabe2
  66. If(showsolution, Corner[LoesungswegText, 2] - (3, 1), (5, y(PosButton1))) → PosButton3

AI Drawing Prompt Reference

Design an interactive math exercise tool to demonstrate and evaluate the correctness of arithmetic simplification. The interface includes randomly generated expressions and multiple option boxes showing different simplification results for users to judge. The tool should dynamically generate problems, clearly distinguishing correct and incorrect simplifications with colors or markers, and feature a clean layout for student practice and classroom demonstration.
The prompt above was compiled from the original drawing commands and is for reference only.